$darkmode
cloe_esmini::ESMiniOsiSensor Class Reference

#include <esmini_osi_sensor.hpp>

Inheritance diagram for cloe_esmini::ESMiniOsiSensor:
Collaboration diagram for cloe_esmini::ESMiniOsiSensor:

Public Member Functions

 ESMiniOsiSensor (uint64_t owner_id, double filter_dist)
 
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 cloe_esmini::ESMiniEnvData
 ESMiniEnvData (const std::string &name, double filter_dist)
 
virtual cloe::Duration time () const
 
virtual void set_name (const std::string &name)
 
virtual void set_reset_state ()
 
const cloe::Objectget_ego_object () const
 
const cloe::Objectsget_world_objects () const
 
double get_ego_steering_angle () const
 
const cloe::Frustumget_frustum () const
 
const Eigen::Isometry3d & get_mount_pose () const
 
const cloe::LaneBoundaries & get_lane_boundaries ()
 
void clear_cache ()
 

Friends

void to_json (cloe::Json &j, const ESMiniOsiSensor &s)
 

Additional Inherited Members

- Protected Attributes inherited from cloe_esmini::ESMiniEnvData
std::string name_ = "default_sensor"
 Human readable name.
 
bool restart_ = false
 Indicates whether reset has been requested.
 
cloe::Duration env_data_time_ = cloe::Duration(0)
 Simulation time from last processed data message.
 
cloe::Duration env_data_time_next_ = cloe::Duration(0)
 Expected simulation time for next data 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::Objectego_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.
 

Detailed Description

ESMiniOsiSensor implements retrieval of all ground truth data provided by the simulator and conversion to the Cloe sensor components.

Note: Object and lane boundary data is converted to a fictive sensor position located in the vehicle reference point.

Member Function Documentation

◆ get_static_mounting_position()

Eigen::Isometry3d cloe_esmini::ESMiniOsiSensor::get_static_mounting_position ( const Eigen::Vector3d &  bbcenter_to_veh_origin,
const Eigen::Vector3d &  ego_dimensions 
)
inlineoverride

Return the sensor pose in the vehicle reference frame as defined by OSI (rear axle center, not street level as in VTD).

◆ reset()

void cloe_esmini::ESMiniOsiSensor::reset ( )
inlineoverridevirtual

Reset the codec.

Discard received messages, clear data members, and implement sensor-specific reset steps.

Implements cloe_esmini::ESMiniEnvData.

Here is the call graph for this function:

◆ set_mock_conf()

void cloe_esmini::ESMiniOsiSensor::set_mock_conf ( std::shared_ptr< const cloe::utility::SensorMockConf >  mock)
inlineoverride

Set the mock level for different data types according to user request.

◆ step()

void cloe_esmini::ESMiniOsiSensor::step ( const cloe::Sync s)
inlineoverridevirtual

Process the incoming data.

Implements cloe_esmini::ESMiniEnvData.

Here is the call graph for this function:

The documentation for this class was generated from the following file: