AerialRobot

Inherits from: Robot

land

AerialRobot.land()

Land the aerial robot

takeoff

AerialRobot.takeoff()

Takeoff the aerial robot

moveToPosition

AerialRobot.moveToPosition(position: Vector3r, velocity: float)

Move the aerial robot to a position

Arguments
position (Vector3r)
required

position to move to

velocity (float)
required

velocity to move at

Returns

moveToGPS

AerialRobot.moveToGPS(geopoint: GeoPoint, velocity: float)

Move the drone to gps coordinate: (lat, lng, alt)

Arguments
geopoint (GeoPoint)
required

gps coordinate to move to

velocity (float)
required

velocity to move at

Returns

setYaw

AerialRobot.setYaw(yaw: float)

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

Arguments
yaw (float)
required

the target yaw (radians) for the drone

Returns

moveByVelocity

AerialRobot.moveByVelocity(velocity: Vector3r, duration: int)

Fly the drone with velocity (velocity vector is respect to world coordinates) for the specified duration of seconds.

Arguments
velocity (Tuple[float, float, float])
required

three floats corresponding to the X, Y, Z components of velocity with respect to the world coordinate

duration (int)
required

number of seconds that the drone should be moving

Returns

getYaw

AerialRobot.getYaw()

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

Was this page helpful?