scenario_simulator_v2 C++ API
Public Member Functions | List of all members
simple_sensor_simulator::LidarSensor< T > Class Template Reference

#include <lidar_sensor.hpp>

Inheritance diagram for simple_sensor_simulator::LidarSensor< T >:
Inheritance graph
[legend]
Collaboration diagram for simple_sensor_simulator::LidarSensor< T >:
Collaboration graph
[legend]

Public Member Functions

 LidarSensor (const double current_simulation_time, const simulation_api_schema::LidarConfiguration &configuration, const typename rclcpp::Publisher< T >::SharedPtr &publisher_ptr)
 
auto update (const double current_simulation_time, const std::vector< traffic_simulator_msgs::EntityStatus > &status, const rclcpp::Time &current_ros_time) -> void override
 
- Public Member Functions inherited from simple_sensor_simulator::LidarSensorBase
virtual ~LidarSensorBase ()=default
 
auto getDetectedObjects () const -> const std::vector< std::string > &
 

Additional Inherited Members

- Protected Member Functions inherited from simple_sensor_simulator::LidarSensorBase
 LidarSensorBase (const double current_simulation_time, const simulation_api_schema::LidarConfiguration &configuration)
 
- Protected Attributes inherited from simple_sensor_simulator::LidarSensorBase
double previous_simulation_time_
 
simulation_api_schema::LidarConfiguration configuration_
 
Raycaster raycaster_
 
std::vector< std::string > detected_objects_
 

Constructor & Destructor Documentation

◆ LidarSensor()

template<typename T >
simple_sensor_simulator::LidarSensor< T >::LidarSensor ( const double  current_simulation_time,
const simulation_api_schema::LidarConfiguration &  configuration,
const typename rclcpp::Publisher< T >::SharedPtr &  publisher_ptr 
)
inlineexplicit

Member Function Documentation

◆ update()

template<typename T >
auto simple_sensor_simulator::LidarSensor< T >::update ( const double  current_simulation_time,
const std::vector< traffic_simulator_msgs::EntityStatus > &  status,
const rclcpp::Time &  current_ros_time 
) -> void
inlineoverridevirtual

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