Commit Graph

3022 Commits

Author SHA1 Message Date
Randy Mackay
d9fd577fb0 Copter: add Drift throttle assist constraints 2014-03-31 15:40:00 +09:00
Jason Short
50dcbe6549 Copter: Drift throttle assist range increased
Throttle assist is applied from 213 ~ 787
Deadband and constraint added
2014-03-31 13:09:57 +09:00
Jason Short
bccf1de563 Copter: add drift throttle assist 2014-03-31 13:09:54 +09:00
Randy Mackay
7d5d0d12a2 Copter: spline bug fixes
Next waypoint's location must be passed in even if it's a straight
segment.
mission.get_next_nav_cmd's start_index should be the current command +1
2014-03-29 17:57:45 +09:00
Randy Mackay
ac364c93dd Copter: bug fix for simple_mode when run at 400hz
Mark radio frame as consumed so that simple mode does not apply the yaw
correction more than once when run at very high rates (like 400hz on
Pixhawk)
2014-03-28 17:03:31 +09:00
Randy Mackay
176a450ad2 Copter: remove spline handling from regular wp_nav 2014-03-28 09:23:41 +09:00
Randy Mackay
d541fefab4 Copter: add do_spline_wp and verify_spline_wp functions 2014-03-28 09:23:33 +09:00
Randy Mackay
8f946a3a8c Copter: remove original_wp_bearing
To-Do: extend wpnav yaw control to only repoint nose towards waypoint if
it is more than 5m or 10m away
2014-03-28 09:23:21 +09:00
Randy Mackay
392162747a Copter; integrate WPNAV's get_yaw 2014-03-28 09:23:17 +09:00
Randy Mackay
3753550a72 Copter: integrate get_spline_yaw 2014-03-28 09:23:11 +09:00
Randy Mackay
c0f12911ec Copter: minor format change 2014-03-28 09:23:02 +09:00
Randy Mackay
0822adfb34 Copter: integrate spline navigation 2014-03-28 09:22:59 +09:00
Andrew Tridgell
78ba1a33aa Copter: support 18 input channels in MAVLink 2014-03-25 14:47:43 +11:00
Andrew Tridgell
c0767eebff Copter: support 14 RC channels on PX4 2014-03-25 14:47:05 +11:00
Andrew Tridgell
e1b9135946 Copter: updates for new RCInput API 2014-03-25 14:47:04 +11:00
Andrew Tridgell
3362e42478 Copter: consider health of primary compass in SYS_STATUS, pre-arm and compassmot
this should prevent users from taking off with only secondary compass
2014-03-24 19:52:08 +11:00
Andrew Tridgell
11e5b95878 Copter: updates for GPS changes 2014-03-24 12:04:46 +11:00
Randy Mackay
71f61c9bef Copter: fix typo to show ATUN FMT in dataflash logs 2014-03-21 15:44:06 +09:00
Andrew Tridgell
4a01315fc5 Copter: enable logging of RADIO_STATUS 2014-03-20 09:56:37 +11:00
Andrew Tridgell
a345a9d993 Copter: removed check on target component in arm
Thanks to DonLakeFlyer for finding this, see
https://github.com/diydrones/ardupilot/pull/909
2014-03-20 09:06:28 +11:00
Randy Mackay
88527cd01c Copter: integrate Mission cmd field changes 2014-03-19 12:14:25 +09:00
Andrew Tridgell
e4b3323455 Copter: use common deferred message handling 2014-03-19 12:14:20 +09:00
Andrew Tridgell
69252868a8 Copter: use common MISSION_ITEM handling 2014-03-19 12:14:12 +09:00
Andrew Tridgell
f4ed2beacd Copter: use new common MAVLink message handlers 2014-03-19 12:13:40 +09:00
Randy Mackay
6ef2b55602 Copter: use common GCS_MAVLink handle_mission methods 2014-03-19 12:13:22 +09:00
Andrew Tridgell
85725de9cb Copter: use new handle_mission_request()
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:13:15 +09:00
Randy Mackay
a3573f9ebd Copter: minor typo in do_change_speed processing
It is unlikely that the "f" at the end of the 100 is required to
maintain the full precision of the target speed but added just in case
2014-03-19 12:12:55 +09:00
Randy Mackay
08b78db43c Copter: use mission command specific structures 2014-03-19 12:12:54 +09:00
Randy Mackay
2f8daf2fa9 Copter: integrate dataflash Log_Write_MavCmd 2014-03-19 12:12:46 +09:00
Randy Mackay
edab06a3ff Copter: truncate mission before uploading new mission
replacing clear with truncate allows new missions to be uploaded while
the current mission is running
2014-03-19 12:12:36 +09:00
Randy Mackay
f3813593b7 Copter: use Dataflash lib's Log_Write_Cmd 2014-03-19 12:12:11 +09:00
Randy Mackay
7b6906ae3f Copter: integrate variable max num commands 2014-03-19 12:12:01 +09:00
Randy Mackay
b587d0d597 Copter: pass eeprom start to Mission constructor 2014-03-19 12:11:56 +09:00
Randy Mackay
b718b9070a Copter: call mission.init during startup 2014-03-19 12:11:47 +09:00
Randy Mackay
cc7b1c4e9c Copter: init_home checks cmd read success before logging 2014-03-19 12:11:39 +09:00
Randy Mackay
fa96e9355b Copter: init cmd before saving with Ch7/Ch8 2014-03-19 12:11:21 +09:00
Randy Mackay
0fc36fd244 Copter: CMD dataflash logs use uint16 for total and num 2014-03-19 12:11:15 +09:00
Randy Mackay
6bb05750e7 Copter: remove alt_in_cm from mavlink to cmd conversion 2014-03-19 12:11:04 +09:00
Randy Mackay
04166c1686 Copter: replace memset in GCS_Mavlink 2014-03-19 12:10:52 +09:00
Randy Mackay
c3162f67e8 Copter: integrate move of p1 from Location to mission cmd 2014-03-19 12:10:48 +09:00
Randy Mackay
aade894014 Copter: integrate replace_cmd 2014-03-19 12:10:43 +09:00
Randy Mackay
54c99d84ea Copter: integrate AP_Mission set_current_cmd 2014-03-19 12:10:39 +09:00
Randy Mackay
36af34bf8b Copter: send current wp as 65535 to GCS when mission complete 2014-03-19 12:10:34 +09:00
Randy Mackay
92738533fe Copter: auto starts only when num cmds > 1
num_commands will be 1 when there is no mission because home counts as
the first command
2014-03-19 12:10:30 +09:00
Randy Mackay
f77b2af661 Copter: use common location options masks 2014-03-19 12:10:26 +09:00
Randy Mackay
070cbc9250 Copter: use Mission mav to cmd conversion methods 2014-03-19 12:10:24 +09:00
Randy Mackay
67a4b47f6b Copter: pass ahrs into mission constructor 2014-03-19 12:10:15 +09:00
Randy Mackay
37fe229ded Copter: remove unused definitions 2014-03-19 12:10:12 +09:00
Randy Mackay
359f1a27ec Copter: process cmds from mission lib 2014-03-19 12:10:11 +09:00
Randy Mackay
6e0e672fb2 Copter: log using mission commands 2014-03-19 12:10:09 +09:00