CollisionPrevention: curly brace inits

This commit is contained in:
Alessandro Simovic
2019-01-04 09:11:07 +01:00
committed by Lorenz Meier
parent e1dcc46578
commit aa74aa2b80
@@ -74,10 +74,10 @@ private:
bool _interfering = false; /**< states if the collision prevention interferes with the user input */
orb_advert_t _constraints_pub = nullptr; /**< constraints publication */
orb_advert_t _mavlink_log_pub = nullptr; /**< Mavlink log uORB handle */
orb_advert_t _constraints_pub{nullptr}; /**< constraints publication */
orb_advert_t _mavlink_log_pub{nullptr}; /**< Mavlink log uORB handle */
uORB::Subscription<obstacle_distance_s> *_sub_obstacle_distance = nullptr; /**< obstacle distances received form a range sensor */
uORB::Subscription<obstacle_distance_s> *_sub_obstacle_distance{nullptr}; /**< obstacle distances received form a range sensor */
static constexpr uint64_t RANGE_STREAM_TIMEOUT_US = 500000;
static constexpr uint64_t MESSAGE_THROTTLE_US = 5000000;