<message id="229" name="GRIPPER_SERVO">
<description> Send gripper control generated from off board cobntroller to on board Pixhawk</description>
<field type="uint64_t" name="time_usec" units="us">Timestamp (synced to UNIX time or since system boot).</field>
<field type="float" name="servo_setpoint">actuator controls</field>
</message>
<!--Gripper servo control -->
<message id="229" name="GRIPPER_SERVO">
<description> Send gripper control generated from off board cobntroller to on board Pixhawk</description>
<field type="uint64_t" name="time_usec" units="us">Timestamp (synced to UNIX time or since system boot).</field>
<field type="float" name="servo_setpoint">actuator controls</field>
</message>
Remove common and standard directories from Firmware/mavlink/include/mavlink/v2.0
Generate standard and common directories using mavlink-generator located in ros pkgmavlink/pymavlink
$ python mavgenerate.py
At XML, "Browse" to [Firmware/mavlink/include/mavlink/v2.0/message_definitions/standard.xml].
At Out, "Browse" to [Firmware/mavlink/include/mavlink/v2.0].
Select Language "C"
Select Protocol "2.0"
Check Validate
Make uOrb message Firmware/msg/gripper_servo.msg
uint64 timestamp
float32 servo_setpoint
Edit CMakeList.txt inside Firmware/msg/
set(
...
gripper_servo.msg
)
Edit mavlink_receiver.h located at Firmware/src/modules/mavlink/