scenario_simulator_v2 C++ API
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
simple_sensor_simulator::DetectionSensorBase Class Referenceabstract

#include <detection_sensor.hpp>

Inheritance diagram for simple_sensor_simulator::DetectionSensorBase:
Inheritance graph
[legend]

Public Member Functions

virtual ~DetectionSensorBase ()=default
 
virtual void update (const double current_simulation_time, const std::vector< traffic_simulator_msgs::EntityStatus > &, const rclcpp::Time &current_ros_time, const std::vector< std::string > &lidar_detected_entities)=0
 

Protected Member Functions

 DetectionSensorBase (const double current_simulation_time, const simulation_api_schema::DetectionSensorConfiguration &configuration)
 
auto isEgoEntityStatusToWhichThisSensorIsAttached (const traffic_simulator_msgs::EntityStatus &) const -> bool
 
auto findEgoEntityStatusToWhichThisSensorIsAttached (const std::vector< traffic_simulator_msgs::EntityStatus > &) const -> std::vector< traffic_simulator_msgs::EntityStatus >::const_iterator
 

Protected Attributes

double previous_simulation_time_
 
simulation_api_schema::DetectionSensorConfiguration configuration_
 

Constructor & Destructor Documentation

◆ DetectionSensorBase()

simple_sensor_simulator::DetectionSensorBase::DetectionSensorBase ( const double  current_simulation_time,
const simulation_api_schema::DetectionSensorConfiguration &  configuration 
)
inlineexplicitprotected

◆ ~DetectionSensorBase()

virtual simple_sensor_simulator::DetectionSensorBase::~DetectionSensorBase ( )
virtualdefault

Member Function Documentation

◆ findEgoEntityStatusToWhichThisSensorIsAttached()

auto simple_sensor_simulator::DetectionSensorBase::findEgoEntityStatusToWhichThisSensorIsAttached ( const std::vector< traffic_simulator_msgs::EntityStatus > &  statuses) const -> std::vector<traffic_simulator_msgs::EntityStatus>::const_iterator
protected

◆ isEgoEntityStatusToWhichThisSensorIsAttached()

auto simple_sensor_simulator::DetectionSensorBase::isEgoEntityStatusToWhichThisSensorIsAttached ( const traffic_simulator_msgs::EntityStatus status) const -> bool
protected

◆ update()

virtual void simple_sensor_simulator::DetectionSensorBase::update ( const double  current_simulation_time,
const std::vector< traffic_simulator_msgs::EntityStatus > &  ,
const rclcpp::Time &  current_ros_time,
const std::vector< std::string > &  lidar_detected_entities 
)
pure virtual

Member Data Documentation

◆ configuration_

simulation_api_schema::DetectionSensorConfiguration simple_sensor_simulator::DetectionSensorBase::configuration_
protected

◆ previous_simulation_time_

double simple_sensor_simulator::DetectionSensorBase::previous_simulation_time_
protected

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