jackhong12
4a4f361a17
all: use CLASS_NO_COPY() macro
2022-10-04 11:23:04 +11:00
Peter Barker
82ddfc2a52
ArduSub: add AP_GRIPPER_ENABLED
2022-10-04 10:58:34 +11:00
Willian Galvani
232083c4d2
Sub: update baro calibration even if armed
...
This is harmless and prevents a "bounce-back" effect when the depth
is badly calibrated. This can happen when rebooting the vehicle underwater
without a proper depth calibration.
2022-09-28 10:19:38 -03:00
Peter Barker
365d2ef3ff
ArduSub: add missing include
2022-09-28 20:10:21 +10:00
Peter Barker
7546530050
ArduSub: correct compilation with rally disabled
2022-09-27 10:16:47 +10:00
Peter Barker
9b5d70f7b5
ArduSub: add and use AP_CAMERA_ENABLED
2022-09-21 11:58:38 +10:00
Peter Barker
48308b8156
ArduSub: add and use AP_RPM_ENABLED
2022-09-20 09:28:27 +10:00
Willian Galvani
830c1a4a3e
Sub: stop position control when in velocity mode
2022-09-15 11:06:23 -03:00
Michael du Breuil
e5a6e1133f
Sub: Don't send HWSTATUS by default
2022-09-13 14:27:06 +10:00
Randy Mackay
d5c87d87cf
Sub: integrate MNT1_ param rename
2022-09-06 13:53:25 +09:00
Randy Mackay
ff382d8f7c
Sub: default RC7 and 8 to gimbal yaw and pitch control
2022-09-06 13:53:25 +09:00
Andrew Tridgell
b3e4306b70
Sub: removed use of "blended" earth frame accel
2022-08-21 18:51:59 +10:00
Peter Barker
2cb5a0cc26
ArduSub: rename OpticalFlow class to AP_OpticalFlow
...
Brings us in-line with other classes in ArduPilot.
Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Randy Mackay
796b39e908
Sub: replace send-mount-status with send-gimbal-device-attitude-status
2022-08-15 20:29:25 -04:00
Peter Barker
9576075800
ArduSub: move call to compass cal update up to AP_Vehicle
2022-08-16 10:06:44 +10:00
Iampete1
ed094ffc6b
ArduSub: params always use set method
2022-08-03 13:43:48 +01:00
Iampete1
cf1e1b2969
ArduSub: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
2d8b9f7cbe
Sub: Fence moved to vehicle
2022-07-27 19:04:56 +10:00
Iampete1
8960fce4dc
Sub: set defualt format version
2022-07-20 17:59:59 +10:00
Iampete1
720117298d
Sub: stop using custom pos controller
2022-07-05 16:00:03 -03:00
Randy Mackay
d0c489a0be
Sub: calls to mount.set_angle_target set earth-frame or body-frame
...
this is a non-functional change
2022-06-29 10:56:48 +09:00
Peter Barker
c672301df3
ArduSub: adjust for when LTM telemetry is disabled
2022-06-28 20:19:41 +10:00
Randy Mackay
5add147c8d
Sub: set param default for MNT_RC_RATE to 30deg/s
2022-06-21 13:37:11 +09:00
Peter Barker
ac4d8404bb
Sub: let AHRS update orientation in its own time
2022-06-12 17:32:11 +10:00
Randy Mackay
b0b6d35a5a
Sub: remove unused MSG_GIMBAL_REPORT
2022-06-07 09:27:47 +10:00
GH6947
9304fa0f52
Sub: roll pitch comments
...
In ArduSub modes Auto & Guided, direct (not translated to forward/lateral) Roll and Pitch values come from the RC channels, not from wp controller. The existing comments are leftovers from ArduCopter
2022-05-26 10:09:23 +09:00
murata
047b2d5578
Sub: Clarify that the target_yaw_rate variable is set
2022-05-20 11:21:22 +09:00
Peter Barker
317457ec1a
ArduSub: support *10 multipler when storing/retrieving radius in NAV_LOITER_TURNS
2022-05-11 17:40:35 +10:00
Peter Barker
8a9a856de8
ArduSub: move logging of compass ERR flags into AP_Compass
2022-05-10 19:46:40 +10:00
Peter Barker
1764dce39e
ArduSub: remove handling of MAVLINK_MSG_ID_SET_HOME_POSITION
...
We decided to remove this after 4.2 was out in favour of
MAV_CMD_DO_SET_HOME which has been available since 2015.
The gcs-maintainers list was notified in Feburary.
2022-05-10 09:46:22 +10:00
ES-Alexander
21cd4f1976
sub: GCS_Mavlink: fix depth hold typemask bug
2022-05-05 17:22:05 -03:00
Peter Barker
5a4963e4f8
ArduSub: move error logging of sensor health into AP_Baro
2022-05-03 17:38:09 +10:00
Andy Piper
0b754aeba8
Sub: move fast_loop into scheduler tasks
2022-05-03 08:20:13 +09:00
Peter Barker
785615de2f
ArduSub: tidy includes
2022-05-03 09:14:58 +10:00
Tatsuya Yamaguchi
32a39055db
Sub: wscript: remove duplicated AP_RCMapper
2022-04-28 08:32:34 +09:00
Willian Galvani
cd9cc1419b
Sub: Improve althold to handle small inputs with payload/buyoancy better
2022-04-13 16:23:55 -03:00
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