Commit Graph

40484 Commits

Author SHA1 Message Date
Michael du Breuil 1c3287160e AP_Scripting: Simplify the LED_roll example 2019-12-06 08:03:26 +08:00
Andrew Tridgell 6efbc484fd AP_GPS: cope with UAVCAN GPS that don't provide Aux message
thanks to @VadimZ for the suggestion
2019-12-05 15:48:51 -07:00
Michael du Breuil 9fe2c02079 AP_Scripting: Don't restart scripts if it panic'd during the initial VM creation 2019-12-05 15:08:43 -07:00
Peter Barker cff648caf6 AP_Proximity: remove unused AP_AHRS.h include 2019-12-05 22:41:49 +11:00
Peter Barker 96b9c8f59a autotest: wait a long time for RC to restart after restarting SITL binary
May help fix the "no RC" failures we're seeing in CI
2019-12-05 22:41:30 +11:00
Peter Barker 880af0de4a AP_Compass: tidy constructor 2019-12-05 17:38:57 +11:00
Peter Barker 823f2bb217 AP_Compass: make compass_cal_status_t enum class Status within CompassCalibrator 2019-12-05 17:38:57 +11:00
Peter Barker 9c17fdb851 AP_Logger: use enum class for transfer activity
These weren't great symbols to create...
2019-12-05 16:42:48 +11:00
Peter Barker 8785cc26e8 AP_Proximity: make Status enum class 2019-12-05 16:05:07 +11:00
Peter Barker b3f87768e2 AP_Arming: tpyo fix in parameter documentation 2019-12-05 12:17:06 +08:00
Andrew Tridgell dd4ec08ec8 Tools: removed old wordpress update of params 2019-12-05 14:29:58 +11:00
Peter Barker 526adee814 Sub: move setting of GPS SYS_STATUS bits up to base class 2019-12-05 13:02:19 +11:00
Peter Barker 3547e74991 Plane: move setting of GPS SYS_STATUS bits up to base class 2019-12-05 13:02:19 +11:00
Peter Barker d63788a09f Copter: move setting of GPS SYS_STATUS bits up to base class 2019-12-05 13:02:19 +11:00
Peter Barker da184ffdaf Tracker: move setting of GPS SYS_STATUS bits up to base class 2019-12-05 13:02:19 +11:00
Peter Barker 49f26f08e1 Rover: move setting of GPS SYS_STATUS bits up to base class 2019-12-05 13:02:19 +11:00
Peter Barker b48da34c61 GCS_MAVLink: move setting of GPS SYS_STATUS bits up to base class 2019-12-05 13:02:19 +11:00
Leonard Hall 7d062e3767 Copter: System ID mode: Add tuning option parameter discription 2019-12-05 09:21:00 +08:00
Rajat Singhal a1e1558709 SITL: Test launch file for ROS multi-vehicle sim 2019-12-05 08:06:42 +08:00
Rajat Singhal 241d406ef3 SITL: Example script for ROS multi-vehicle with Airsim 2019-12-05 08:06:42 +08:00
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