Open 3D Engine ROS2 Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Interface that allows to get sensor configuration and switch publish state. More...
#include <SensorConfigurationRequestBus.h>
Inherits AZ::EBusTraits.
Public Types | |
using | BusIdType = AZ::EntityComponentIdPair |
Public Member Functions | |
AZ_RTTI (SensorConfigurationRequest, "{01904eab-fa33-7487-b634-e3f8361eb5fb}") | |
virtual SensorConfiguration | GetSensorConfiguration () const =0 |
Get the configuration of the sensor. | |
virtual void | SetSensorEnabled (bool enable)=0 |
Enable or disable the sensor, completely stopping the sensor from running. | |
virtual void | SetPublishingEnabled (bool publishingEnabled)=0 |
virtual void | SetVisualizeEnabled (bool visualizeEnabled)=0 |
virtual float | GetEffectiveFrequency () const =0 |
Get the the current frequency of the sensor in hertz. | |
virtual void | SetDesiredFrequency (float frequency)=0 |
Sets desired frequency of the sensor in hertz. | |
Static Public Attributes | |
static constexpr AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
Interface that allows to get sensor configuration and switch publish state.
|
pure virtual |
Enable or disable publishing of the sensor to ROS 2. The sensor implementation will still be running, but the data will not be published.
|
pure virtual |
Enable or disable visualization of the sensor. The sensor implementation will still be running, but the data will not be visualized in the viewport.