package mavsdk.rpc.offboard

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service OffboardService

offboard.proto:20

Control a drone with position, velocity, attitude or motor commands. The module is called offboard because the commands can be sent from external sources as opposed to onboard control right inside the autopilot "board". Client code must specify a setpoint before starting offboard mode. Mavsdk automatically sends setpoints at 20Hz (PX4 Offboard mode requires that setpoints are minimally sent at 2Hz).

message AccelerationNed

offboard.proto:260

Type for acceleration commands in NED (North East Down) coordinates.

Used in: SetAccelerationNedRequest, SetPositionVelocityAccelerationNedRequest

message ActuatorControl

offboard.proto:208

Type for actuator control. Control members should be normed to -1..+1 where 0 is neutral position. Throttle for single rotation direction motors is 0..1, negative range for reverse direction. One group support eight controls. Up to 16 actuator controls can be set. To ignore an output group, set all it controls to NaN. If one or more controls in group is not NaN, then all NaN controls will sent as zero. The first 8 actuator controls internally map to control group 0, the latter 8 actuator controls map to control group 1. Depending on what controls are set (instead of NaN) 1 or 2 MAVLink messages are actually sent. In PX4 v1.9.0 Only first four Control Groups are supported (https://github.com/PX4/Firmware/blob/v1.9.0/src/modules/mavlink/mavlink_receiver.cpp#L980).

Used in: SetActuatorControlRequest

message ActuatorControlGroup

offboard.proto:187

Eight controls that will be given to the group. Each control is a normalized (-1..+1) command value, which will be mapped and scaled through the mixer.

Used in: ActuatorControl

message Attitude

offboard.proto:176

Type for attitude body angles in NED reference frame (roll, pitch, yaw and thrust)

Used in: SetAttitudeRequest

message AttitudeRate

offboard.proto:213

Type for attitude rate commands in body coordinates (roll, pitch, yaw angular rate and thrust)

Used in: SetAttitudeRateRequest

message OffboardResult

offboard.proto:267

Result type.

Used in: SetAccelerationNedResponse, SetActuatorControlResponse, SetAttitudeRateResponse, SetAttitudeResponse, SetPositionGlobalResponse, SetPositionNedResponse, SetPositionVelocityAccelerationNedResponse, SetPositionVelocityNedResponse, SetVelocityBodyResponse, SetVelocityNedResponse, StartResponse, StopResponse

enum OffboardResult.Result

offboard.proto:269

Possible results returned for offboard requests

Used in: OffboardResult

message PositionGlobalYaw

offboard.proto:229

Type for position commands in Global (Latitude, Longitude, Altitude) coordinates and yaw.

Used in: SetPositionGlobalRequest

enum PositionGlobalYaw.AltitudeType

offboard.proto:231

Possible altitude options

Used in: PositionGlobalYaw

message PositionNedYaw

offboard.proto:221

Type for position commands in NED (North East Down) coordinates and yaw.

Used in: SetPositionNedRequest, SetPositionVelocityAccelerationNedRequest, SetPositionVelocityNedRequest

message VelocityBodyYawspeed

offboard.proto:244

Type for velocity commands in body coordinates.

Used in: SetVelocityBodyRequest

message VelocityNedYaw

offboard.proto:252

Type for velocity commands in NED (North East Down) coordinates and yaw.

Used in: SetPositionVelocityAccelerationNedRequest, SetPositionVelocityNedRequest, SetVelocityNedRequest