Commit Graph

22864 Commits

Author SHA1 Message Date
Randy Mackay
82bd847e11 Plane: add AC_Avoidance, AC_Fence to build 2016-06-22 11:38:15 +09:00
Randy Mackay
9201a57c83 QuadPlane: include AC_Avoidance, AC_Fence
This is required because of AC_WPNav's use of the new avoidance library to stop at the fence
2016-06-22 11:38:15 +09:00
Daniel Ricketts
87be8daf0e Copter: integrate AC_Avoidance library 2016-06-22 11:38:15 +09:00
Daniel Ricketts
5022a45495 Copter: add AC_Avoidance to build 2016-06-22 11:38:15 +09:00
Daniel Ricketts
8a6aa24525 AC_WPNav: use AC_Avoidance to stop at fence during Loiter 2016-06-22 11:38:15 +09:00
Daniel Ricketts
ff7bc7c0cb AC_Avoidance: add library to stop at circular fence 2016-06-22 11:38:15 +09:00
Daniel Ricketts
e60710332b AC_Fence: add accessors to return radius and safety margin 2016-06-22 11:38:15 +09:00
Andrew Tridgell
d1b28aaed9 AC_AttitudeControl: fixed factor of 1000 error in init_takeoff 2016-06-22 11:48:43 +10:00
Randy Mackay
752c1834e1 Tracker: version to 0.8 and release notes 2016-06-22 10:40:30 +09:00
Randy Mackay
df55760d77 Tracker: remove unused servo_limit structure 2016-06-22 10:13:08 +09:00
stefanlynka
2b7203e4d1 Tracker: Changed PID to AC_PID 2016-06-22 10:06:00 +09:00
Lucas De Marchi
39d4fa2cf8 Revert changes to cmath according to gcc version
Revert these commits:
	"AP_Common: gcc 4.9.2 behaves differently from 4.9.3"
	"AP_Common: this workaround for missing/cmath is also needed for gcc 4.9.3"

This breaks the build for PX4. The change is related to the libc, not
the compiler version. We have an workaround there based on compiler
version just because it's usual to have a more recent libc version when
you have a recent compiler.
2016-06-21 13:54:41 -03:00
Lucas De Marchi
9738be0ed6 AP_HAL: remove tabs and trailing whitespaces 2016-06-21 13:09:00 -03:00
Lucas De Marchi
ab66e3a69a AP_HAL_Linux: Perf: simplify function to get current time 2016-06-21 13:09:00 -03:00
David B. Bitton
f58ce71a77 Update initvagrant.sh
Made jsbsim origin URL more firewall friendly.
2016-06-21 13:03:35 -03:00
Pierre Kancir
a8e5ff93b5 AP_Math: Correct missing declaration warning 2016-06-21 12:17:46 -03:00
Lucas De Marchi
1d9d0a40db AP_HAL_Linux: GPIO: reduce macro and variable scopes
Also change the coding style in a few places.
2016-06-21 12:16:32 -03:00
Lucas De Marchi
4f14b9b7e2 AP_HAL_Linux: ToneAlarm_Raspilot: add fixme comment 2016-06-21 12:16:32 -03:00
Lucas De Marchi
e122b2b651 AP_HAL: GPIO: remove unused functions
These functions are not used by any HAL, so remove them.
2016-06-21 12:16:32 -03:00
Lucas De Marchi
0bb86ae498 AP_HAL_Linux: GPIO_RPI: remove unused functions
These functions to use pins as pwm are never used in the codebase, so
remove them.
2016-06-21 12:16:32 -03:00
Andrew Tridgell
2108127712 AP_Common: gcc 4.9.2 behaves differently from 4.9.3
tested 4.9.3 on cygwin, 4.9.2 on ubuntu

I do hope that it doesn't depend on the OS
2016-06-21 21:34:54 +10:00
Andrew Tridgell
224c714c83 AP_Common: this workaround for missing/cmath is also needed for gcc 4.9.3
tested on cygwin with 4.9.3
2016-06-21 19:19:09 +10:00
Peter Barker
309ac53806 SITL: correct adsb initialisation
Parameters have not yet been initialised in _sitl_setup, so move
should-run checks into update
2016-06-20 18:16:34 -07:00
Andrew Tridgell
569443231a SITL: improved altitude data in XPlane 2016-06-20 12:52:13 +10:00
Andrew Tridgell
51fff00871 SITL: report data and frame rates in XPlane
and avoid time going backwards if possible
2016-06-20 12:52:13 +10:00
Peter Barker
6530c3bd91 autotest.py: exit with error if requested step not found 2016-06-20 11:48:07 +10:00
Andrew Tridgell
b7395ee74b SITL: fixed sign of magnetic inclination 2016-06-20 11:17:36 +10:00
Andrew Tridgell
5b7b799046 SITL: fixed mag field in JSBSim and last_letter 2016-06-20 11:07:51 +10:00
Leonard Hall
ba2382c409 AP_MotorsCoax: Fix servo 3 and 4 feed through sign 2016-06-20 09:45:17 +09:00
Andrew Tridgell
16595d2f3b SITL: auto-set AHRS_EKF_TYPE to 10 for XPlane and FlightAxis 2016-06-20 08:38:53 +10:00
Tom Pittenger
6ecf0daa9f gitignore: add *.generated.h to match px4Firmware implementaion in their submodule 2016-06-19 12:19:11 -07:00
Tom Pittenger
66d4caeeb0 Copter: add ADSB_streamrate 2016-06-19 11:24:33 -07:00
Tom Pittenger
07b22dc6eb Rover: ignore ADSB_VEHICLE packet handling 2016-06-19 11:24:33 -07:00
Tom Pittenger
24b7f69dad Tracker: ignore ADSB_VEHICLE packet handling 2016-06-19 11:24:32 -07:00
Tom Pittenger
746e2211e9 AP_ADSB: remove extra include 2016-06-19 11:24:31 -07:00
Tom Pittenger
9b973fb899 Plane: add ADSB_streamrate 2016-06-19 11:24:31 -07:00
Tom Pittenger
4fe94bdea3 GCS_MAVLink: add ADSB_streamrate 2016-06-19 11:24:30 -07:00
Tom Pittenger
4cd1721bf9 AP_ADSB: add ADSB_streamrate 2016-06-19 11:24:29 -07:00
Tom Pittenger
3a38e29b39 GCS_MAVLink: do not auto-forward ADSB_VEHICLE packets 2016-06-19 11:24:29 -07:00
Andrew Tridgell
2db2486b3a AP_AHRS: send zero EKF_STATUS_REPORT with EKF type 10 2016-06-19 22:02:25 +10:00
Andrew Tridgell
2f88c24f49 SITL: added debug showing UDP ports for XPlane 2016-06-19 21:18:19 +10:00
Andrew Tridgell
ec5534bd6a SITL: explain the throttle_magic code for XPlane 2016-06-19 21:10:49 +10:00
Andrew Tridgell
f76a7e64ca SITL: auto-select correct data fields from X-Plane10 2016-06-19 20:57:34 +10:00
Andrew Tridgell
acc76f80b0 HAL_SITL: added xplane support 2016-06-19 13:59:15 +10:00
Andrew Tridgell
d9d53c82d0 autotest: added xplane as vehicle type 2016-06-19 13:59:15 +10:00
Andrew Tridgell
4f99c17aae SITL: added X-Plane 10 SITL backend 2016-06-19 13:59:15 +10:00
Andrew Tridgell
7a9b4c7572 AP_Motors: fixed motor load calculation
scale to 1.0 for max collective
2016-06-19 13:50:04 +10:00
Paul Riseborough
55b0bbd3f1 SITL: Add simulation of 3D earth magnetic field
Use an independant method to the flight code using tables that that can updated.
Data taken from NOAA online calculator using WMM data at 2016-6-16 date
2016-06-19 12:51:34 +10:00
Paul Riseborough
2cf5493b40 AP_HAL_SITL: Ensure simulated magnetic field is always used 2016-06-19 12:51:34 +10:00
Paul Riseborough
078284e2e2 SITL: Add magnetic field environment to simulation
Includes parameters enabling a ground level magnetic anomaly to be modelled.
TODO - add automatic setting of declination, inclination and field strength using WGS-84 position.
2016-06-19 12:51:34 +10:00