Rajat Singhal
6a075b2556
SITL: Fixes, improvements to Airsim multi-vehicle script
...
1. Kill all running Copter binaries while exiting
2. Set default GCS IP address
3. Fix mcast ip address for different platforms
4. Set variable for number of vehicles
2019-12-05 08:06:20 +08:00
Peter Barker
b0ea662c9b
AP_Mission: consider _INT frames equivalent to non _INT variants
...
AP_Mission: consider TERRAIN_ALT_INT equivalent to TERRAIN_ALT
AP_Mission: consider RELATIVE_ALT_INT equivalent to RELATIVE_ALT
AP_Mission: consider GLOBAL_INT equivalent to GLOBAL
2019-12-05 08:03:33 +08:00
Peter Barker
e5521ce6c4
autotest: add frame tests for upload/download waypoint missions
2019-12-05 08:03:33 +08:00
Peter Barker
5e4162b997
autotest: unload MAVProxy module log after use
2019-12-04 16:08:15 +11:00
Peter Barker
60a2b8a8b1
autotest: diversify Tracker SERVOTEST mode test
2019-12-04 14:52:56 +11:00
Peter Barker
21f7b2fe4f
Tracker: consolidate camera dummy functions into system.cpp
2019-12-04 14:49:00 +11:00
Peter Barker
160621d0be
autotest: correct MANUAL test
...
Wasn't picking up that subsequent channels were acting just like the
first
2019-12-04 13:38:32 +11:00
Peter Barker
1d6d78c0d4
Tracker: initialise RC library
...
Without this MANUAL mode is broken as all RC_Channel objects use the
first RC input channel.
2019-12-04 13:38:32 +11:00
Willian Galvani
acfe02dbf0
Sub: set cam mount to 0,0,0 and RC mode after initialization
2019-12-03 10:59:46 -05:00
Willian Galvani
c509b1caa2
Sub: Accept position_target_global_int for depth control in ALT_HOLD
2019-12-03 10:57:47 -05:00
Willian Galvani
06e71b061a
SITL: Sub: add square curve model to thruster
2019-12-03 10:55:08 -05:00
Willian Galvani
2e9bd43c49
Sub: rate-limit init_motor_test() calls
2019-12-03 10:50:38 -05:00
Peter Barker
47f9defe3f
Tracker: clean up mode.cpp
2019-12-03 22:01:12 +11:00
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