mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 21:55:34 +08:00
CollisionPrevention: curly brace inits
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user