Commit Graph

33814 Commits

Author SHA1 Message Date
Randy Mackay
d5ef3c2e0f AR_AttitudeControl: get_throttle_out_from_pitch uses motor limits
This allows removing I-term build up from throttle hitting 100%
2018-08-27 16:44:33 +09:00
Randy Mackay
65b020eac3 AR_AttitudeControl: re-order pitch control to match other similar methods 2018-08-27 16:44:33 +09:00
Pierre Kancir
f6cc934678 Tools: pep8 corrections + correct variable shadowing 2018-08-27 17:08:47 +10:00
Pierre Kancir
d5c4c32529 Tools: add gripper test for copter 2018-08-27 14:39:49 +10:00
Pierre Kancir
2661ad2ed3 GCS_Common: remove status text for gripper 2018-08-27 14:39:49 +10:00
Pierre Kancir
7f601db05b Tools: add gripper tests 2018-08-27 14:39:49 +10:00
Pierre Kancir
3ab635f100 AP_Gripper: use gripper_sim feedback 2018-08-27 14:39:49 +10:00
Pierre Kancir
a5e2f96a59 SITL: Better gripper sim options 2018-08-27 14:39:49 +10:00
Peter Barker
f258a25138 AP_Arming: remove double PreArm: in battery prearm report
Also use check_failed throughout
2018-08-27 11:12:52 +09:00
cclauss
da7fe1055a Tools: add missing import to arducopter.py
Fixes undefined names on lines 1406 and 1408
2018-08-27 11:40:47 +10:00
Randy Mackay
a5c59ce36e AP_Motors: include boost_throttle in get_motor_mask 2018-08-27 10:35:02 +09:00
Randy Mackay
f85e84cc89 AP_Motors: add override keyword to get_motor_mask 2018-08-27 10:35:02 +09:00
pierre-louis.k
e62ed19759 AP_RangeFinder: Remove range enforcement on out of range 2018-08-27 10:25:51 +09:00
pierre-louis.k
5577b8b33c AP_RangeFinder: Rework function structure in TeraRanger driver 2018-08-27 10:25:49 +09:00
pierre-louis.k
b6f1647c31 AP_RangeFinder: Rename function in TeraRanger driver 2018-08-27 10:25:47 +09:00
pierre-louis.k
1b990c116d AP_RangeFinder: Give back semaphore on whoami error 2018-08-27 10:25:45 +09:00
pierre-louis.k
4d45b68fa3 AP_RangeFinder: Clean TeraRanger driver 2018-08-27 10:25:43 +09:00
pierre-louis.k
d162afb790 AP_RangeFinder: Add error codes rejection for TeraRanger sensors 2018-08-27 10:25:41 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
c9bbc2773d AP_ADSB: Add valid parameter range to squawk codes 2018-08-26 09:13:10 -07:00
Andrew Tridgell
33076be585 HAL_ChibiOS: fixed handling of 16 bit timers
when we have a 16 bit timer then systime_t is 16 bit, and we need to
handle wrap of get_systime_us32()
2018-08-26 18:34:26 +10:00
Pierre Kancir
f5c6706068 README: correct Pierre Name 2018-08-26 01:33:19 -07:00
Dr.-Ing. Amilcar do Carmo Lucas
b9df513705 GCS_MAVLink: remove redundant ret = true statements (NFC) 2018-08-26 18:21:45 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
9c97f35b19 AP_GPS: Use GPS_AUTO_SWITCH parameter to choose exacly which GPS to use 2018-08-26 01:05:09 -07:00
Andrew Tridgell
1762a2708c AP_Notify: removed unused hal variable 2018-08-26 07:57:05 +10:00
Randy Mackay
9ae9f84498 Rover: fix G_Dt when SCHED_LOOP_RATE increased
This fixes a bug in the G_Dt calculation which is used in the motors library and PID controllers.  The issue occurred in cases where the ahrs_update was not being run which could happen because it's estimated time was too long.
This also properly runs the critical functions (update ahrs, run flight mode code, send outputs to motors) at up to 400hz
2018-08-25 17:50:15 +10:00
Peter Barker
ff9a7b3f44 Sub: failsafe: subtract times, don't add them
Avoids integer wrap issues
2018-08-25 16:14:01 +09:00
Andrew Tridgell
0289ad03df AP_Mission: added semaphore for thread access 2018-08-25 15:44:36 +10:00
Andrew Tridgell
935c9167ab AP_Avoidance: added semaphore 2018-08-25 15:44:36 +10:00
Andrew Tridgell
9897bf6127 AP_AHRS: support locked access to AHRS data 2018-08-25 15:44:36 +10:00
Andrew Tridgell
0aeceb22d9 AP_Common: added #pragma once to Semaphores.h 2018-08-25 15:44:36 +10:00
Andrew Tridgell
dc20e2baed HAL_ChibiOS: support recursive semaphores 2018-08-25 15:44:36 +10:00
Andrew Tridgell
edeab9d152 HAL_SITL: support HAL_Semaphore_Recursive 2018-08-25 15:44:36 +10:00
Andrew Tridgell
3613cfbc6c PX4Firmware: enable recursive mutexes 2018-08-25 15:44:36 +10:00
Andrew Tridgell
1397c85f8e HAL_PX4: added Semaphore_Recursive 2018-08-25 15:44:36 +10:00
Andrew Tridgell
b347027e13 HAL_Linux: added Semaphore_Recursive 2018-08-25 15:44:36 +10:00
Andrew Tridgell
55dfefb2d6 AP_HAL: added HAL_Semaphore_Recursive 2018-08-25 15:44:36 +10:00
Andrew Tridgell
a09576052b ChibiOS: fixed EICU build with TIM1 2018-08-25 12:33:44 +10:00
Patrick José Pereira
ab31fcb8f4 AP_HAL_SITL: Makes scheduler compile under Mac OS
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-08-25 11:25:17 +10:00
pierre-louis.k
bf274cd9db AP_Proximity: Change min and max range to support both 60m and 600Hz 2018-08-25 10:22:11 +09:00
Mateusz Sadowski
08332102fe AP_Proximity: Fix sensor order on TeraRanger Tower Evo 2018-08-25 10:22:11 +09:00
Mateusz Sadowski
4b8b8347f2 AP_Proximity: Correctly handle TeraRanger Tower Evo initialization 2018-08-25 10:22:11 +09:00
Mateusz Sadowski
f1b550647d AP_Proximity: Change TeraRanger Tower Evo sequence mode to Tower 2018-08-25 10:22:11 +09:00
Mateusz Sadowski
2ca567f409 AP_Proximity: Add support for TeraRanger Tower Evo 2018-08-25 10:22:11 +09:00
Randy Mackay
af0d1b3e6c README: add Pierre and Leonard
also remove old email list and fix case of Julien's name
also add gitter to developer info
2018-08-25 10:06:23 +09:00
Pierre Kancir
aedd5a9db2 Tools: make takeoff check if it need arming and auto arm 2018-08-25 09:29:24 +09:00
Pierre Kancir
92d06c354e Tools: rise nav_takeoff_delay_abstime delta to cope with rounding. 2018-08-25 09:28:36 +09:00
Andrew Tridgell
db9a8f16ed HAL_ChibiOS: enable terrain on Pixracer, minpx-v2 and mini-pix 2018-08-24 19:43:27 +10:00
Randy Mackay
473e8d18a1 Rover: reduce scheduler estimated time for gcs tasks 2018-08-24 15:30:50 +09:00
Randy Mackay
012dd57246 Sub: rename gcs_check_input to gcs_update 2018-08-24 15:30:50 +09:00
Randy Mackay
920300899e Copter: rename gcs_check_input to gcs_update
this makes the names consistent with Rover and Plane
2018-08-24 15:30:50 +09:00