mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 09:53:38 +08:00
sensors/vehicle_air_data: move to sensors namespace
- move params to end of class
This commit is contained in:
@@ -36,6 +36,9 @@
|
||||
#include <px4_platform_common/log.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
|
||||
namespace sensors
|
||||
{
|
||||
|
||||
using namespace matrix;
|
||||
using namespace time_literals;
|
||||
|
||||
@@ -51,14 +54,12 @@ VehicleAirData::VehicleAirData() :
|
||||
VehicleAirData::~VehicleAirData()
|
||||
{
|
||||
Stop();
|
||||
|
||||
perf_free(_cycle_perf);
|
||||
}
|
||||
|
||||
bool VehicleAirData::Start()
|
||||
{
|
||||
ScheduleNow();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -285,3 +286,5 @@ void VehicleAirData::PrintStatus()
|
||||
|
||||
_voter.print();
|
||||
}
|
||||
|
||||
}; // namespace sensors
|
||||
|
||||
Reference in New Issue
Block a user