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
Andrew Tridgell
c8af70a18d
Plane: make the plane code compatible with the new logging system
...
not actually converted yet
2013-04-20 13:52:36 +10:00
Andrew Tridgell
90f70707b1
Rover: convert to new logging system
2013-04-20 13:52:36 +10:00
Andrew Tridgell
916e8d0992
DataFlash: new dataflash logging system
...
this allows us to remove the display functions in the vehicle code,
and also allows us to store the format of a log file in the log. It
also stores the parameters used in a flight, rather than the
parameters set at the time the log is dumped
2013-04-20 13:52:36 +10:00
Andrew Tridgell
17d7f1fbe5
AP_InertialSensor: make some interfaces const
2013-04-20 13:52:36 +10:00
Andrew Tridgell
4fe5ce8a09
AP_Common: added a define for PACKED
...
neater than a pragma
2013-04-20 13:52:36 +10:00
Andrew Tridgell
8d727614b4
AP_GPS: make status() const
2013-04-20 13:52:36 +10:00
Andrew Tridgell
9171d5587d
AP_Param: make it easier to show the value of a parameter
2013-04-20 13:52:36 +10:00
Andrew Tridgell
7ad293e270
AP_AHRS: made a few methods const
2013-04-20 13:52:36 +10:00
Randy Mackay
37abfdc65a
Copter: make CIRCLE_RATE a tunable parameter
...
Also bug fix to check of how many time it has rotated during a loiter
turns mission command
2013-04-20 12:03:55 +09:00
Andrew Tridgell
947b64dfc4
Rover: fixed turn time in flash logs
2013-04-19 11:03:43 +10:00
Andrew Tridgell
6122dd2bdd
autotest: added command line extensions to sim_rover.sh
2013-04-19 10:24:47 +10:00
Andrew Tridgell
8ba982e8de
autotest: fix dump_logs for other vehicle types
2013-04-19 10:24:35 +10:00
Andrew Tridgell
a329e32ccb
Plane: added gps status to flashlog
2013-04-19 10:24:20 +10:00
Andrew Tridgell
a8d6fa3107
Rover: fixed dataflash logs to be useful
...
added sonar and fixed other messages
2013-04-19 10:23:57 +10:00
Randy Mackay
1c046fa49f
AC_WPNav: increase max descent speed to 1.5m/s
2013-04-18 22:32:00 +09:00
Randy Mackay
ed298363f4
AC_WPNav: remove unnecessary limit in leash calc
2013-04-18 22:31:44 +09:00
Randy Mackay
f162713ca8
AutoTest: reduce throttle so it doesn't fly so far
2013-04-18 22:30:41 +09:00
Randy Mackay
d65d7d95e2
Copter: bug fix for take-off so it never descends
...
If copter was already flying when take-off command was received it could
descend to the target altitude if it was below the current altitude.
2013-04-18 22:30:24 +09:00
Randy Mackay
0fc9c8739e
Copter: add WP_YAW_BEHAVE parameter
...
Allows user to control whether nose points towards next waypoint and/or
home when RTLing.
Replaces YAW_OVR_BEHAVE which had a very similar purpose. Almost nobody
ever knew about or used this parameter.
2013-04-18 15:30:18 +09:00
Randy Mackay
18c1373847
Copter: remove unused AUTO_VELZ defaults
...
These have now moved to AC_WPNav
2013-04-18 14:57:08 +09:00
Randy Mackay
f5955d8915
Copter: auto climb and descent params removed
...
These params now reside in the AC_WPNav library
2013-04-18 14:52:21 +09:00
Randy Mackay
764853bd56
AC_WPNav: add climb and descent params, dynamic leash length
2013-04-18 14:51:01 +09:00
Randy Mackay
effd5b0da7
AC_WPNav: improved comments
...
Made SPEEDZ a parameter although it's not yet used
2013-04-18 11:17:41 +09:00
Andrew Tridgell
fa493a0fb3
AP_Param: added ops needed for ArduCopter build
2013-04-18 11:12:46 +10:00
tobias
fbe7daa477
AP_Param: fixed assignment handling and const
...
this fixes radio_min = radio_max = radio_trim = 0; in RC_Channel
2013-04-18 10:52:40 +10:00
Craig Elder
5dcb64eec9
Merge pull request #206 from Craig3DRobotics/master
...
Changed Instructions for uploading firmware to PX4
2013-04-17 12:43:52 -07:00
Craig@3DR
b5b3b4f48b
Changed instructions for loading fimrware onto PX4
2013-04-17 11:46:04 -07: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
Randy Mackay
2b4a7d60a9
Copter: remove unused throttle modes
...
These were useful for testing the alt-hold when it was first introduced
but now they just add complexity
2013-04-17 22:14:22 +09:00
Andrew Tridgell
02bd24cf57
AP_Scheduler: fixed _last_run initialisation
...
another valgrind bug
2013-04-17 23:02:13 +10:00
Andrew Tridgell
0a25d6220a
AP_InertialNav: initialise _gps_last_time
...
found with valgrind
2013-04-17 23:02:13 +10:00
Andrew Tridgell
b3ec5187f2
AP_GPS: fixed uninitialied variable bugs found with valgrind
2013-04-17 23:02:13 +10:00
Randy Mackay
56809a9df2
Copter: remove unused nav_ok and alt_sensor_flag
2013-04-17 21:57:57 +09:00
Randy Mackay
0b808abbed
Copter: remove unused waypoint_valid function
2013-04-17 21:28:43 +09:00
Randy Mackay
a656b619f5
AP_Motors: remove auto_armed
...
redundant flag that was already held in the main code which is where it
belongs.
2013-04-17 21:28:42 +09:00
Randy Mackay
d2bd818b2d
Copter: bug fix for auto_armed logic
...
Zero throttle when switching into an auto flight mode would cause the
motors to stop.
2013-04-17 21:28:42 +09:00
Andrew Tridgell
68051f3ea6
AP_Menu: fixed crash bug in strtok_r() handling
...
on PX4 this causes a hard fault in CLI menus
2013-04-17 22:20:00 +10:00
Andrew Tridgell
b05117f5cd
build: fixed heli-hil and quad-hil copter builds
2013-04-17 21:39:22 +10:00
Andrew Tridgell
07cd2567f3
autotest: added --cli option to dump_logs.py
2013-04-17 21:39:22 +10:00
Andrew Tridgell
3f8fb48479
CPUInfo: test NaN and Infinity printing
2013-04-17 21:39:22 +10:00
Andrew Tridgell
0bbddbb877
Rover: added PX4 flash logging
2013-04-17 21:35:40 +10:00
Andrew Tridgell
abe4dba871
Plane: added PX4 flash logging
2013-04-17 21:35:27 +10:00
Andrew Tridgell
501eb4f0b4
Copter: made more variables static
2013-04-17 21:35:11 +10:00
Andrew Tridgell
a12323c9fd
Plane: fixed logging for new API
2013-04-17 21:34:56 +10:00
Andrew Tridgell
61c2befd4d
Copter: fixed logging for new API
2013-04-17 21:34:42 +10:00
Andrew Tridgell
df27b8b35d
Rover: fixed logging for new API
2013-04-17 21:34:20 +10:00
Andrew Tridgell
af7381e9e0
AP_HAL: added register_io_process()
...
this is used to register a low priority IO task. Used for file IO in
DataFlash_File.cpp
2013-04-17 21:33:50 +10:00