Peter Barker
42383dd6f2
ArduSub: stop libraries including AP_Logger.h in .h files
...
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h
This necessitated moving The PID_Info structure out of AP_Logger's
namespace. This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!
There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
2022-04-08 19:18:38 +10:00
Peter Barker
07b299997d
ArduSub: split AP_HAL_SITL and HAL_SIM_ENABLED
2022-03-17 14:39:55 +11:00
murata
e52931c692
Sub: Change the process for errors
2022-03-08 14:36:19 -08:00
Shiv Tyagi
8fe9a8e9f6
Sub: change circle_nav.set_radius to circle_nav.set_radius_cm
2022-03-01 09:31:10 +09:00
Peter Barker
0a9481a557
ArduSub: include cleanups
2022-03-01 11:21:33 +11:00
Peter Barker
c33590a63b
ArduSub: add RebootRequred to stream rate parameters
2022-03-01 11:01:12 +11:00
Peter Barker
bbc040d807
ArduSub: send deprecated message warning for MAVLINK_MSG_ID_SET_HOME_POSITION
2022-02-10 12:13:43 +11:00
Joshua Henderson
fc5ecfcafd
Sub: remove position_vector.cpp
2022-02-08 12:14:10 +11:00
Joshua Henderson
2836ec4ae0
Sub: SET_POSITION_TARGET_LOCAL_NED above origin
2022-02-08 12:14:10 +11:00
Peter Barker
ac6842b0ac
ArduSub: stop passing mission in Terrain constructor
...
Terrain can use the mission singleton
This means Copter can have terrain while compiling mission out
2022-02-08 11:20:20 +11:00
Peter Barker
abbbfc0e85
ArduSub: move logging of LogEvent::SET_HOME up
2022-02-08 11:04:26 +11:00
Peter Barker
2372a4f3b6
ArduSub: provide default implemenation of handle_change_alt_request
...
The TODO items to actually implement these are almost 6 years old.
Since then these methods have been burning space.
This doesn't even make sense for several vehicles, so a default
implementation which does nothing seems OK.
2022-02-08 10:59:13 +11:00
murata
a7108ed136
Sub: Remove meaningless semicolons
2022-02-07 08:27:34 +09:00
Peter Barker
b2fdd39c06
Sub: mark use of get_velocity_NED as UNUSED_RESULT
...
velocity will stay at zero, which seems a reasonable thing to continue
with in this function
2022-02-02 19:32:47 +11:00
Shiv Tyagi
036a1b0d20
Sub: rename GUID to GUIP
...
We have introduced separate logging for guided and attitude targets in guided mode in copter. This is to make it consistent with those changes
2022-01-26 21:36:48 +09:00
Peter Barker
a25e4f82cc
ArduSub: move logging of SIMSTATE, AHRS2 and POS into AP_AHRS library
2022-01-25 10:59:17 +11:00
Peter Barker
4640ef9a66
ArduSub: rename AP_AHRS::get_position to get_location
2022-01-25 10:47:22 +11:00
Joshua Henderson
a765bb048d
Sub: move Airspeed to AP_Vehicle
2022-01-19 18:21:32 +11:00
Iampete1
834ec4cea2
Sub: move motbatt logging into AP_Motors
2022-01-18 10:18:10 +11:00
Jaaaky
132baa1ad0
ArduSub: Fix build with RPM_ENABLED
2022-01-15 08:30:51 +09:00
Peter Barker
9b60443fa4
ArduSub: move RPM sensor logging into AP_RPM
2022-01-11 11:09:26 +11:00
Peter Barker
7a9a701c63
ArduSub: move INS notch filter logging into INS
2022-01-05 16:34:36 +11:00
Peter Barker
c19b5d9e3c
ArduSub: make vehicles write notch log messages
2022-01-05 16:34:36 +11:00
Peter Barker
f637facea2
Sub: create and use AP_OPTICALFLOW_ENABLED
2021-12-29 18:12:03 +11:00
Peter Barker
79536ca2e5
ArduSub: adjust for rename of OpticalFlow.cpp
2021-12-28 10:16:20 +11:00
Peter Barker
7dadc9f050
ArduSub: tidy log message id definitions
...
Add a comment indicating only 20 ids are available to the vehicle
2021-12-21 10:42:18 +11:00
Gone4Dirt
33ed08d07e
Sub: Make RPM log independant of RC log mask
2021-12-16 12:48:48 +11:00
Andrew Tridgell
3d2ecfe3c5
ArduSub: revert compass parameter changes
2021-12-04 16:51:53 +11:00
Shiv Tyagi
339a07b8d3
AP_Devo_Telem: compile out devo telemetry
...
Devo telemetry is one of the most rarely used features (almost never used since added) we should compile it out from our code
2021-12-01 19:16:44 +11:00
Iampete1
b608b82041
Sub: remove compass params underscore
2021-11-30 08:14:43 +09:00
Josh Henderson
bdac4a2416
Sub: INAV rename for neu & cm/cms
2021-11-30 10:08:07 +11:00
Josh Henderson
17243b5630
Sub: inav use _xy()
2021-11-30 10:08:07 +11:00
Josh Henderson
5391262900
ArduSub: get_bearing & get_horizontal_distance use Vector2f
2021-11-30 10:08:07 +11:00
Peter Barker
b7eec83f52
ArduSub: remove unused GUIDED_LOOK_AT_TARGET_MIN_DISTANCE_CM define
2021-11-29 15:09:00 +11:00
Peter Barker
422bb3cfbb
ArduSub: allow specification of Scheduler table priorities
2021-11-17 19:00:04 +11:00
Peter Barker
bc39b8d74c
ArduSub: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
2021-11-15 20:27:40 +11:00
Peter Barker
9bc9179d8d
ArduSub: ensure ENABLE_SCRIPTING is always defined
2021-11-15 20:27:40 +11:00
Peter Barker
1c544702d2
ArduSub: handle renaming of AP_InertialNav_NavEKF to AP_InertialNav
2021-10-20 18:09:36 +11:00
Peter Barker
4c1c0e591f
ArduSub: move SITL object up to AP_Vehicle
2021-10-19 11:34:43 +11:00
Iampete1
b7db7f8cac
Sub: convert to PWM min and max in AP_Motors
2021-10-11 22:19:17 -04:00
Iampete1
44c5153df8
Sub: update_throttle_range don't set_throttle_range
2021-10-11 22:19:17 -04:00
Willian Galvani
0adc4562ad
Sub: add exception for linux boards when setting BARO_EXT_BUS
2021-10-11 17:57:52 -03:00
Willian Galvani
d5ec5f1dfc
Sub: Motor-test: change disarm method on motor test timeout
2021-10-11 17:56:06 -03:00
Peter Barker
f3e5e9463b
Sub: stop passing current_loc into AP_Camera
2021-09-29 18:33:01 +10:00
Josh Henderson
69997626d3
Sub: modes keep controllers initialized when disarmed
2021-09-28 17:03:16 +10:00
Iampete1
adb58a9b60
Sub: fix RC init order to avoid error message
2021-09-21 17:49:47 +10:00
Iampete1
7e1eb970bc
Sub: convert to new ARMDISARM
2021-09-21 09:36:24 +10:00
Andrew Tridgell
dbe0bef58b
Sub: moved accel cal update to vehicle code
2021-09-17 14:07:14 +10:00
Josh Henderson
d6d9577f27
Sub: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Leonard Hall
f3dc47ce3d
Copter: Add units to the AC_AttitudeControl Library
2021-09-09 08:01:14 +09:00