Skip to content

Commit

Permalink
Merge pull request #7944 from mrivi/cp_params
Browse files Browse the repository at this point in the history
rename collision prevention parameters to match Firmware
  • Loading branch information
dogmaphobic authored Nov 8, 2019
2 parents 4f3c015 + 1c2ec93 commit 182573f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/AutoPilotPlugins/PX4/SafetyComponent.qml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ SetupPage {
property Fact _rcLossAction: controller.getParameterFact(-1, "NAV_RCL_ACT")
property Fact _dlLossAction: controller.getParameterFact(-1, "NAV_DLL_ACT")
property Fact _disarmLandDelay: controller.getParameterFact(-1, "COM_DISARM_LAND")
property Fact _collisionPrevention: controller.getParameterFact(-1, "MPC_COL_PREV_D")
property Fact _collisionPrevention: controller.getParameterFact(-1, "CP_DIST")
property Fact _objectAvoidance: controller.getParameterFact(-1, "COM_OBS_AVOID")
property Fact _landSpeedMC: controller.getParameterFact(-1, "MPC_LAND_SPEED", false)
property bool _hitlAvailable: controller.parameterExists(-1, hitlParam)
Expand Down
2 changes: 1 addition & 1 deletion src/Vehicle/VehicleObjectAvoidance.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "ParameterManager.h"
#include <cmath>

static const char* kColPrevParam = "MPC_COL_PREV_D";
static const char* kColPrevParam = "CP_DIST";

//-----------------------------------------------------------------------------
VehicleObjectAvoidance::VehicleObjectAvoidance(Vehicle *vehicle, QObject* parent)
Expand Down

0 comments on commit 182573f

Please sign in to comment.