chrono::sensor::ChDynamicsManager Class Reference

Description

class for managing dynamic sensors.

This class is not built for multi-threading as it is lockstep with the Chrono system. Will hold and update all sensors that don't need access to rendering or the environment. That currently includes GPS and IMU

#include <ChDynamicsManager.h>

Public Member Functions

 ChDynamicsManager (ChSystem *chrono_system)
 Constructor for the dynamic sensor manager. More...
 
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()

chrono::sensor::ChDynamicsManager::ChDynamicsManager ( ChSystem chrono_system)

Constructor for the dynamic sensor manager.

The Chrono system that is associated with the dynamic sensor manager is used for time keeping purposes.

Member Function Documentation

◆ AssignSensor()

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
sensorA 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