mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 15:40:34 +08:00
Replaces poshold/althold with posctrl/altctrl
This commit is contained in:
@@ -35,8 +35,8 @@ void BlockSegwayController::update() {
|
||||
|
||||
// handle autopilot modes
|
||||
if (_status.main_state == MAIN_STATE_AUTO ||
|
||||
_status.main_state == MAIN_STATE_ALTHOLD ||
|
||||
_status.main_state == MAIN_STATE_POSHOLD) {
|
||||
_status.main_state == MAIN_STATE_ALTCTRL ||
|
||||
_status.main_state == MAIN_STATE_POSCTRL) {
|
||||
_actuators.control[0] = spdCmd;
|
||||
_actuators.control[1] = spdCmd;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user