#include <SensorsMaker.h>
Public Member Functions | |
void | AddSensors (const sdf::Model &model, const sdf::Link *link, AZ::EntityId entityId) const |
Populates a given entity with all the contents of the <sensor> tag. Sensors are specified as children of link or joint in SDFormat.
void ROS2::SensorsMaker::AddSensors | ( | const sdf::Model & | model, |
const sdf::Link * | link, | ||
AZ::EntityId | entityId | ||
) | const |
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. |