vehicle trajectory limit unnecessary updates and reduce logging (#10347)

- fixes #10345
This commit is contained in:
Daniel Agar
2018-08-30 09:21:13 -04:00
committed by GitHub
parent 94d953eef2
commit d131fea899
3 changed files with 23 additions and 26 deletions
@@ -194,13 +194,13 @@ protected:
* Vehicle constraints.
* The constraints can vary with tasks.
*/
vehicle_constraints_s _constraints;
vehicle_constraints_s _constraints{};
/**
* Desired waypoints.
* Goals set by the FCU to be sent to the obstacle avoidance system.
*/
vehicle_trajectory_waypoint_s _desired_waypoint;
vehicle_trajectory_waypoint_s _desired_waypoint{};
DEFINE_PARAMETERS_CUSTOM_PARENT(ModuleParams,
(ParamFloat<px4::params::MPC_XY_VEL_MAX>) MPC_XY_VEL_MAX,