chrono::vehicle::ChPowertrainAssembly Class Reference
Description
Defintion of a powertrain assembly system.
A powertrain assembly consists of an engine and a transmission.
#include <ChPowertrainAssembly.h>
Public Member Functions | |
ChPowertrainAssembly (std::shared_ptr< ChEngine > engine, std::shared_ptr< ChTransmission > transmission) | |
Construct a powertrain assembly with the specified engine and transmission subsystems. | |
const std::shared_ptr< ChEngine > | GetEngine () const |
const std::shared_ptr< ChTransmission > | GetTransmission () const |
double | GetOutputTorque () const |
Return the transmission output torque on the driveshaft. More... | |
void | Initialize (std::shared_ptr< ChChassis > chassis) |
Initialize this powertrain system by attaching it to an existing vehicle chassis. | |
void | Synchronize (double time, const DriverInputs &driver_inputs, double driveshaft_speed) |
Synchronize the state of this powertrain system at the current time. More... | |
void | Advance (double step) |
Advance the state of this powertrain system by the specified time step. | |
Friends | |
class | ChWheeledVehicle |
class | ChTrackedVehicle |
Member Function Documentation
◆ GetOutputTorque()
|
inline |
Return the transmission output torque on the driveshaft.
This is the torque that is passed to the driveline subsystem, thus providing the interface between the powertrain and vehicle systems.
◆ Synchronize()
void chrono::vehicle::ChPowertrainAssembly::Synchronize | ( | double | time, |
const DriverInputs & | driver_inputs, | ||
double | driveshaft_speed | ||
) |
Synchronize the state of this powertrain system at the current time.
- Parameters
-
time current time driver_inputs current driver inputs driveshaft_speed input driveline speed
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_vehicle/ChPowertrainAssembly.h
- /builds/uwsbel/chrono/src/chrono_vehicle/ChPowertrainAssembly.cpp