Commit Graph

50238 Commits

Author SHA1 Message Date
Peter Barker
e158bab893 AP_Beacon: tidy constructors 2021-10-23 10:10:28 +11:00
Peter Barker
cf9bbb570c AP_HAL_SITL: correct nullptr check on simulated mavlink rangefinder
Obvious copy/paste error
2021-10-22 21:46:01 +11:00
Sebastian Quilter
2f56ac45ab Rover: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Sebastian Quilter
013de11916 ArduPlane: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Sebastian Quilter
0276c165ed GCS_MAVLink: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Sebastian Quilter
0f7c3e3964 AP_RangeFinder: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Sebastian Quilter
1fb1eb793f AP_Proximity: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Sebastian Quilter
c8434fe1ed AP_OSD: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Peter Barker
7da5d9861a SITL: remove use of fprintf in SIM_SPI 2021-10-21 13:04:33 +11:00
Peter Barker
8c60bfc1c3 SITL: correct format string in SIM_IntelligentEnergy24 2021-10-21 13:01:49 +11:00
Peter Barker
754192ff26 autotest: improve gps-for-yaw test
There are flag values in the mavlink definitions for this message, so
make sure we get something approaching the right number.
2021-10-21 12:09:21 +11:00
Peter Barker
5cf62e8fb3 autotest: tweak soaring test SOAR_VSPEED
This is right on the edge on master
2021-10-21 12:09:21 +11:00
Peter Barker
b9a4902aa6 autotest: let system settle before annoying
Also fly in circles to avoid long flight home
2021-10-21 12:09:21 +11:00
Peter Barker
fda0d16475 autotest: correct loiter-requires-position test for new SIM_GPS simulation
sitl_gps was sending out ubx packets even if the device was supposed to
be absent, allowing the EKF to get a lag and thus allocate its buffers.

The new sim doesn't do that, so we do need to direct the EKF to not use
the GPS.
2021-10-21 12:09:21 +11:00
Peter Barker
06c3290e15 SITL: correct buffer over-read in GPS lag simulation 2021-10-21 12:09:21 +11:00
Peter Barker
6c16da21c5 SITL: make simulated GPS work as a SerialDevice 2021-10-21 12:09:21 +11:00
Peter Barker
1ab8a3e3aa AP_HAL_SITL: make simulated GPS work as a SerialDevice 2021-10-21 12:09:21 +11:00
Peter Barker
99e80549b1 SITL: move sitl_gps.cpp to SIM_GPS.cpp 2021-10-21 12:09:21 +11:00
Peter Barker
e88cd8498b AP_GPS: add note about GPS_LEAPSECONDS_MILLIS being copied 2021-10-21 12:09:21 +11:00
Peter Barker
99126d3cc7 autotest: add autotest for getting yaw from moving-baseline GPS setup 2021-10-21 08:34:36 +11:00
Peter Barker
2f90abd7ea autotest: raise an exception in the case we don't load a parameters file 2021-10-21 08:34:36 +11:00
Peter Barker
d7ef63deaf GCS_MAVLink: use USB VID and PID in AUTOPILOT_VERSION mavlink msg 2021-10-20 22:47:03 +11:00
Randy Mackay
6738bf9edd Rover: remove <startup_ground> message
also remove GROUND_START_DELAY definition
2021-10-20 06:12:43 -04:00
Randy Mackay
9d030e9424 Rover: PILOT_STEER_TYPE param desc fix 2021-10-20 06:10:56 -04:00
Stephen Dade
1356beb14d AP_HAL_SITL: Add instance to ADSB simulation 2021-10-20 20:21:33 +11:00
Stephen Dade
016edd28fc SITL: Add instance to ADSB simulation 2021-10-20 20:21:33 +11:00
Randy Mackay
85dbb70df5 AP_RangeFinder_NMEA: add hondex custom message support 2021-10-20 19:46:21 +11:00
Peter Barker
2bffaef9ca AP_Arming: log whether disarm was forced 2021-10-20 19:45:58 +11:00
Peter Barker
8ffbddd6ec SITL: correct compilation when MAX_CONNECTED_MAGS is reduced
For example, when building AP_Periph with reduced mag count
2021-10-20 19:43:47 +11:00
Peter Barker
2d192e1fd3 SITL: remove written-only AP::sitl().update_rate_hz 2021-10-20 19:07:17 +11:00
Peter Barker
21030c4e83 AP_HAL_SITL: remove written-only AP::sitl().update_rate_hz 2021-10-20 19:07:17 +11:00
Andrew Tridgell
822e657a70 HAL_ChibiOS: increase PROCESS_STACK on several boards
use min of 0xA00 for AP_Periph. A larger stack is needed for parameter
fetching
2021-10-20 19:06:35 +11:00
Andrew Tridgell
bebb722d02 waf: improve error messages for lack of dsdlc and empy 2021-10-20 19:05:01 +11:00
Peter Barker
8f431c183a waf: correct capture of stdout/stderr in subprocess call 2021-10-20 19:03:47 +11:00
Iampete1
84db897b7f AC_Avoidance: Dijkstra: convert Vector3f to curly brace init 2021-10-20 03:45:40 -04:00
Iampete1
8937802f77 AC_Avoidance: Dijkstra: don't consider points in corners 2021-10-20 03:45:40 -04:00
Iampete1
ae9300134a AC_Avoidance: add option to log vis graph 2021-10-20 03:45:40 -04:00
Iampete1
05e01fb603 AP_Scripting: docs: update GCS 2021-10-20 18:35:09 +11:00
Iampete1
05219ca5c4 GCS_Common: return true result for scripting set_message_interval 2021-10-20 18:35:09 +11:00
Iampete1
1af244e5bc AP_Scripting: maunaly update GPIO docs as example 2021-10-20 18:35:09 +11:00
Iampete1
6dd9ffc334 AP_Scripting: auto generate docs 2021-10-20 18:35:09 +11:00
Iampete1
a70134ba38 AP_Scripting: generator: ouput Emmylua docs 2021-10-20 18:35:09 +11:00
Iampete1
a5a3b413df AP_Scripting: wscript: support docs option 2021-10-20 18:35:09 +11:00
Iampete1
66272aee61 wscript: add scripting docs option 2021-10-20 18:35:09 +11:00
Iampete1
b595beab10 AP_Motors: set ouput scaled with float 2021-10-20 18:29:58 +11:00
Iampete1
73e9c9bb43 Plane: quadplane: forward throttle reutrn float 2021-10-20 18:29:58 +11:00
Iampete1
2f93c1f9e4 Plane: stabilizer roll and pitch to floats 2021-10-20 18:29:58 +11:00
Iampete1
b31ce6734a Plane: get throttle input return float 2021-10-20 18:29:58 +11:00
Iampete1
2f4661c52f Plane: use float for set/get output scaled 2021-10-20 18:29:58 +11:00
Iampete1
a590a675d6 AP_RollController: return floats 2021-10-20 18:29:58 +11:00