Randy Mackay
6bfcd28ade
Copter: thr failsafe will not RTL if in batt failsafe
...
resolves issue #413
2013-07-13 19:49:25 +09:00
Andrew Tridgell
399970e76f
Plane: fixed default deadzone for the throttle channel
...
this is the 2nd half of the fix for issue #303
2013-07-13 13:19:25 +10:00
Andrew Tridgell
21859f9364
RC_Channel: fixed dead_zone for range channels
...
The dead_zone was being used inconsistently, used in PWM space in one
place, and in control output space in another.
The fix required us to move the index number of the RC channel eeprom
value for RCn_DZ, as users will have a throttle deadzone of 3 set in
their eeprom due to a bug that Randy just fixed that caused the value
to always be saved to eeprom. In plane we then need to fix the
deadzone for the throttle to be 30
this fixes issue #303
Thanks to Soren Kuula for spotting this!
2013-07-13 13:18:54 +10:00
Andrew Tridgell
086e8f80dc
AP_AHRS: fixed spin rate gain conversion from degrees to radians
...
fixes issue #433
Thanks Jurgen!
2013-07-13 12:36:25 +10:00
Andrew Tridgell
826ad6c086
Plane: unlock roll and pitch when we enter ACRO mode
2013-07-13 12:34:34 +10:00
Randy Mackay
effc829790
INS: relax accel offset check to 3.5 m/s/s
...
One user, Dusty, has found that even with offsets of 3.1 m/s/s
successful alt hold and loiter are possible
2013-07-13 10:43:07 +09:00
Randy Mackay
5a40ee7a38
Copter: fix to gps present check in mavlink extended status 1 msg
2013-07-13 10:27:50 +09:00
Randy Mackay
1772a62415
Plane: fix to gps present check in mavlink extended status 1 msg
2013-07-13 10:27:39 +09:00
Randy Mackay
66d7f7b026
Copter: GCS_mavlink only send waypoints to gcs3 if initialised
...
Also Load parameter defaults at initialisation (although defaults are
all zero anyway so should have no effect)
2013-07-13 10:12:01 +09:00
Randy Mackay
aefb38e486
Copter: remove param to disable accel based throttle controller
2013-07-12 22:57:30 +09:00
Randy Mackay
d5b4c44926
Copter: comment fix for flight mode switch delay const
2013-07-12 22:29:14 +09:00
Rayjan Wilson
07ca8ef87a
attempt to change from 1/10th second to 2/10th second on flight mode switch
2013-07-12 21:57:35 +09:00
Randy Mackay
53bff2b63e
Copter: cli to report ch8 radio values
2013-07-12 21:46:03 +09:00
Andrew Tridgell
ea9ae31a7a
Plane: fixed a bug with altitude drift in FBWB mode
...
not taking account of deadzone correctly
2013-07-12 21:17:09 +10:00
Andrew Tridgell
cc57bfcf12
Plane: fixed handling of deadzone in ACRO mode
...
RC_Channel norm_input() does not take account of the dead zone
2013-07-12 17:54:51 +10:00
Randy Mackay
110966c186
AP_TECS: compile error fix for size_of(log_tuning)
2013-07-12 11:45:02 +09:00
Randy Mackay
fb5ada38c0
RC: example sketch uses set_default_dead_zone
2013-07-12 11:44:58 +09:00
Randy Mackay
2f4221391e
Copter: set_dead_zone renamed to set_default_dead_zone
...
Dead zones now set as part of rc initialisation instead of only after
eeprom is erased.
Change in use of parameter means value passed in should be 1/2 what it
was previously
2013-07-12 11:44:23 +09:00
Randy Mackay
32b5169bb9
Rover: set_dead_zone renamed to set_default_dead_zone
...
Change in use of parameter means value passed in should be 1/2 what it
was previously
2013-07-12 11:44:20 +09:00
Randy Mackay
9df93881fb
Plane: set_dead_zone renamed to set_default_dead_zone
...
Change in use of parameter means value passed in should be 1/2 what it
was previously
2013-07-12 11:44:18 +09:00
Randy Mackay
47437b9ddf
RC: set dead zone only if parameter has not been set by user
2013-07-12 11:44:16 +09:00
Andrew Tridgell
f300df5fd1
Plane: added FS_LONG_TIMEOUT and FS_SHORT_TIMEOUT parameters
...
this is to address the issue raised here:
http://diydrones.com/forum/topics/ardupilot-circle-mode
2013-07-12 11:56:04 +10:00
Randy Mackay
1685ff274d
TradHeli: compile error fix related to new ACRO
...
The motors_runup_complete must be a feature that Rob has implemented in
his clone which has not yet reached master. We will need to restore
these lost few trad-heli specific lines once Rob's changes make it to
master.
2013-07-11 22:33:55 +09:00
Leonard Hall
64ce9b017d
Copter: Body frame ACRO upgrade
2013-07-11 17:53:25 +09:00
Randy Mackay
6dd446ac79
Copter: firmware version to 3.0.1
2013-07-11 16:45:05 +09:00
Randy Mackay
012d7b0c0a
OptFlow: initialisation fix
...
Thanks to DongFang (aka Soren) for finding the issue and the solution
2013-07-11 14:14:37 +09:00
Andrew Tridgell
5ae62f4f04
Copter: fixed build with specified GPS driver
2013-07-11 14:27:42 +10:00
Andrew Tridgell
131aa53e42
AP_Relay: update for new PX4 relay pin
2013-07-11 13:50:23 +10:00
Andrew Tridgell
83b13c3d88
HAL_PX4: fixed definition of relay and piezo pins
2013-07-11 13:50:23 +10:00
Andrew Tridgell
0916388ab5
HAL_PX4: retry opening UARTs up to 5 times
...
this seems to help a lot with the USB port on PX4
2013-07-11 13:50:23 +10:00
Marco Bauer
ae2ee399c2
PX4: added support for mkblctrl driver
...
this enables runtime support for the mkblctrl I2C ESC drivers
2013-07-11 13:50:22 +10:00
Marco Bauer
c7c0fc01c3
PX4: enable mkblctrl driver
2013-07-11 13:50:22 +10:00
Marco Bauer
72d0721721
AP_Relay: setup pin for PX4 relay support
2013-07-11 13:50:22 +10:00
Marco Bauer
a3b216bce3
HAL_PX4: added GPIO driver
2013-07-11 13:50:22 +10:00
Randy Mackay
ac5d925115
Copter: revert Loiter Pos P to 1.0 (was 0.8)
2013-07-11 12:20:31 +09:00
Randy Mackay
1590a5d58a
Copter: increase Yaw Rate I 0.02
2013-07-11 12:20:29 +09:00
Randy Mackay
ab1a7baf71
Copter: project stopping point for loiter command
2013-07-11 11:39:47 +09:00
Randy Mackay
bf5a50f738
WPNav: stopping point projection uses wp_leash
2013-07-11 11:39:44 +09:00
Kevin Hester
1c5ddc20ca
documentation: minor fix to px4 build instructions (tridge please check)
2013-07-11 12:37:44 +10:00
Andrew Tridgell
73928b82a6
Plane: fixed FBWB airspeed control
...
thanks to Gabor for reporting this!
2013-07-11 11:58:54 +10:00
Andrew Tridgell
1d04290eab
Plane: change to 2.74beta3
2013-07-11 11:58:54 +10:00
Randy Mackay
d77f7bc803
Copter: default Loiter Pos P to 0.8 (was 0.2)
2013-07-11 08:13:17 +09:00
Andrew Tridgell
11a4628409
Plane: added ACRO mode to mode choices
2013-07-11 09:10:41 +10:00
Andrew Tridgell
fc67f51901
Plane: added ACRO_ROLL_RATE and ACRO_PITCH_RATE parameters
...
default to 180 degrees/second, which seems reasonable
2013-07-11 09:10:41 +10:00
Andrew Tridgell
608007361b
Plane: added initial implementation of ACRO mode
...
rate based control with attitude locking
2013-07-11 09:10:41 +10:00
Andrew Tridgell
f2316747f5
APM_Control: re-work to allow for rate based control
2013-07-11 09:10:41 +10:00
Randy Mackay
ec65764750
Copter: typo in release notes
2013-07-11 08:04:45 +09:00
Randy Mackay
ab09dc46fb
Copter: update release notes
2013-07-10 21:20:01 +09:00
Randy Mackay
0ba6bf8721
AutoTest: relax stability patch max distance
2013-07-10 20:54:12 +09:00
Randy Mackay
345924ddec
WPNav: replace LOITER_ACCEL_MAX with parameter
...
Also removed unused _lean_angle_max variable
2013-07-10 20:00:32 +09:00