#include <SensorsMaker.h>
Public Member Functions | |
| AZStd::vector< AZ::EntityId > | AddSensors (const sdf::Model &model, const sdf::Link *link, AZ::EntityId entityId) |
| const AZStd::set< AZStd::string > & | GetStatusMessages () const |
Populates a given entity with all the contents of the <sensor> tag. Sensors are specified as children of link or joint in SDFormat.
| AZStd::vector< AZ::EntityId > ROS2::SensorsMaker::AddSensors | ( | const sdf::Model & | model, |
| const sdf::Link * | link, | ||
| AZ::EntityId | entityId ) |
Adds a sensor to an entity and sets it accordingly based on SDFormat description.
| model | A parsed SDF model which could hold information about sensor to be made. |
| link | A parsed SDF tree link node used to identify link being currently processed. |
| entityId | A non-active entity which will be affected. |
| const AZStd::set< AZStd::string > & ROS2::SensorsMaker::GetStatusMessages | ( | ) | const |
Get a reference to collection of status messages (read-only)