scenario_simulator_v2 C++ API
|
occupancy grid sensor implementation More...
#include <occupancy_grid_sensor.hpp>
Public Member Functions | |
OccupancyGridSensor (const double current_simulation_time, const simulation_api_schema::OccupancyGridSensorConfiguration &configuration, const typename rclcpp::Publisher< T >::SharedPtr &publisher_ptr) | |
auto | update (const double current_simulation_time, const std::vector< traffic_simulator_msgs::EntityStatus > &entities, const rclcpp::Time ¤t_ros_time, const std::vector< std::string > &lidar_detected_entities) -> void override |
Update sensor status. More... | |
Public Member Functions inherited from simple_sensor_simulator::OccupancyGridSensorBase | |
virtual | ~OccupancyGridSensorBase ()=default |
const std::vector< std::string > | getDetectedObjects (const std::vector< traffic_simulator_msgs::EntityStatus > &status, const std::vector< std::string > &lidar_detected_entities) const |
List all objects in range of sensor sight. More... | |
geometry_msgs::Pose | getSensorPose (const std::vector< traffic_simulator_msgs::EntityStatus > &) const |
Extract sensor pose from entity statuses. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from simple_sensor_simulator::OccupancyGridSensorBase | |
OccupancyGridSensorBase (const double current_simulation_time, const simulation_api_schema::OccupancyGridSensorConfiguration &configuration) | |
Protected Attributes inherited from simple_sensor_simulator::OccupancyGridSensorBase | |
double | previous_simulation_time_ |
simulation_api_schema::OccupancyGridSensorConfiguration | configuration_ |
std::vector< std::string > | detected_objects_ |
occupancy grid sensor implementation
|
inlineexplicit |
|
inlineoverridevirtual |
Update sensor status.
Implements simple_sensor_simulator::OccupancyGridSensorBase.