Commit Graph

18641 Commits

Author SHA1 Message Date
Andrew Tridgell
57f7af504d DataFlash: fixed build warning on cygwin 2018-12-26 10:32:19 +11:00
Michael du Breuil
983356213a AP_InertialSensor: Remove unused parameter 2018-12-23 12:46:37 -08:00
Andrew Tridgell
e66a360e27 AC_AutoTune: added lower limit on scaler reduction 2018-12-22 15:10:23 +11:00
Andrew Tridgell
e279fde505 AC_AutoTune: log 3 axis PIDs during twitch 2018-12-22 15:10:23 +11:00
Leonard Hall
b5066cffb6 AC_Autotune: Log in degrees 2018-12-22 15:10:23 +11:00
Andrew Tridgell
be9be889db AC_AutoTune: ensure we always have the right gains loaded 2018-12-22 15:10:23 +11:00
Andrew Tridgell
460d697678 AC_AutoTune: loosen level threshold after 2s 2018-12-22 15:10:23 +11:00
Andrew Tridgell
d0bc1520f6 AC_AutoTune: reset step_scaler between tune types 2018-12-22 15:10:23 +11:00
Andrew Tridgell
d6a23fd22a AC_AutoTune: fixed missing else statement 2018-12-22 15:10:23 +11:00
Leonard Hall
ce27eb5de1 AC_Autotune: Reduce rate step for over angle abort 2018-12-22 15:10:23 +11:00
Andrew Tridgell
15853adb04 build: removed remaining make.inc files 2018-12-22 11:06:59 +11:00
Julien Beraud
e165e9c323 AP_RangeFinder: fix bebop rangefinder
Fix Backend constructor call
2018-12-22 08:44:50 +09:00
Pierre Kancir
85b83ed6af AP_Math: remove non-ascii caracter 2018-12-22 08:39:23 +09:00
Pierre Kancir
f1270b4b22 AP_Math: const correctness 2018-12-22 08:39:06 +09:00
Pierre Kancir
f1aa4f3f87 AP_Mount: pass vector by const reference 2018-12-22 08:31:32 +09:00
Pierre Kancir
3b96794fb5 AP_AHRS: remove useless virtual qualifier 2018-12-22 08:31:32 +09:00
Pierre Kancir
d87853d93e AP_AHRS: pass vector by const reference 2018-12-22 08:31:32 +09:00
Pierre Kancir
96e629d83e AC_AttitudeControl: pass vector by const reference 2018-12-22 08:31:32 +09:00
Andrew Tridgell
2bff0ece67 AP_RobotisServo: send detection commands 4 times 2018-12-22 08:13:14 +11:00
Andrew Tridgell
92f4b37e90 AP_RobotisServo: fixes to give smooth operation on multiple servos 2018-12-22 08:13:14 +11:00
Andrew Tridgell
d72f6598e0 SRV_Channel: added RobotisServo protocol support 2018-12-22 08:13:14 +11:00
Andrew Tridgell
28970ed176 AP_SerialManager: added RobotisServo protocol support 2018-12-22 08:13:14 +11:00
Andrew Tridgell
e2aec77472 AP_RobotisServo: implement Robotis servo protocol 2.0 2018-12-22 08:13:14 +11:00
Andrew Tridgell
6312a88d90 AC_Autotune: fixed waiting for level timeout 2018-12-21 22:17:52 +11:00
Leonard Hall
e0c24d6ecf AC_Autotune: Include FF variable 2018-12-21 22:17:52 +11:00
Andrew Tridgell
4ea9f329e2 AC_AutoTune: use AHRS_View for RATE logging 2018-12-21 22:17:52 +11:00
Andrew Tridgell
e2907ba88b DataFlash: use AHRS_View for RATE log msg 2018-12-21 22:17:52 +11:00
Leonard Hall
8d572e8565 AC_AttitudeControl: Fix Autotune high hover throttle based limits 2018-12-21 22:17:52 +11:00
Leonard Hall
b25f7a38e8 AC_Autotune: Include FF variable 2018-12-21 22:17:52 +11:00
Leonard Hall
b0f3674eee AC_Autotune: Add level time out. 2018-12-21 22:17:52 +11:00
Randy Mackay
db9ce0064b AP_Motors: esc calibration outputs to throttleRight and throttleLeft 2018-12-21 11:19:18 +09:00
Randy Mackay
d4f838495d AP_Motors: minor format fix to tailsitter 2018-12-21 11:19:18 +09:00
Randy Mackay
f89c18740d AP_Motors: fix tailsitter tilt servo outputs 2018-12-21 11:19:18 +09:00
Randy Mackay
0d8e02d113 AP_Motors: Tailsitter output using SRV_Channels instead of rc_write 2018-12-21 11:19:18 +09:00
Randy Mackay
11c29b6af9 AP_Motors: Tailsitter minor typo and format fixes 2018-12-21 11:19:18 +09:00
Randy Mackay
84bcfce96b AP_Motors: remove virtual from Tailsitter output_test_seq 2018-12-21 11:19:18 +09:00
IamPete1
4a7b2e8f8f AP_MotorsTailsitter: add mixer and update to use standard AP_motors functions 2018-12-21 11:19:18 +09:00
Randy Mackay
d3bea0c176 AP_SmartRTL: increase default pts to 300 2018-12-21 09:31:03 +09:00
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
Peter Barker
1c6af7d777 GCS_Common: don't attempt to shove timesync message into a full channel 2018-12-10 15:25:10 +11:00
Peter Barker
6e7b9aa727 GCS_MAVLink: remove dead code 2018-12-10 12:52:41 +09:00
Peter Barker
160c29e01f GCS_MAVLink: change number of buckets to 10 2018-12-10 12:52:41 +09:00
Peter Barker
17c82999d0 GCS_MAVLink: use panic() call for what it is good for 2018-12-10 12:52:41 +09:00
Peter Barker
a9c5affe8a GCS_MAVLink: be consistent about calling count() or first_set 2018-12-10 12:52:41 +09:00
Peter Barker
8d970c13c0 GCS_MAVLink: avoid considering no_message_to_send equal to -1 2018-12-10 12:52:41 +09:00
Peter Barker
57fee7e8ef GCS_MAVLink: remove redundant check in find_next_bucket_to_send 2018-12-10 12:52:41 +09:00
Peter Barker
e91ee3e54a GCS_MAVLink: rename confusingly-named method 2018-12-10 12:52:41 +09:00
Peter Barker
b696986de6 GCS_MAVLink: clarify extra code in do_try_send_message is debug code 2018-12-10 12:52:41 +09:00
Peter Barker
f9399a708c GCS_MAVLink: use defined no_message_to_send constant for what it's good for 2018-12-10 12:52:41 +09:00
Peter Barker
0dfe5b64bf GCS_MAVLink: clarify comment on sending requests 2018-12-10 12:52:41 +09:00
Peter Barker
54d9e74f17 GCS_MAVLink add description for special messages 2018-12-10 12:52:41 +09:00