Payload
Payload class representing a single payload item on a vehicle.
#include <payload.hpp>Classes
class Payload
Represents a single payload item attached to a vehicle.
A payload provides access to its attached cameras and gimbals. Perception sensors are managed separately by PerceptionController.
Payload()Constructs the Payload instance.
~Payload()Destroys the Payload instance.
auto GetCameras() const -> const std::vector<std::shared_ptr<Camera>>&Returns all cameras attached to this payload.
Returns: Reference to the list of cameras. Empty if no cameras are present.
auto GetGimbals() const -> const std::vector<std::shared_ptr<Gimbal>>&Returns all gimbals attached to this payload.
Returns: Reference to the list of gimbals. Empty if no gimbals are present.