MavlinkDrone
Inherits from:AerialDrone
No class docstring.
Inherited methods
- From
Robot:addSensor,getImage,cleanup
init
Arguments
Path to a JSON config file with parameter overrides.
IP address of the ground control station. (default: “192.168.8.10”)
Port number for the MAVLink connection. (default: “14550”)
IP address of the vehicle. (default: “192.168.8.1”)
Communication protocol, one of (“udp”|“tcp”). (default: “udp”)
Dictionary mapping camera stream names to configuration.
Whether to enable arming the drone. (default: False)
Whether to run in dry run mode bypassing arming exceptions. (default: False)
No description provided.
Maximum velocity limit for the drone in m/s. (default: 1.0)
No description provided.
No description provided.
getPosition
Returns
Position type which internally contains X, Y, Z position in meters with respect to the world coordinate
getVelocity
getYaw
getOrientation
setYaw
setYawDelta
setYawRate
moveToPosition
no_sideslip is specified drone turns in direction of travel. Velocity is limited to be less than velocity limit value.
Arguments
moveToPositionDelta
no_sideslip is specified drone turns in direction of
travel. Velocity is limited to be less than velocity limit value.
Arguments
moveToGPS
alt_use_msl.
Note that NO velocity limiting is applied beyond PX4 limitation; drone moves using internal position tracking.
Arguments
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