mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 13:43:33 +08:00
Implementation of 183 mission intem
This commit is contained in:
committed by
Lorenz Meier
parent
384047787a
commit
e6ffa16125
@@ -71,6 +71,13 @@ MissionBlock::~MissionBlock()
|
||||
bool
|
||||
MissionBlock::is_mission_item_reached()
|
||||
{
|
||||
if (_mission_item.nav_cmd == NAV_CMD_DO_SET_SERVO) {
|
||||
//up_pwm_servo_arm(true);
|
||||
//up_pwm_servo_set(_mission_item.actuator_num-1, _mission_item.actuator_value);
|
||||
warnx("Set servo cmd executed");
|
||||
return true;
|
||||
}
|
||||
|
||||
if (_mission_item.nav_cmd == NAV_CMD_IDLE) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user