mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 14:47:44 +08:00
adjust minimum number of positions to 2.
This commit is contained in:
committed by
Lorenz Meier
parent
0cb3ce4886
commit
d0ae931543
@@ -651,7 +651,7 @@ CameraTrigger::Run()
|
||||
}
|
||||
|
||||
// Camera Auto Mount Pseudo Oblique Solution (CAMPOS)
|
||||
if (cmd.param4 > 0.0f) {
|
||||
if (cmd.param4 >= 2.0f) {
|
||||
_pseudo_oblique_num_poses = commandParamToInt(cmd.param4);
|
||||
|
||||
if (cmd.param5 > 0.0) {
|
||||
|
||||
Reference in New Issue
Block a user