Class TelloPlatform

Inheritance Relationships

Base Type

  • public as2::AerialPlatform

Class Documentation

class TelloPlatform : public as2::AerialPlatform

Class that implements the Tello platform.

Public Functions

explicit TelloPlatform(const rclcpp::NodeOptions &options = rclcpp::NodeOptions())

Construct a new Tello Platform object.

~TelloPlatform()

Destroy the Tello Platform object.

void configureSensors() override

Configure the sensors of the platform.

bool ownSendCommand() override

Send command to the drone.

bool ownSetArmingState(bool state) override

Set the arming state of the drone.

bool ownSetOffboardControl(bool offboard) override

Set the offboard control of the drone.

bool ownSetPlatformControlMode(const as2_msgs::msg::ControlMode &msg) override

Set the platform control mode.

void ownKillSwitch() override

Stop the platform flight.

void ownStopPlatform() override

Set the platform to hover.

bool ownTakeoff() override

Take off the platform.

bool ownLand() override

Land the platform.

void pingTimerCallback()

Timer callback to send ping to the drone.

void readStateTimerCallback()

Timer callback to read high frequency sensors data.

void readCameraTimerCallback()

Timer callback to read camera data.