forked from Archive/PX4-Autopilot
disable pseudo-oblique mode if param4 is 0.
This commit is contained in:
parent
38a5b8a502
commit
390ed3765f
|
@ -666,6 +666,9 @@ CameraTrigger::Run()
|
|||
_pseudo_oblique_pose_counter = 0;
|
||||
_move_distance = _distance / 2;
|
||||
_updated_roll_angle = false;
|
||||
|
||||
} else {
|
||||
_pseudo_oblique_num_poses = 0;
|
||||
}
|
||||
|
||||
cmd_result = vehicle_command_s::VEHICLE_CMD_RESULT_ACCEPTED;
|
||||
|
|
Loading…
Reference in New Issue