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:
Tanja Baumann
2019-10-17 11:23:50 -04:00
committed by Daniel Agar
co-authored by Martina Rivizzigno
parent 2fcddd9b8d
commit be1f966e5f
5 changed files with 69 additions and 24 deletions
+1 -1
View File
@@ -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;