$darkmode
#include <osi_sensor_component.hpp>
Public Member Functions | |
| VtdOsiSensor (std::unique_ptr< cloe::utility::OsiTransceiver > &&osi_transceiver, uint64_t owner_id) | |
| void | configure (const VtdSensorConfig &cfg) |
| void | step (const cloe::Sync &s) override |
| void | store_object (std::shared_ptr< cloe::Object > obj) override |
| void | store_lane_boundary (const cloe::LaneBoundary &lb) override |
| void | store_ego_object (std::shared_ptr< cloe::Object > ego_obj) override |
| void | store_sensor_meta_data (const Eigen::Vector3d &bbcenter_to_veh_origin, const Eigen::Vector3d &ego_dimensions) override |
| Eigen::Isometry3d | get_static_mounting_position (const Eigen::Vector3d &bbcenter_to_veh_origin, const Eigen::Vector3d &ego_dimensions) override |
| void | set_mock_conf (std::shared_ptr< const cloe::utility::SensorMockConf > mock) override |
| void | reset () override |
Public Member Functions inherited from vtd::VtdSensorData | |
| VtdSensorData (const std::string &name) | |
| virtual cloe::Duration | time () const |
| virtual void | set_name (const std::string &name) |
| virtual void | set_reset_state () |
| const cloe::Object & | get_ego_object () const |
| const cloe::Objects & | get_world_objects () const |
| double | get_ego_steering_angle () const |
| const cloe::Frustum & | get_frustum () const |
| const Eigen::Isometry3d & | get_mount_pose () const |
| const cloe::LaneBoundaries & | get_lane_boundaries () |
| void | clear_cache () |
Protected Attributes | |
| Eigen::Vector3d | vtd_mnt_pos_dxyz_ |
| Sensor mounting position obtained from config (in VTD vehicle coordinate frame). | |
| Eigen::Vector3d | vtd_mnt_ori_drpy_ |
Protected Attributes inherited from vtd::VtdSensorData | |
| std::string | name_ = "default_sensor" |
| Human readable name. | |
| bool | restart_ = false |
| Indicates whether reset has been requested. | |
| cloe::Duration | sensor_data_time_ = cloe::Duration(0) |
| Simulation time from last processed sensor message. | |
| cloe::Duration | sensor_data_time_next_ = cloe::Duration(0) |
| Expected simulation time for next sensor message. | |
| Eigen::Isometry3d | mount_ |
| Sensor mounting position and orientation. | |
| cloe::Frustum | frustum_ |
| Sensor frustum information. | |
| cloe::Objects | world_objects_ |
| World objects from last processed frame. | |
| std::shared_ptr< cloe::Object > | ego_object_ |
| ego object information from last processed frame. | |
| double | ego_steering_angle_ {0.0} |
| Ego front left wheel steering angle from last processed frame. | |
| cloe::LaneBoundaries | lanes_ |
| Lane id-to-boundary-map. | |
Friends | |
| void | to_json (cloe::Json &j, const VtdOsiSensor &s) |
VtdOsiSensor implements retrieval of all data sent by the simulator components.
The object sensor senses box-like objects. The objects are received via TCP and provided as an object list.
|
inlineoverride |
Return the sensor pose in the vehicle reference frame as defined by OSI (rear axle center, not street level as in VTD).
|
inlineoverridevirtual |
Reset the codec.
Discard received messages, clear data members, and implement sensor-specific reset steps.
Implements vtd::VtdSensorData.
|
inlineoverride |
Set the mock level for different data types according to user request.
|
inlineoverridevirtual |