mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 10:23:34 +08:00
lib/geo: move from ecl
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
#include <circuit_breaker/circuit_breaker.h>
|
||||
#include <mathlib/math/Limits.hpp>
|
||||
#include <mathlib/math/Functions.hpp>
|
||||
#include <ecl/geo/geo.h>
|
||||
#include <geo/geo.h>
|
||||
|
||||
using namespace matrix;
|
||||
using namespace time_literals;
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
#include <float.h>
|
||||
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/world_magnetic_model/geo_mag_declination.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <lib/parameters/param.h>
|
||||
|
||||
@@ -57,7 +57,7 @@ px4_add_module(
|
||||
DEPENDS
|
||||
circuit_breaker
|
||||
failure_detector
|
||||
ecl_geo
|
||||
geo
|
||||
hysteresis
|
||||
PreFlightCheck
|
||||
ArmAuthorization
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
#include <dataman/dataman.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <drivers/drv_tone_alarm.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <mathlib/mathlib.h>
|
||||
#include <navigator/navigation.h>
|
||||
#include <px4_platform_common/px4_config.h>
|
||||
|
||||
@@ -134,7 +134,7 @@
|
||||
#include <lib/sensor_calibration/Accelerometer.hpp>
|
||||
#include <lib/sensor_calibration/Utilities.hpp>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <matrix/math.hpp>
|
||||
#include <lib/conversion/rotation.h>
|
||||
#include <lib/parameters/param.h>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <drivers/drv_tone_alarm.h>
|
||||
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <lib/systemlib/mavlink_log.h>
|
||||
#include <matrix/math.hpp>
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <matrix/math.hpp>
|
||||
#include <lib/conversion/rotation.h>
|
||||
#include <lib/parameters/param.h>
|
||||
|
||||
@@ -45,7 +45,7 @@ px4_add_module(
|
||||
EKF2Selector.hpp
|
||||
DEPENDS
|
||||
ecl_EKF
|
||||
ecl_geo
|
||||
geo
|
||||
perf
|
||||
EKF2Utility
|
||||
px4_work_queue
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#include <uORB/topics/home_position.h>
|
||||
#include <uORB/topics/manual_control_setpoint.h>
|
||||
#include <uORB/topics/vehicle_status.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
|
||||
// TODO: make this switchable in the board config, like a module
|
||||
#if CONSTRAINED_FLASH
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "FlightTask.hpp"
|
||||
#include <mathlib/mathlib.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
|
||||
constexpr uint64_t FlightTask::_timeout;
|
||||
// First index of empty_setpoint corresponds to time-stamp and requires a finite number.
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
#include <uORB/topics/vehicle_attitude.h>
|
||||
#include <uORB/topics/vehicle_trajectory_waypoint.h>
|
||||
#include <uORB/topics/home_position.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/weather_vane/WeatherVane.hpp>
|
||||
|
||||
struct ekf_reset_counters_s {
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#include "FlightTaskManualAltitude.hpp"
|
||||
#include <float.h>
|
||||
#include <mathlib/mathlib.h>
|
||||
#include <ecl/geo/geo.h>
|
||||
#include <geo/geo.h>
|
||||
|
||||
using namespace matrix;
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#include "FlightTaskOrbit.hpp"
|
||||
|
||||
#include <mathlib/mathlib.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
|
||||
using namespace matrix;
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
#include "StickAccelerationXY.hpp"
|
||||
|
||||
#include <ecl/geo/geo.h>
|
||||
#include <geo/geo.h>
|
||||
#include "Sticks.hpp"
|
||||
|
||||
using namespace matrix;
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "ecl_roll_controller.h"
|
||||
#include "ecl_wheel_controller.h"
|
||||
#include "ecl_yaw_controller.h"
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <lib/parameters/param.h>
|
||||
#include <lib/perf/perf_counter.h>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
#include "ecl_pitch_controller.h"
|
||||
#include <float.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <mathlib/mathlib.h>
|
||||
|
||||
float ECL_PitchController::control_attitude(const float dt, const ECL_ControlData &ctl_data)
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
#include "ecl_roll_controller.h"
|
||||
#include <float.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <mathlib/mathlib.h>
|
||||
|
||||
float ECL_RollController::control_attitude(const float dt, const ECL_ControlData &ctl_data)
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
#include "ecl_wheel_controller.h"
|
||||
#include <float.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <mathlib/mathlib.h>
|
||||
#include <matrix/math.hpp>
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
#include "ecl_yaw_controller.h"
|
||||
#include <float.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <mathlib/mathlib.h>
|
||||
|
||||
float ECL_YawController::control_attitude(const float dt, const ECL_ControlData &ctl_data)
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
#include <float.h>
|
||||
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/l1/ECL_L1_Pos_Controller.hpp>
|
||||
#include <lib/tecs/TECS.hpp>
|
||||
#include <lib/landing_slope/Landingslope.hpp>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "GyroCalibration.hpp"
|
||||
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
|
||||
using namespace time_literals;
|
||||
using matrix::Vector3f;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <px4_platform_common/module_params.h>
|
||||
#include <px4_platform_common/posix.h>
|
||||
#include <lib/controllib/blocks.hpp>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <matrix/Matrix.hpp>
|
||||
|
||||
|
||||
@@ -49,6 +49,6 @@ px4_add_module(
|
||||
sensors/landing_target.cpp
|
||||
DEPENDS
|
||||
controllib
|
||||
ecl_geo
|
||||
geo
|
||||
px4_work_queue
|
||||
)
|
||||
|
||||
@@ -72,7 +72,7 @@ px4_add_module(
|
||||
drivers_magnetometer
|
||||
git_mavlink_v2
|
||||
conversion
|
||||
ecl_geo
|
||||
geo
|
||||
version
|
||||
UNITY_BUILD
|
||||
)
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
#endif
|
||||
|
||||
#include <containers/LockGuard.hpp>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <lib/systemlib/mavlink_log.h>
|
||||
#include <lib/version/version.h>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <lib/conversion/rotation.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <lib/matrix/matrix/math.hpp>
|
||||
#include <px4_platform_common/time.h>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#include "mavlink_mission.h"
|
||||
#include "mavlink_main.h"
|
||||
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <systemlib/err.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <px4_platform_common/defines.h>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#include <airspeed/airspeed.h>
|
||||
#include <conversion/rotation.h>
|
||||
#include <drivers/drv_rc_input.h>
|
||||
#include <ecl/geo/geo.h>
|
||||
#include <geo/geo.h>
|
||||
#include <systemlib/px4_macros.h>
|
||||
|
||||
#include <math.h>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#ifndef HIGH_LATENCY2_HPP
|
||||
#define HIGH_LATENCY2_HPP
|
||||
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <lib/matrix/matrix/math.hpp>
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#ifndef SCALED_IMU_HPP
|
||||
#define SCALED_IMU_HPP
|
||||
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/matrix/matrix/math.hpp>
|
||||
|
||||
#include <uORB/topics/sensor_mag.h>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#ifndef SCALED_IMU2_HPP
|
||||
#define SCALED_IMU2_HPP
|
||||
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/matrix/matrix/math.hpp>
|
||||
|
||||
#include <uORB/topics/sensor_mag.h>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#ifndef SCALED_IMU3_HPP
|
||||
#define SCALED_IMU3_HPP
|
||||
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/matrix/matrix/math.hpp>
|
||||
|
||||
#include <uORB/topics/sensor_mag.h>
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <matrix/matrix/math.hpp>
|
||||
#include <ecl/geo/geo.h>
|
||||
#include <geo/geo.h>
|
||||
#include <mathlib/mathlib.h>
|
||||
|
||||
class ZeroOrderHoverThrustEkf
|
||||
|
||||
@@ -45,6 +45,6 @@ px4_add_module(
|
||||
PositionControl
|
||||
Takeoff
|
||||
controllib
|
||||
ecl_geo
|
||||
geo
|
||||
SlewRate
|
||||
)
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#include <float.h>
|
||||
#include <mathlib/mathlib.h>
|
||||
#include <px4_platform_common/defines.h>
|
||||
#include <ecl/geo/geo.h>
|
||||
#include <geo/geo.h>
|
||||
|
||||
using namespace matrix;
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
#include "Takeoff.hpp"
|
||||
#include <mathlib/mathlib.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
|
||||
void Takeoff::generateInitialRampValue(float velocity_p_gain)
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include <Takeoff.hpp>
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
|
||||
TEST(TakeoffTest, Initialization)
|
||||
{
|
||||
|
||||
@@ -52,7 +52,7 @@ px4_add_module(
|
||||
gpsfailure.cpp
|
||||
follow_target.cpp
|
||||
DEPENDS
|
||||
ecl_geo
|
||||
geo
|
||||
landing_slope
|
||||
geofence_breach_avoidance
|
||||
motion_planning
|
||||
|
||||
@@ -36,4 +36,4 @@ px4_add_library(geofence_breach_avoidance
|
||||
geofence_breach_avoidance.h
|
||||
)
|
||||
|
||||
px4_add_functional_gtest(SRC GeofenceBreachAvoidanceTest.cpp LINKLIBS geofence_breach_avoidance modules__navigator ecl_geo motion_planning)
|
||||
px4_add_functional_gtest(SRC GeofenceBreachAvoidanceTest.cpp LINKLIBS geofence_breach_avoidance modules__navigator motion_planning)
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "geofence_breach_avoidance.h"
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <motion_planning/VelocitySmoothing.hpp>
|
||||
|
||||
using Vector2d = matrix::Vector2<double>;
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
#include <systemlib/mavlink_log.h>
|
||||
#include <systemlib/err.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <navigator/navigation.h>
|
||||
|
||||
#include <uORB/uORB.h>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
#include <uORB/uORB.h>
|
||||
#include <uORB/topics/position_setpoint_triplet.h>
|
||||
#include <uORB/topics/follow_target.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/mathlib/math/Limits.hpp>
|
||||
|
||||
#include "navigator.h"
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
#include <dataman/dataman.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <systemlib/mavlink_log.h>
|
||||
|
||||
#include "navigator.h"
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <px4_platform_common/module_params.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <px4_platform_common/defines.h>
|
||||
#include <uORB/Subscription.hpp>
|
||||
#include <uORB/topics/home_position.h>
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#include "navigator.h"
|
||||
|
||||
#include <systemlib/mavlink_log.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <navigator/navigation.h>
|
||||
#include <uORB/uORB.h>
|
||||
#include <uORB/topics/mission.h>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
#include <dataman/dataman.h>
|
||||
#include <systemlib/mavlink_log.h>
|
||||
#include <systemlib/err.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <navigator/navigation.h>
|
||||
#include <uORB/uORB.h>
|
||||
#include <uORB/topics/mission.h>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <math.h>
|
||||
#include <float.h>
|
||||
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <systemlib/mavlink_log.h>
|
||||
#include <mathlib/mathlib.h>
|
||||
#include <uORB/uORB.h>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include "navigator.h"
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <lib/landing_slope/Landingslope.hpp>
|
||||
#include <systemlib/mavlink_log.h>
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
#include <dataman/dataman.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <px4_platform_common/px4_config.h>
|
||||
#include <px4_platform_common/defines.h>
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <matrix/math.hpp>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <px4_platform_common/module_params.h>
|
||||
#include <uORB/Subscription.hpp>
|
||||
#include <uORB/topics/landing_target_pose.h>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#include <dataman/dataman.h>
|
||||
#include <px4_platform_common/events.h>
|
||||
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
|
||||
|
||||
static constexpr float DELAY_SIGMA = 0.01f;
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
#include <uORB/topics/vehicle_status.h>
|
||||
#include <uORB/topics/wind.h>
|
||||
#include <matrix/math.hpp>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
|
||||
class Navigator;
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
|
||||
#include "RoverPositionControl.hpp"
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
|
||||
#define ACTUATOR_PUBLISH_PERIOD_MS 4
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include <float.h>
|
||||
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/l1/ECL_L1_Pos_Controller.hpp>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <lib/perf/perf_counter.h>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include "VehicleAirData.hpp"
|
||||
|
||||
#include <px4_platform_common/log.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
|
||||
namespace sensors
|
||||
{
|
||||
|
||||
@@ -37,6 +37,10 @@ px4_add_library(vehicle_gps_position
|
||||
gps_blending.cpp
|
||||
gps_blending.hpp
|
||||
)
|
||||
target_link_libraries(vehicle_gps_position PRIVATE ecl_geo px4_work_queue)
|
||||
target_link_libraries(vehicle_gps_position
|
||||
PRIVATE
|
||||
geo
|
||||
px4_work_queue
|
||||
)
|
||||
|
||||
px4_add_functional_gtest(SRC gps_blending_test.cpp LINKLIBS vehicle_gps_position ecl_geo)
|
||||
px4_add_functional_gtest(SRC gps_blending_test.cpp LINKLIBS vehicle_gps_position)
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include "VehicleGPSPosition.hpp"
|
||||
|
||||
#include <px4_platform_common/log.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
|
||||
namespace sensors
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#include <uORB/topics/sensor_gps.h>
|
||||
|
||||
#include <float.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
|
||||
using matrix::Vector2f;
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include "VehicleMagnetometer.hpp"
|
||||
|
||||
#include <px4_platform_common/log.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
|
||||
namespace sensors
|
||||
{
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#include "voted_sensors_update.h"
|
||||
|
||||
#include <lib/sensor_calibration/Utilities.hpp>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/systemlib/mavlink_log.h>
|
||||
#include <uORB/Subscription.hpp>
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
#include <matrix/matrix/math.hpp> // matrix, vectors, dcm, quaterions
|
||||
#include <conversion/rotation.h> // math::radians,
|
||||
#include <lib/ecl/geo/geo.h> // to get the physical constants
|
||||
#include <lib/geo/geo.h> // to get the physical constants
|
||||
#include <drivers/drv_hrt.h> // to get the real time
|
||||
#include <lib/drivers/accelerometer/PX4Accelerometer.hpp>
|
||||
#include <lib/drivers/barometer/PX4Barometer.hpp>
|
||||
|
||||
@@ -67,7 +67,7 @@ px4_add_module(
|
||||
DEPENDS
|
||||
git_mavlink_v2
|
||||
conversion
|
||||
ecl_geo
|
||||
geo
|
||||
drivers_accelerometer
|
||||
drivers_barometer
|
||||
drivers_gyroscope
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
#include <lib/drivers/barometer/PX4Barometer.hpp>
|
||||
#include <lib/drivers/gyroscope/PX4Gyroscope.hpp>
|
||||
#include <lib/drivers/magnetometer/PX4Magnetometer.hpp>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/perf/perf_counter.h>
|
||||
#include <px4_platform_common/atomic.h>
|
||||
#include <px4_platform_common/bitmask.h>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#include <px4_platform_common/log.h>
|
||||
#include <px4_platform_common/time.h>
|
||||
#include <px4_platform_common/tasks.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <drivers/device/Device.hpp>
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <conversion/rotation.h>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <float.h>
|
||||
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <lib/perf/perf_counter.h>
|
||||
#include <lib/pid/pid.h>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#include <float.h>
|
||||
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <lib/perf/perf_counter.h>
|
||||
#include <lib/pid/pid.h>
|
||||
|
||||
@@ -44,6 +44,6 @@ px4_add_module(
|
||||
output_rc.cpp
|
||||
vmount.cpp
|
||||
DEPENDS
|
||||
ecl_geo
|
||||
geo
|
||||
)
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
#include <uORB/topics/vehicle_command.h>
|
||||
#include <uORB/topics/vehicle_roi.h>
|
||||
#include <uORB/topics/vehicle_global_position.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
|
||||
|
||||
namespace vmount
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <uORB/topics/vehicle_global_position.h>
|
||||
#include <uORB/topics/mount_orientation.h>
|
||||
#include <px4_platform_common/defines.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <math.h>
|
||||
#include <mathlib/mathlib.h>
|
||||
#include <matrix/math.hpp>
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
#include "common.h"
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <uORB/Publication.hpp>
|
||||
#include <uORB/Subscription.hpp>
|
||||
#include <uORB/topics/mount_orientation.h>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <lib/parameters/param.h>
|
||||
#include <lib/perf/perf_counter.h>
|
||||
|
||||
Reference in New Issue
Block a user