Skip to main content

AerialRobot

Inherits from: Robot

land

Land the aerial robot

takeoff

Takeoff the aerial robot

moveToPosition

Move the aerial robot to a position
required
position to move to
required
velocity to move at

moveToGPS

Move the drone to gps coordinate: (lat, lng, alt)
required
gps coordinate to move to
required
velocity to move at

setYaw

Set the yaw (in radians) of the drone to the specified degrees. Yaw measures the rotation of the drone around the z-axis (downwards)
required
the target yaw (radians) for the drone

moveByVelocity

Fly the drone with velocity (velocity vector is respect to world coordinates) for the specified duration of seconds.
required
three floats corresponding to the X, Y, Z components of velocity with respect to the world coordinate
required
number of seconds that the drone should be moving

getYaw

Return the current yaw of the drone in radians. Yaw measures the rotation of the drone