mavsdk::Offboard::ActuatorControl Struct Reference

#include: offboard.h


Type for actuator control command. controls 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 conrols 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).

Data Structures

struct Group

Data Fields

Group groups - Control Groups. In order not to send a group, set all its values to NaN.

Field Documentation

groups

Group mavsdk::Offboard::ActuatorControl::groups[2]

Control Groups. In order not to send a group, set all its values to NaN.

© Dronecode 2017-2019. License: CC BY 4.0            Updated: 2019-11-05 22:27:07

results matching ""

    No results matching ""