Browse Source

fix parameters subscription

sbg
Martina 7 years ago committed by ChristophTobler
parent
commit
ade254394e
  1. 2
      src/lib/FlightTasks/tasks/FlightTaskAutoLine.hpp
  2. 2
      src/lib/FlightTasks/tasks/FlightTaskAutoMapper.hpp

2
src/lib/FlightTasks/tasks/FlightTaskAutoLine.hpp

@ -51,7 +51,7 @@ public: @@ -51,7 +51,7 @@ public:
protected:
DEFINE_PARAMETERS_CUSTOM_PARENT(FlightTaskAutoLine,
DEFINE_PARAMETERS_CUSTOM_PARENT(FlightTaskAutoMapper,
(ParamFloat<px4::params::MIS_YAW_ERR>) MIS_YAW_ERR, // yaw-error threshold
(ParamFloat<px4::params::MPC_ACC_UP_MAX>) MPC_ACC_UP_MAX,
(ParamFloat<px4::params::MPC_ACC_DOWN_MAX>) MPC_ACC_DOWN_MAX,

2
src/lib/FlightTasks/tasks/FlightTaskAutoMapper.hpp

@ -66,7 +66,7 @@ protected: @@ -66,7 +66,7 @@ protected:
};
State _current_state{State::none};
DEFINE_PARAMETERS_CUSTOM_PARENT(FlightTaskAutoMapper,
DEFINE_PARAMETERS_CUSTOM_PARENT(FlightTaskAuto,
(ParamFloat<px4::params::MPC_LAND_SPEED>) MPC_LAND_SPEED,
(ParamFloat<px4::params::MPC_CRUISE_90>) MPC_CRUISE_90, // speed at corner when angle is 90 degrees move to line
(ParamFloat<px4::params::NAV_ACC_RAD>) NAV_ACC_RAD, // acceptance radius at which waypoints are updated move to line

Loading…
Cancel
Save