chrono::sensor::ChDynamicsManager Class Reference
Description
class for managing dynamic sensors.
This class is not built for mutlithreading as it is lockstep with the Chrono system. Will hold and update all sensors that don't need access to rendering or the environmnet. That currently includes GPS and IMU
#include <ChDynamicsManager.h>
Public Member Functions | |
ChDynamicsManager (ChSystem *chrono_system) | |
Constructor for the dynamic sensor manager. More... | |
~ChDynamicsManager () | |
Class destructor. | |
void | UpdateSensors () |
Function for updating the sensors for which the dynamic sensor manager is responsible. | |
void | AssignSensor (std::shared_ptr< ChSensor > sensor) |
Add sensor to this manager. More... | |
Constructor & Destructor Documentation
◆ ChDynamicsManager()
CH_SENSOR_API chrono::sensor::ChDynamicsManager::ChDynamicsManager | ( | ChSystem * | chrono_system | ) |
Constructor for the dynamic sensor manager.
- Parameters
-
chrono_system The Chrono system that is associated with the dynamic sensor manager. Used for time keeping purposes.
Member Function Documentation
◆ AssignSensor()
CH_SENSOR_API void chrono::sensor::ChDynamicsManager::AssignSensor | ( | std::shared_ptr< ChSensor > | sensor | ) |
Add sensor to this manager.
Must be sensor the class can handle. Currently only GPS or IMU
- Parameters
-
sensor A shared pointer to a sensor that should be assigned to this manager.
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_sensor/ChDynamicsManager.h
- /builds/uwsbel/chrono/src/chrono_sensor/ChDynamicsManager.cpp