uORB::Subscription subscribe directly to uORB device node object

This commit is contained in:
Daniel Agar
2019-06-03 17:06:21 -04:00
parent 2d1c60bc85
commit 2c63e335e9
37 changed files with 766 additions and 270 deletions
@@ -99,7 +99,7 @@ using matrix::Vector2f;
using matrix::Vector3f;
using matrix::wrap_pi;
using uORB::Subscription;
using uORB::SubscriptionData;
using namespace launchdetection;
using namespace runwaytakeoff;
@@ -181,8 +181,8 @@ private:
vehicle_land_detected_s _vehicle_land_detected {}; ///< vehicle land detected */
vehicle_status_s _vehicle_status {}; ///< vehicle status */
Subscription<airspeed_s> _sub_airspeed;
Subscription<sensor_bias_s> _sub_sensors;
SubscriptionData<airspeed_s> _sub_airspeed;
SubscriptionData<sensor_bias_s> _sub_sensors;
perf_counter_t _loop_perf; ///< loop performance counter */