 |
AGX Dynamics
2.38.0.2
|
Go to the documentation of this file.
43 virtual agx::Real getCurrentPowerTimeIntegral()
const override;
55 virtual agx::Real variableLookupFunction( )
const override;
60 virtual agx::Real resultScalerFunction()
const override;
135 virtual bool preUpdate(
agx::Real timeStep)
override;
181 virtual agx::Real calculateThrottle() = 0;
271 virtual agx::Real calculateThrottle()
override;
331 void ignition(
bool ignition );
341 bool isRunning( )
const;
397 virtual bool preUpdate(
agx::Real timeStamp )
override;
457 void setTargetVelocity(
agx::Real velocity);
An engine that tries to hold a fixed velocity.
Power generator that adds torque to the engine according to a lookup table.
agx::ref_ptr< ThrottleCalculator > ThrottleCalculatorRef
OutputRef< Serializable > out(const char *name, const Serializable *obj)
Return an object that contain the name and the object that should be serialized to an archive.
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
agxPowerLine::PowerGeneratorRef m_generator
#define DOXYGEN_END_INTERNAL_BLOCK()
A library of agxPowerLine components designed to model the various parts of a vehicle drive train.
Utility class to hold custom implementations of constraints.
#define DOXYGEN_START_INTERNAL_BLOCK()
ThrottleCalculatorRef m_pidController
Abstract base class for storing/restoring a line/drums with version control.
agx::ref_ptr< FixedVelocityEngine > FixedVelocityEngineRef
#define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T)
Use this in a pure abstract Serializable class to add the required methods Important: Use full namesp...
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
A Shaft is the most basic PowerLine Unit.
InputRef< T > in(const char *name, T &obj)
Create an object with a name and a reference to the object that should be restored (usually a pointer...
agx::ref_ptr< RpmController > RpmControllerRef
agx::ref_ptr< PidControlledEngine > PidControlledEngineRef
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
void AGXPHYSICS_EXPORT shutdown()
Shutdown of the AGX Dynamics API will be done when the number of shutdown matches the number of calls...
PidControlledEngine * m_engine
An engine that is driven by an EnginePowerGenerator.
Class for writing serialized data in binary format to a stream.
The rotational has one rotational degree of freedom.
Base class providing referencing counted objects.
#define AGX_DECLARE_POINTER_TYPES(type)
Implementation of a combustion engine.
A constraint holding a single VelocityConstraintImplementation.
ThrottleCalculator that strives to keep the engine at some given RPM.
Will generate power by adding a load to a physical dimension.
Inherit from the ThrottleCalculator and implement the calculateThrottle() function to control the tor...
A torque generator adds torque to the body of a rotational dimension.
agxDriveTrain::VelocityConstraintRef m_velocityConstraint