mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 17:23:33 +08:00
Implementation of 183 mission intem
This commit is contained in:
committed by
Lorenz Meier
parent
384047787a
commit
e6ffa16125
@@ -60,7 +60,10 @@ enum NAV_CMD {
|
||||
NAV_CMD_TAKEOFF = 22,
|
||||
NAV_CMD_ROI = 80,
|
||||
NAV_CMD_PATHPLANNING = 81,
|
||||
NAV_CMD_DO_JUMP = 177
|
||||
NAV_CMD_DO_JUMP = 177,
|
||||
NAV_CMD_DO_SET_SERVO=183,
|
||||
NAV_CMD_DO_REPEAT_SERVO=184
|
||||
|
||||
};
|
||||
|
||||
enum ORIGIN {
|
||||
@@ -96,6 +99,9 @@ struct mission_item_s {
|
||||
int do_jump_mission_index; /**< index where the do jump will go to */
|
||||
unsigned do_jump_repeat_count; /**< how many times do jump needs to be done */
|
||||
unsigned do_jump_current_count; /**< count how many times the jump has been done */
|
||||
int actuator_num; /**< actuator number to be set 1..6 */
|
||||
int actuator_value; /**< new value for selected actuator 900...2000 */
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user