Commit Graph

18553 Commits

Author SHA1 Message Date
Pierre Kancir
340429fbbb AP_NavEKF3: pass by const reference when needed 2018-12-20 09:05:01 +09:00
Pierre Kancir
49d20364cb AP_NavEKF2: pass quaternion by const reference 2018-12-20 09:05:01 +09:00
Peter Barker
3d08d02a66 AP_HAL_SITL: reorder setting SO_REUSEADDR and binding rc in port
This stops things failing on cygwin, and may explain rebind failures we
see in SITL.
2018-12-19 16:03:08 +00:00
Peter Barker
aa7844e4a7 GCS_MAVLink: split SIMSTATE, AHRS2 and AHRS3 onto their own ap_message ids 2018-12-19 13:19:23 +11:00
Peter Barker
979e5261d5 GCS_MAVLink: remove unused method 2018-12-19 10:55:38 +09:00
Peter Barker
77be393ad4 GCS_MAVLink: split DISTANCE_SENSOR onto its own ap_message id 2018-12-19 07:24:37 +11:00
Peter Barker
61e048a41b GCS_MAVLink: tidy queued_param_send a little 2018-12-18 21:51:31 +11:00
Andrew Tridgell
6d4e886bc9 AC_AutoTune: moved axes_completed init
thanks Randy
2018-12-18 18:56:10 +09:00
Andrew Tridgell
2277f70456 AC_AutoTune: allow save of completed axes
this allows you to stop the tune by disarming part way through and
save the completed axes
2018-12-18 18:56:10 +09:00
Pierre Kancir
a5e5ee73eb AP_HAL_SITL: correct battery setup for rover 2018-12-18 14:36:32 +09:00
Peter Barker
f8863971a2 GCS_MAVLink: move try_send_message telemetry_delayed call up to caller 2018-12-18 14:25:56 +11:00
Peter Barker
039ade421e GCS_MAVLink: split SYS_STATUS and POWER_STATUS onto separate ap_messages 2018-12-18 14:05:20 +11:00
Randy Mackay
b306e08455 AP_BLHeli: default TRATE to 10hz
This only takes effect if BLHeli is enabled with SERVO_BLH_MASK <> 0 or SERVO_BLH_AUTO = 1
2018-12-18 11:21:24 +09:00
Andrew Tridgell
28a12224c3 SITL: fixed FDM UDP socket for JSBSim
needs to be uppercase for new versions
also improved debug output
2018-12-18 13:06:03 +11:00
Willem Eerland
f8407dd33a SITL: fixed JSBSim backend for latest version 2018-12-18 13:06:03 +11:00
Randy Mackay
c5a2065a86 AC_AutoTune; minor format fixes 2018-12-18 10:55:15 +09:00
bnsgeyer
1b90ef34cc AP_Motors: Dualheli- fix bug for scaling second swashplate 2018-12-18 09:10:22 +09:00
Michael du Breuil
536a894850 AP_L1_Control: Sanatize loiter radius to prevent bad input from
propegating
2018-12-18 10:11:22 +11:00
Michael du Breuil
ad01d345d1 AP_Arming: Fix badly formatter airspeed message 2018-12-18 10:11:22 +11:00
Peter Barker
e420f62b62 AP_HAL_SITL: check to see if setting socket and fd options worked 2018-12-18 08:51:01 +11:00
Peter Barker
24653a33ed SITL: make socket manipulation functions bool rather than void
... so callers can check if they succeeded or not
2018-12-18 08:51:01 +11:00
Randy Mackay
b1c2229430 AP_BLHeli: add BLHeli to parameter descriptions 2018-12-17 19:01:46 +09:00
Randy Mackay
4bceabb333 AP_BLHeli: minor formatting fixes 2018-12-17 19:01:46 +09:00
Nghia Nguyen
60250e4c49 AP_Rangefinder: Add support for ST VL53L1X 2018-12-17 14:00:31 +09:00
Michael du Breuil
670eaf8782 AP_Mission: Accept and store landing aborts in the mission 2018-12-15 09:03:25 +11:00
Andrew Tridgell
d90edcbb1d AC_AutoTune: fixed time subtraction bug
would have failed at time wrap point
2018-12-14 16:33:11 +11:00
Andrew Tridgell
47265c6fb7 AC_AutoTune: converted autotune mode to a library
this allows for common code between copter and quadplanes
2018-12-14 16:33:11 +11:00
Peter Barker
294be787f8 GCS_MAVLink: correct SYSID_ENFORCE for our own mavlink-connected components 2018-12-14 12:44:31 +11:00
Peter Barker
759a8e5553 GCS_MAVLink: move accept_packet to base class 2018-12-14 12:44:31 +11:00
Randy Mackay
12d6799aaa AP_Proximity: fix morse sector calc 2018-12-14 09:18:23 +09:00
Randy Mackay
f7f50d84c9 AP_Proximity: minor typo fix 2018-12-14 09:18:23 +09:00
Francisco Ferreira
a50a9c65ad GCS_MAVLink: change order in removing message from bucket
A call to find_next_bucket_to_send would change sending_bucket_id so the if would have a wrong meaning
The call also changes the bucket_message_ids_to_send so currently there is no bug, but it can change
2018-12-14 09:17:02 +09:00
Randy Mackay
fbf072d84b AP_RangeFinder: add range to POS param description 2018-12-13 20:14:05 +09:00
Randy Mackay
760989d786 AP_OpticalFlow: add range to POS param description 2018-12-13 20:14:03 +09:00
Randy Mackay
6b3fa520b5 AP_InertialSensor: add range to POS param description 2018-12-13 20:14:01 +09:00
Randy Mackay
c7287bb98f AP_GPS: add range to POS param description 2018-12-13 20:13:58 +09:00
Peter Barker
590eb86a45 DataFlash: use AP_Mission singleton 2018-12-13 14:45:30 +09:00
Randy Mackay
9b561c76e2 AP_BattMonitor: minor format fix to BLHeliESC 2018-12-13 14:06:57 +09:00
Peter Barker
dfd0ecd2bd GCS_MAVLink: use mission singleton 2018-12-13 10:52:52 +09:00
Randy Mackay
90a8f8b7e0 AP_Follow: add get bearing and distance accessors
used for reporting purposes
2018-12-13 09:30:19 +09:00
Randy Mackay
a776c7114f AP_Follow: move enabled accessor to top of definition file 2018-12-13 09:30:19 +09:00
Randy Mackay
962d449352 AP_Follow: remove send-text to GCS 2018-12-13 09:30:19 +09:00
Peter Barker
cf5dd7cdd7 GCS_MAVLink: emit pressure data for separate airspeed instances 2018-12-12 21:36:01 +11:00
Peter Barker
cc5ad393e7 GCS_MAVLink: split MSG_SCALED_PRESSURE into three separate messages 2018-12-12 21:36:01 +11:00
Andrew Tridgell
3de860f73b AP_InertialSensor: fixed orientation of 2nd OmnibusF7V2 IMU 2018-12-12 16:27:34 +11:00
Andrew Tridgell
9285e9df20 Revert "AP_Landing: yaw correction on landing"
This reverts commit 4f9c492f78.

That commit was causing the landing issue here:

https://github.com/ArduPilot/ardupilot/issues/9993

reverting until we find the correct fix
2018-12-12 15:51:37 +11:00
Arjun Vinod
9d8cad4eea AP_BattMonitor: fixed typos 2018-12-11 09:55:43 +09:00
Matt
d4bd7e790a HAL_ChibiOS: Add hwdef for Solo's Cube Black & Green
Adds hwdef files for the 3DR Solo.  CubeBlack-solo is based on the
CubeBlack hwdef, with the only difference being default parameters
required by the Solo.  CubeGreen-solo is is also identical to CubeBlack,
but has default parameters required by those with a Green Cube in their
Solo.  Parameter default files are pulled from the Tools\Frame_Parms
directory where the Solo's parameter files are maintained.
2018-12-11 10:45:37 +11:00
Peter Barker
eb2ef9fd2d GCS_MAVLink: use dataflash singleton rather than storing pointer 2018-12-11 08:43:47 +09:00
Andrew Tridgell
4c74d32ef3 HAL_SITL: fixed cygwin build of sitl
this is needed for windows SITL build
2018-12-11 09:44:05 +11:00