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

#include <lidar_sensor.hpp>

Inheritance diagram for simple_sensor_simulator::LidarSensorBase:
Inheritance graph
[legend]
Collaboration diagram for simple_sensor_simulator::LidarSensorBase:
Collaboration graph
[legend]

Public Member Functions

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

Protected Member Functions

 LidarSensorBase (const double current_simulation_time, const simulation_api_schema::LidarConfiguration &configuration)
 

Protected Attributes

double previous_simulation_time_
 
simulation_api_schema::LidarConfiguration configuration_
 
Raycaster raycaster_
 
std::vector< std::string > detected_objects_
 

Constructor & Destructor Documentation

◆ LidarSensorBase()

simple_sensor_simulator::LidarSensorBase::LidarSensorBase ( const double  current_simulation_time,
const simulation_api_schema::LidarConfiguration &  configuration 
)
inlineexplicitprotected

◆ ~LidarSensorBase()

virtual simple_sensor_simulator::LidarSensorBase::~LidarSensorBase ( )
virtualdefault

Member Function Documentation

◆ getDetectedObjects()

auto simple_sensor_simulator::LidarSensorBase::getDetectedObjects ( ) const -> const std::vector<std::string> &
inline

◆ update()

virtual auto simple_sensor_simulator::LidarSensorBase::update ( const double  current_simulation_time,
const std::vector< traffic_simulator_msgs::EntityStatus > &  ,
const rclcpp::Time &  current_ros_time 
) -> void
pure virtual

Member Data Documentation

◆ configuration_

simulation_api_schema::LidarConfiguration simple_sensor_simulator::LidarSensorBase::configuration_
protected

◆ detected_objects_

std::vector<std::string> simple_sensor_simulator::LidarSensorBase::detected_objects_
protected

◆ previous_simulation_time_

double simple_sensor_simulator::LidarSensorBase::previous_simulation_time_
protected

◆ raycaster_

Raycaster simple_sensor_simulator::LidarSensorBase::raycaster_
protected

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