disable pseudo-oblique mode if param4 is 0.

This commit is contained in:
Igor Campos 2020-10-24 11:00:15 -04:00 committed by Lorenz Meier
parent 38a5b8a502
commit 390ed3765f
1 changed files with 3 additions and 0 deletions

View File

@ -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;