Commit Graph

196 Commits

Author SHA1 Message Date
Randy Mackay
84881470b1 Copter: suspend logging while disarmed 2014-01-07 22:43:47 +09:00
Andrew Tridgell
97df2f64c9 Copter: use common available_memory() 2013-12-28 16:02:32 +11:00
Andrew Tridgell
edda76623f Copter: updates for DataFlash API changes 2013-12-17 11:51:36 +11:00
Andrew Tridgell
5802d7f86b Copter: added logging of 2nd compass 2013-12-10 13:35:04 +11:00
Andrew Tridgell
cc3ee2ec0c Copter: added dual compass logging when available 2013-12-10 13:31:42 +11:00
Andrew Tridgell
ffdcb715c3 Copter: updates for compass API change 2013-12-09 17:34:06 +11:00
Randy Mackay
4b3aff3f91 Copter: log flight mode to dataflash on start-up 2013-12-06 12:58:23 +09:00
Randy Mackay
9d92e46198 Copter: correct optflow logging 2013-12-02 11:58:28 +09:00
Randy Mackay
d7c636b4aa Copter: remove yaw_in from ATT dataflash msg 2013-11-27 22:59:31 +09:00
Randy Mackay
7ef04bb73b Copter: rename nav_yaw to control_yaw 2013-11-27 22:48:20 +09:00
Randy Mackay
10d6a9a34e Copter: replace Log_Write_Motors with Log_Write_RCOU 2013-11-27 20:18:18 +09:00
Randy Mackay
af657d58b9 Copter: RCIN dataflash logging 2013-11-27 16:46:25 +09:00
Andrew Tridgell
21eac34cd1 Copter: log system ID if available 2013-11-26 13:00:03 +11:00
Randy Mackay
965af43121 Copter: add INAV error count to PM dataflash msg 2013-11-21 17:02:04 +09:00
Randy Mackay
7dd4ab835f Copter: CURR dataflash msg to output throttle_out
Previously it was outputting throttle-in which is not as useful in
autonomous modes
2013-11-18 13:30:48 +09:00
Randy Mackay
1359a8fea5 Copter: log INS errors in PM message 2013-11-18 12:16:21 +09:00
Randy Mackay
5cc8772947 Copter: bug fix to Tricopter motor logging
Fourth motor taken from yaw channel's radio_out instead of random
location in memory
2013-11-16 10:48:02 +09:00
Randy Mackay
1f6bc7bd9c Copter: log TradHeli ch7, ch8 in MOT message 2013-11-15 22:58:17 +09:00
Robert Lefebvre
9ae66c1773 TradHeli: add support for drive tail rotors
Repurposed external gyro and made it multi-funcitonal.
required PWM on Ch8 to start the motor in RSC Mode moved up from 100 to 400. This is to facilitate two-stage switching of the motors with PWM>100 starting the tail motor, and PWM>400 starting the main motor.
Additional amendments by Randy
2013-11-15 22:58:04 +09:00
Randy Mackay
46118b59d7 TradHeli: integrate motor lib changes 2013-11-15 22:57:43 +09:00
Andrew Tridgell
6b1f59372c Copter: show git and firmware version in tlog 2013-11-09 10:09:20 +11:00
Tobias
d6d5f0bbe4 Copter: Log.pde: replace unused copy with ref (saves again some bytes) 2013-10-27 13:40:40 +09:00
Andrew Tridgell
92bf4b9c89 Copter: added MAVLink SYSTEM_TIME message 2013-10-24 14:22:47 +11:00
Randy Mackay
ba92c4891a Copter: make AutoTune a compile-time option 2013-10-04 15:50:50 +09:00
Randy Mackay
31cea0140d Copter: Leonard's AutoTuning for Roll and Pitch 2013-10-04 15:50:47 +09:00
Randy Mackay
dab4f032f9 Copter: integrate BattMonitor 2013-10-03 11:16:28 +09:00
Randy Mackay
a53d28e018 Copter: remove support for dmp ahrs 2013-09-27 10:42:49 +09:00
Andrew Tridgell
a06f8a156d Copter: fixed PX4 build 2013-08-19 21:12:41 +10:00
Randy Mackay
2696e160e6 Copter: surface tracking improvement
Separate correction speeds for pilot input vs altitude-above-ground
errors to allow slower correction to sonar signals.
Change SONAR_GAIN parameter to be altitude error -> desired speed.  This
means it should be set 10x larger than before.
Replace hard-coded sonar cut-off percentage of 70% with
SONAR_RELIABLE_DISTANCE_PCT.
Reduce sonar cut-off percentage to 60%.
Add desired sonar altitude to dataflash log's CTUN message.
2013-08-19 09:52:59 +09:00
tobias
4e73cf810e Copter: added cast to remove compiler warning 2013-07-08 12:07:50 +10:00
Randy Mackay
4ad395e7be Copter: merge WPNAV into NTUN dataflash message 2013-05-19 22:53:35 +09:00
Randy Mackay
0a148cce19 Copter: log target alt in meters 2013-05-08 16:41:16 +09:00
Randy Mackay
cca05ee8ae Copter: start dataflash logging when arming
Stop nearly empty logs from being produced.
Removed redundant armed bit from ap state.
2013-05-03 14:49:55 +09:00
Randy Mackay
bab9fa25e5 Copter: add GCS failsafe 2013-04-29 21:30:22 +09:00
Randy Mackay
45aab0de92 Copter: add I2C error count to PM message 2013-04-26 22:39:22 +09:00
Andrew Tridgell
9cec664236 Copter: fixed format of PM message log 2013-04-21 23:46:35 +10:00
Andrew Tridgell
02c3083f60 Copter: print flight mode as string 2013-04-20 15:18:22 +10:00
Andrew Tridgell
ce3ee97e73 Copter: removed duplicate print_latlon() declarations 2013-04-20 13:57:45 +10:00
Andrew Tridgell
93d075404c Copter: added board voltage to current message 2013-04-20 13:52:37 +10:00
Andrew Tridgell
a0708460a4 Copter: convert to new logging system 2013-04-20 13:52:37 +10:00
Andrew Tridgell
67484a2ea1 Copter: make copter code compatible with the new logging system
not fully converted yet
2013-04-20 13:52:36 +10:00
Randy Mackay
9b351feade Copter: shorted INAV dataflash log message length
Velocities are now output in WPNav message
2013-04-17 22:39:30 +09:00
Randy Mackay
f7524e5741 Copter: remove unnecessary cast to float in Log 2013-04-17 22:35:02 +09:00
Randy Mackay
7c8527e6a6 Copter: resolve compiler warning 2013-04-17 22:14:47 +09:00
Andrew Tridgell
61c2befd4d Copter: fixed logging for new API 2013-04-17 21:34:42 +10:00
Randy Mackay
8fe3e689f4 Copter: add WPNAV log message 2013-04-15 21:54:29 +09:00
Randy Mackay
1ee825ee9a Copter: move alt and wp checking to AC_WPNAV
RTL fix so that if it starts rtl-ing from above 80m it returns home
while descending instead of descending at initial position.
add get and set_target_alt_for_reporting
2013-04-14 10:39:23 +09:00
Randy Mackay
4de5f67a91 Copter: replace wp_nav.get_target_alt with get_destination_alt 2013-04-14 10:38:17 +09:00
Randy Mackay
5b93990e41 Copter: removed next_WP
Use the wp_nav.get_target_alt or controller_desired_alt in it's place
2013-04-14 10:38:07 +09:00
tobias
217b8d7a59 cleanup: use const for struct Location pointers and references
this allows the compiler to generate more efficient code
2013-04-09 12:10:32 +10:00