mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 21:13:33 +08:00
Collision prevention: Option to enable flying outside FOV and rename parameters (new CP group)
* rename parameters to allow more descriptive names under CP group * add option to enable moving where there is no data * add test for param CP_GO_NO_DATA Co-Authored-By: Martina Rivizzigno <martina@rivizzigno.it>
This commit is contained in:
committed by
Daniel Agar
co-authored by
Martina Rivizzigno
parent
2fcddd9b8d
commit
be1f966e5f
@@ -51,7 +51,7 @@ public:
|
||||
TEST_F(ParameterTest, testParamReadWrite)
|
||||
{
|
||||
// GIVEN a parameter handle
|
||||
param_t param = param_handle(px4::params::MPC_COL_PREV_D);
|
||||
param_t param = param_handle(px4::params::CP_DIST);
|
||||
|
||||
// WHEN: we get the parameter
|
||||
float value = -999.f;
|
||||
|
||||
Reference in New Issue
Block a user