Andrew Tridgell
9eb07ffde2
HAL_VRBRAIN: implement updated new_input() semantics
2015-02-09 10:39:14 +11:00
Andrew Tridgell
f548d48fdc
HAL_PX4: implement updated new_input() semantics
2015-02-09 10:39:12 +11:00
Andrew Tridgell
7275d2b804
HAL_SITL: implement updated new_input() semantics
2015-02-09 10:39:10 +11:00
Andrew Tridgell
5d6f883887
HAL_AVR: implement updated new_input() semantics
2015-02-09 10:39:07 +11:00
Andrew Tridgell
3075cb058d
AP_HAL: changed semantics of RCInput.new_input()
...
this makes calling new_input() in RCInput clear the new input
flag. This fixes an issue with calls to read() for auxillary channels
clearing the new_input flag, which could cause brief failsafe
conditions.
2015-02-09 10:39:05 +11:00
Andrew Tridgell
a118ac69c6
Travis: use separate pip commands to find travis issue
2015-02-08 22:11:57 +11:00
Andrew Tridgell
bea3b4780d
Travis: use install-travis-env.sh
2015-02-08 22:00:10 +11:00
Andrew Tridgell
97d6543520
Travis: added install-travis-env.sh
...
this will be used for travis test builds, to avoid some issues with
pip install using the generic script
2015-02-08 21:59:58 +11:00
Andrew Tridgell
7a5ec6d75b
GCS_MAVLink: allow use of RC_CHANNELS message on AVR too
...
can have up to 11 channels
2015-02-08 21:47:31 +11:00
Andrew Tridgell
33a3254d8b
HAL_Linux: accept a smaller sync pulse width
2015-02-08 21:47:28 +11:00
Andrew Tridgell
7fb114752c
AP_HAL_AVR: accept a much shorted sync pulse width on RCInput
...
this should fix issues with OpenLRSng default settings
2015-02-08 21:47:26 +11:00
Andrew Tridgell
f2a919c55e
AP_HAL_PX4: moved size of main thread stack to Scheduler.h
...
make it more obvious
2015-02-07 08:06:53 +11:00
Andrew Tridgell
1c270d17a8
AP_Airspeed: ignore temperatures below -80
...
ETS driver on PX4 returns -1000
2015-02-06 21:41:15 +11:00
Randy Mackay
8b5f1575ad
Copter: remove pre-arm check of RC3_TRIM
...
RC3_TRIM parameter is not used so we can remove this check
2015-02-06 17:55:28 +09:00
Andrew Tridgell
3edc1ea4db
Plane: tell arming if logging is available
2015-02-06 19:05:02 +11:00
Andrew Tridgell
c0e212916b
PX4: auto-format microSD if corrupt
...
and allow boot with no microSD if USB is not connected. If USB is
connected give a nsh shell on USB
2015-02-06 19:05:02 +11:00
Andrew Tridgell
8bd7c171e4
PX4: added usb_connected command
2015-02-06 19:05:02 +11:00
Andrew Tridgell
4ecd99eb76
AP_Arming: added check for logging available
...
this is used for refusing to fly without microSD inserted
2015-02-06 19:05:02 +11:00
Randy Mackay
a70f98552e
Copter: rename xy_mode
2015-02-06 17:00:58 +09:00
Randy Mackay
fc4442bf61
AC_WPNav: rename xy_mode
2015-02-06 17:00:57 +09:00
Randy Mackay
186337f18e
AC_PosControl: rename xy_mode enum values
...
Also added a few comments and fixed formatting
2015-02-06 17:00:55 +09:00
Jonathan Challinger
626521c366
AC_WPNav: update usage of update_xy_controller
2015-02-06 17:00:53 +09:00
Jonathan Challinger
e71ad72fc0
Copter: update usage of update_xy_controller
2015-02-06 17:00:51 +09:00
Jonathan Challinger
3faca88423
AC_PosControl: allow control of xy rate constraint behavior
2015-02-06 17:00:48 +09:00
Andrew Tridgell
cabf21194a
AP_Arming: improved docs
2015-02-06 08:40:59 +11:00
Andrew Tridgell
8108ee796e
Plane: update release-notes in master
2015-02-05 21:02:22 +11:00
Andrew Tridgell
4d6a7996f7
Plane: the next release will be 3.3.0
...
quite a few large changes pending
2015-02-05 20:55:00 +11:00
Emile Castelnuovo
5c68980f05
AP_Notify: removed unused VRBRAIN files
2015-02-05 14:22:08 +09:00
Robert Lefebvre
0b1f217420
Copter: Add PreArm check for radio trims.
2015-02-05 11:17:58 +09:00
Robert Lefebvre
2186dec271
Copter: Remove trim_radio() function.
2015-02-05 11:17:56 +09:00
Randy Mackay
ecaf3280e5
Copter: update AC3.2.1-rc2 release notes
2015-02-03 15:58:33 +09:00
Randy Mackay
b66a1135d9
AHRS: fix example sketch compile error
2015-02-03 15:57:11 +09:00
Paul Riseborough
aa94ff629d
AP_NavEKF: Prevent bad GPS pre-arming casuing initial position errors
...
If the vehicle moves significantly or the GPS changes position significantly pre-armed, then the GPS glitch logic was being invoked when the first GPs measurements were fused. This patch resets the position to the GPS when the vehicle arms.
2015-02-03 15:57:10 +09:00
priseborough
bc5581d634
AP_NavEKF: Prevent arming delays from failing GPS
...
Due to the way that gyro calibration is done, the EKF could be effectively not run for up to 30 seconds in extreme cases, making it possible that the GPS would be failed on arming and the copter put into a non-GPS mode.
the longer term solution is to update the gyro calibration so that it does not hold up other processing. the short tyermfix in thsi patch is to look for evidence of a 3D lock in the last received GPS message.
2015-02-03 15:57:09 +09:00
priseborough
2c012c2763
AP_NavEKF: Always check for new GPS data
...
This fixes a bug that meant that once the EKF had started up in a non-GPS mode, it would no longer read the GPS and therefore would never be able to use GPS again until reset.
2015-02-03 15:57:08 +09:00
Andrew Tridgell
00758a3e91
Plane: improved landing parameter descriptions
...
fixes issue #1776
2015-02-03 17:19:45 +11:00
Andrew Tridgell
33225c2955
Plane: mark master as 3.2.2alpha1
2015-02-03 17:11:25 +11:00
Robert Lefebvre
14d76d158a
AC_AttitudeControl: Correct comment.
2015-02-03 14:55:30 +09:00
Jonathan Challinger
baa3e802ee
AC_WPNav: clean up atan2
2015-02-03 14:48:04 +09:00
Jonathan Challinger
4311fa8952
Copter: 90-atan2(-x,y) is the same as atan2(y,x)
2015-02-03 14:48:02 +09:00
Jonathan Challinger
f77b359e83
Copter: increase get_roi_yaw from 40hz to 100hz
2015-02-03 14:46:17 +09:00
Andrew Tridgell
28341a6c7a
Plane: handle very steep landings more gracefully
...
prevent us trying to put the flare point too high or too far back if
the mission requires a steep landing
2015-02-03 16:44:28 +11:00
Andrew Tridgell
2ae412d513
Plane: only reset mission on disarm if not in AUTO mode
...
disarming while in a mission should leave the plane still flying the
mission, but with motor stopped. The user may do this during a landing
for example, but we want to keep gliding
2015-02-03 16:44:27 +11:00
Andrew Tridgell
a172d898c5
Plane: force throttle to zero when disarmed
...
don't rely on the safety switch
2015-02-03 16:44:27 +11:00
Randy Mackay
ae487ca88b
AutoTest: remove calibrate level from copter tests
2015-02-03 14:29:11 +09:00
Randy Mackay
112f6a1854
AP_InertialNav: add comments
...
No functional change
2015-02-03 12:05:24 +09:00
Jonathan Challinger
2cb63dc792
Copter: don't assume home is at the origin
2015-02-03 11:38:25 +09:00
Jonathan Challinger
9c2865f6a8
Copter: update pv_location_to_vector to use get_origin instead of get_home
2015-02-03 11:38:23 +09:00
Jonathan Challinger
c95e7b2282
AP_InertialNav: add get_origin function
2015-02-03 11:38:21 +09:00
Jason Short
3b5228922e
Copter: increased ESC auto-cal delay
2015-02-03 11:33:54 +09:00