Commit Graph

3002 Commits

Author SHA1 Message Date
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
Randy Mackay 43c7310540 Copter: ch7 save wp feature to use ap_mission 2014-03-19 12:10:08 +09:00
Randy Mackay ffc418dfe3 Copter: add mavlink packet to cmd conversion to GCS_Mavlink.pde 2014-03-19 12:10:06 +09:00
Randy Mackay 9f03e21f81 Copter: remove low-level handling of mission cmds
Now handled by AP_Mission
2014-03-19 12:10:04 +09:00
Randy Mackay 5d568502a0 Copter: instantiate AP_Mission object 2014-03-19 12:10:03 +09:00
Randy Mackay 1bad6a4b15 Copter: add AP_Mission object parameter
Remove global command_total and command_index parameters
2014-03-19 12:10:01 +09:00
Randy Mackay 0d23c3b910 Copter: initialise vertical speed for Loiter mode 2014-03-17 10:17:57 +09:00
Holger Steinhaus 39df609235 Copter: fixed vertical speed init for ALT_HOLD mode 2014-03-17 10:12:35 +09:00
Andrew Tridgell 43d009e3a5 Copter: set 2nd GPS as secondary 2014-03-08 21:48:18 +11:00
Randy Mackay 9287e28307 Copter: bug fix display of PerfMon log's num long loops 2014-03-08 15:17:03 +09:00
Randy Mackay 54e131cf1f Copter: re-enable CLI for Pixhawk 2014-03-08 15:17:02 +09:00
Randy Mackay 6efc26d3a6 Copter: restore mount's mode to default after ROI completes 2014-03-05 16:02:14 +09:00
Randy Mackay 7992a1a7d3 Copter: disable the CLI by default
This is unfortunate but master's flash size is over the APM2 limit
2014-03-05 12:03:56 +09:00
Randy Mackay 4f963e7795 Copter: move report_compass out of the CLI
This function is also used by compassmot.  Having it strictly part of
the CLI causes a compile error when the CLI is disabled
2014-03-05 12:01:45 +09:00
Randy Mackay 00f9843e40 Copter: remove CLI tests for gps, logging, radio
Required to shrink the firmware down so that it can fit on the APM2
boards
2014-03-05 11:44:09 +09:00
Randy Mackay fc85228d09 Copter: remove CLI set
Frees about 1k of flash
2014-03-04 22:23:57 +09:00
Randy Mackay 3a934357e9 Copter: remove unused reset_land_detector 2014-03-04 22:23:55 +09:00
Randy Mackay c56f521897 Copter: ch6 tuning of RC_FEEL_RP 2014-03-04 22:23:53 +09:00
Randy Mackay e89600afe3 Copter: integrate smoothing gain into flight modes 2014-03-04 22:23:52 +09:00
Randy Mackay 3910ab807f Copter: replace input filtering with smoothing gain 2014-03-04 22:23:50 +09:00
Randy Mackay 429e8d5e50 Copter: integrate AttControl feel param 2014-03-04 22:23:49 +09:00