chrono::sensor::Sensor Class Reference
Description
Sensor class for constructing sensors from a JSON specification file.
#include <Sensor.h>
Inheritance diagram for chrono::sensor::Sensor:
Collaboration diagram for chrono::sensor::Sensor:
Static Public Member Functions | |
static std::shared_ptr< ChSensor > | CreateFromJSON (const std::string &filename, std::shared_ptr< chrono::ChBody > parent, chrono::ChFrame< double > offsetPose) |
Create sensor from specified JSON file. More... | |
Member Function Documentation
◆ CreateFromJSON()
|
static |
Create sensor from specified JSON file.
- Parameters
-
filename Path and filename for the JSON file. parent The parent on which the sensor should be attached. offsetPose The position and rotation of the Sensor
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_sensor/sensors/Sensor.h
- /builds/uwsbel/chrono/src/chrono_sensor/sensors/Sensor.cpp