PowertrainControl Class Reference#
Demo |
demo::PowertrainControl Class Reference
Represents the Powertrain Control software component. More...
#include <powertrain_control.hpp>
Public Member Functions | |
PowertrainControl () | |
Constructs the PowertrainControl object. | |
void | optimizePowerDistribution () |
Monitors the battery charge level and optimizes power distribution. | |
void | adjustTorqueDelivery (const std::string &drivingConditions, const std::string &driverInput) |
Adjusts torque delivery based on driving conditions and driver input. | |
void | captureEnergyDuringDeceleration () |
Captures and stores energy during deceleration using regenerative braking. | |
void | setPowertrainMode (const std::string &mode) |
Sets the powertrain mode to the specified mode. | |
void | displayInformation (const std::string &information) |
Communicates with the instrument cluster to display relevant information. | |
Detailed Description
Represents the Powertrain Control software component.
Member Function Documentation
◆ adjustTorqueDelivery()
| inline |
Adjusts torque delivery based on driving conditions and driver input.
- Parameters
-
drivingConditions The current driving conditions. driverInput The input from the driver.
◆ displayInformation()
| inline |
Communicates with the instrument cluster to display relevant information.
- Parameters
-
information The information to display.
◆ setPowertrainMode()
| inline |
Sets the powertrain mode to the specified mode.
- Parameters
-
mode The powertrain mode to set.
The documentation for this class was generated from the following file:
- src/demo/powertrain_control.hpp
Generated by 1.9.7