ModalaiDrone
Inherits from: AerialRobot Instantiates a ModalaiDrone containing mavlink client for sending commands to real drone. Additionally sets up video stream manager for handling RTSP streams from the drone.clip_velocity
Arguments
Returns
clipped velocity vector
getPosition
getVelocity
getYaw
getOrientation
setYaw
Returns
setYawDelta
Returns
setYawRate
Returns
moveToPosition
no_sideslip
is specified drone turns in direction of travel. Velocity is limited to be less than velocity limit value.
Arguments
Returns
moveToPositionDelta
no_sideslip
is specified drone turns in direction of
travel. Velocity is limited to be less than velocity limit value.
Arguments
Returns
moveToGPS
alt_use_msl
.
Note that NO velocity limiting is applied beyond PX4 limitation; drone moves using internal position tracking.
Arguments
Returns
moveByVelocity
velocity
in NED frame (right-handed, X north, Y east, Z down) in meters/s.
If an optional duration
is given, the velocity command is held for the specified number of seconds during which the function is blocking.
After the duration is complete the final position is held.
If no duration is specified (default), the command is held until another position or velocity command is given.
If no_sideslip
is specified drone turns in direction of travel.
Velocity is limited to be less than velocity limit value.
Arguments
Returns
takeoff
land
getImage
Arguments