mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Standardize class member variable naming convention in the VtolLandDetector class.
This commit is contained in:
@@ -55,7 +55,7 @@ void VtolLandDetector::_update_topics()
|
||||
{
|
||||
MulticopterLandDetector::_update_topics();
|
||||
|
||||
_airspeedSub.update(&_airspeed);
|
||||
_airspeed_sub.update(&_airspeed);
|
||||
_vehicle_status_sub.update(&_vehicle_status);
|
||||
}
|
||||
|
||||
|
||||
@@ -70,11 +70,11 @@ private:
|
||||
float maxAirSpeed;
|
||||
} _params{};
|
||||
|
||||
uORB::Subscription _airspeedSub{ORB_ID(airspeed)};
|
||||
uORB::Subscription _airspeed_sub{ORB_ID(airspeed)};
|
||||
uORB::Subscription _vehicle_status_sub{ORB_ID(vehicle_status)};
|
||||
|
||||
airspeed_s _airspeed{};
|
||||
vehicle_status_s _vehicle_status{};
|
||||
airspeed_s _airspeed{};
|
||||
vehicle_status_s _vehicle_status{};
|
||||
|
||||
bool _was_in_air{false}; /**< indicates whether the vehicle was in the air in the previous iteration */
|
||||
float _airspeed_filtered{0.0f}; /**< low pass filtered airspeed */
|
||||
|
||||
Reference in New Issue
Block a user