#include <SensorConfiguration.h>
Public Member Functions | |
| AZ_TYPE_INFO (SensorConfiguration, SensorConfigurationTypeId) | |
Static Public Member Functions | |
| static void | Reflect (AZ::ReflectContext *context) |
Public Attributes | |
| AZStd::map< AZStd::string, ROS2::TopicConfiguration > | m_publishersConfigurations |
| float | m_frequency = 10.f |
| bool | m_publishingEnabled = true |
| Determines whether the sensor is publishing (sending data to ROS 2 ecosystem). | |
| bool | m_visualize = true |
| Determines whether the sensor is visualized in O3DE (for example, point cloud is drawn for LIDAR). | |
General configuration for sensors. All sensors can be set to a certain frequency, have their data published or not, and visualized or not.
| float ROS2::SensorConfiguration::m_frequency = 10.f |
Frequency in Hz (1/s). Applies both to data acquisition and publishing.
| AZStd::map<AZStd::string, ROS2::TopicConfiguration> ROS2::SensorConfiguration::m_publishersConfigurations |
ROS2 Publishers of this sensor. Some sensors can have more than one publisher (example: Camera).