Commit Graph

40401 Commits

Author SHA1 Message Date
Peter Barker
1e451e8165 Tracker: move update_scan into mode.cpp
Consolidating Mode:: methods in mode.cpp
2019-12-03 22:01:12 +11:00
Peter Barker
f3d3f01e76 Tracker: rename control_auto.cpp to mode.cpp
Turns out all of the functions in here are in the Mode:: namespace...
2019-12-03 22:01:12 +11:00
Peter Barker
2b8628d6bb Tracker: remove empty mode.cpp 2019-12-03 22:01:12 +11:00
Peter Barker
8b302a4975 Tracker: rename mode files to be consistent with other vehicles 2019-12-03 22:01:12 +11:00
Andrew Tridgell
0dd6415052 AP_Stats: added semaphore to flttime update
fixes #12948
2019-12-03 21:04:48 +11:00
Andrew Tridgell
303030c524 AP_Compass: narrow range of allowed scale factor 2019-12-03 20:48:23 +11:00
Andrew Tridgell
a56af8d8d0 mavlink: submodule update
added calibration scale factor
2019-12-03 20:48:23 +11:00
Andrew Tridgell
421fbef2a0 AP_Compass: added COMPASS_OPTIONS
this allows user to set that calibration requires GPS lock
2019-12-03 20:48:23 +11:00
Andrew Tridgell
c6aad9b1ec AP_NavEKF3: don't use WMM tables unless we have a compass scale factor set 2019-12-03 20:48:23 +11:00
Andrew Tridgell
fce4d6952f AP_NavEKF2: don't use WMM tables unless we have a compass scale factor set 2019-12-03 20:48:23 +11:00
Andrew Tridgell
6fd0ca36aa AP_Compass: added estimation of compass scale factor
this adds new COMPASS_SCALE, COMPASS_SCALE2 and COMPASS_SCALE3
parameters, which give the sensor scaling factor. It is used to
compensate for an incorrect scaling in a compass.

The 3D compass calibration process will set the correct value
automatically, otherwise users can set the value to a known value for
an existing compass
2019-12-03 20:48:23 +11:00
Andrew Tridgell
7b203f6816 SITL: added SIM_MAG_SCALING for testing scale factor errors 2019-12-03 20:48:23 +11:00
Randy Mackay
54582814aa Copter: use SID_AXIS to hide other SystemID mode params 2019-12-03 14:53:55 +08:00
Willian Galvani
741c467f03 Sub: do not initialize rc channels 6 and higher 2019-12-03 13:13:28 +08:00
Randy Mackay
e12e0d95ae AP_RangeFinder: remove param conversion for 3rd and 4th
3rd and 4th instances were not available to users unless they used their own builds which is rare
this reduces the firmware's flash size a small amount
2019-12-03 13:06:10 +08:00
Randy Mackay
1b84c8132e AP_RangeFinder: param conversion fix
This resolves an issue with the parameter conversion when moving from Copter-3.6.x to 4.0 (and similar moves for other vehicle types)
2019-12-03 13:06:10 +08:00
Randy Mackay
952517cb40 Sub: scripting init sends failure message 2019-12-03 12:48:32 +08:00
Randy Mackay
b3928d3eee Plane: scripting init sends failure message 2019-12-03 12:48:32 +08:00
Randy Mackay
36fdad4e61 Copter: scripting init sends failure message 2019-12-03 12:48:32 +08:00
Randy Mackay
0dcf802ea9 Rover: scripting init sends failure message 2019-12-03 12:48:32 +08:00
Randy Mackay
3502f5d449 Tracker: scripting init sends failure message 2019-12-03 12:48:32 +08:00
Randy Mackay
c78112564c AP_Scripting: init sends failure message 2019-12-03 12:48:32 +08:00
Randy Mackay
356ece6682 AP_Arming: add pre-arm system check that scripting init succeeded 2019-12-03 12:48:32 +08:00
Randy Mackay
09d75cff3b AP_Scripting: add init failure check 2019-12-03 12:48:32 +08:00
Randy Mackay
2c3beb0f91 Copter: add mandatory gps checks 2019-12-03 08:06:39 +08:00
Randy Mackay
4bcf66481f AP_Arming: add mandatory_checks
These are checks that can never be bypassed
2019-12-03 08:06:39 +08:00
Peter Barker
2296448027 Copter: make private enum class for LAND mode's state 2019-12-03 07:38:22 +08:00
Peter Barker
fecca9a559 autotest: add tests for serial RangeFinder drivers 2019-12-03 09:07:09 +11:00
Willian Galvani
678fd8de1d AC_PosControl_Sub: do not reset accel_z integrator when relaxing
Doing so caused the ROV to dive and slowly go back to the altitude
setpoint
2019-12-02 13:26:27 -05:00
Peter Barker
341757b254 autotest: add test Tracker for SERVOTEST mode 2019-12-02 20:06:04 +11:00
Peter Barker
a58813c828 Copter: precland: don't use altitude from bad location 2019-12-02 16:13:49 +08:00
Peter Barker
d332118b05 SITL: increase Wasp reading frequency
The driver requires a reading each time it is called (20Hz)
2019-12-02 19:07:03 +11:00
Peter Barker
f480df228b AP_HAL_SITL: set cloexec on eeprom.bin 2019-12-02 19:06:34 +11:00
Peter Barker
0d527aa313 autotest: add test for tracker manual mode 2019-12-02 12:24:10 +11:00
Peter Barker
2dacafe0f3 AP_Landing: emit DEPLOY gcs text only if not already deployed 2019-12-02 07:28:53 +08:00
Peter Barker
71017cb288 Plane: vehicle parent class now instantiates AHRS 2019-12-02 09:16:22 +11:00
Peter Barker
62869b5be8 Copter: vehicle parent class now instantiates AHRS 2019-12-02 09:16:22 +11:00
Peter Barker
d5b970bd18 Sub: vehicle parent class now instantiates AHRS 2019-12-02 09:16:22 +11:00
Peter Barker
16103f08d8 Tracker: vehicle parent class now instantiates AHRS 2019-12-02 09:16:22 +11:00
Peter Barker
89de713bb7 Rover: vehicle parent class now instantiates AHRS 2019-12-02 09:16:22 +11:00
Peter Barker
ebd2b1d544 AP_Vehicle: instantiate the AHRS object 2019-12-02 09:16:22 +11:00
Peter Barker
d3ede184cf AP_AHRS: force the use of EKF for Copter and Sub 2019-12-02 09:16:22 +11:00
Andrew Tridgell
19cea4d7b7 mavlink: update submodule 2019-12-01 12:48:23 +11:00
Andrew Tridgell
1eebae2346 GCS_MAVLink: use new SERIAL_CONTROL_SERIALn enums 2019-12-01 12:48:23 +11:00
Andy Piper
763089addb AP_InertialSensor: slight improvement to LOG_BAT_OPT docs. 2019-12-01 12:19:46 +11:00
Andy Piper
abb7041c22 Tools: only enable -Wno-format-contains-nul if not clang 2019-12-01 10:27:51 +11:00
Peter Barker
a955897b89 Tools: install-prereqs-ubuntu: add not-run-as-root sanity check
Running as root leaves all sorts of things with nasty permissions
2019-12-01 10:26:10 +11:00
Randy Mackay
ef5a2cc470 AP_NMEA_Output: 10hz rate limiting uses uint32_t 2019-11-29 12:28:51 +08:00
Josh Veitch-Michaelis
bcbcef5d5c Tools: install ardupilot deps as non-root in Dockerfix for https://github.com/ArduPilot/ardupilot/issues/12513 2019-11-29 15:12:10 +11:00
Peter Barker
46d0425fcf AP_NMEA_Output: correct 10Hz rate limiting
integer promotion issue
2019-11-29 11:53:45 +11:00