Commit Graph

19 Commits

Author SHA1 Message Date
Andrew Tridgell fb21e619fe Logs: don't print hundreds of bogus log boundaries
this can take quite a long time
2011-11-26 17:02:55 +11:00
Doug Weibel 516216f159 Change type to support "dump all with -1" 2011-11-24 18:55:33 -07:00
Doug Weibel 4a07bb3127 Logging cleanup. Fixed missing cast, removed erase warning, added -1 to dump all option, and fix intermittent bug for log number 1. 2011-11-24 18:55:33 -07:00
Doug Weibel 06c88cf07b Simplified logging logic for finding start/end of log files 2011-11-24 18:55:32 -07:00
Doug Weibel e02d615c8a Rework logging file system to be more robust 2011-11-22 20:20:17 -07:00
Andrew Tridgell d9f32ce5b8 Log: prevent looping forever
this happened with an empty dataflash
2011-11-20 19:06:24 +11:00
Jason Short 014204409a shortened strings 2011-11-19 14:02:45 -08:00
Doug Weibel 0bc31fa236 Remaining changes to the logging file system.
With these changes the logging system will allow overwriting of logs with no loss of functionality.  I have tested (successfully) logging with the Dataflash being filled and overwriting previous files.  I have also tested with a single long file that partially overwrites itself.
2011-11-17 21:25:51 -07:00
Doug Weibel a11ea12ca8 Change to logging file system.
This commit is somewhat temporary as I have come up with a better scheme and will be modifying this.  Just making this commit in case I need to roll back
2011-11-17 21:25:51 -07:00
Doug Weibel b23dd36f6d Missed hunk for last commit 2011-11-15 20:43:00 -07:00
Doug Weibel b7494774f7 Add logging of DCM drift correction integrator in PM
This may be a temporary feature…  Mostly added to check new (lower) integrator limit.
2011-11-15 20:42:59 -07:00
Andrew Tridgell a045e4ec7e Log: better way to check for -1 long portably 2011-11-08 07:58:34 +11:00
Andrew Tridgell 4113d04f70 Log: make find_last_log_page() portable
this makes it work with platforms with a larger 'long'
2011-11-07 23:50:49 +11:00
Andrew Tridgell 0775f57a89 Log: fixed a bug where we could index outside an array
when we first start up, num_existing_logs may be zero
2011-11-07 22:56:13 +11:00
Andrew Tridgell 4a92048ef0 fixed "Free RAM" display on bootup 2011-10-28 21:34:10 +11:00
Doug Weibel 1cd3c21774 Initial rewrite of command logic.
Changes mission structure so that conditional and immediate commands are located between associated waypoints instead of after the second waypoint.
2011-10-27 13:45:52 -06:00
Andrew Tridgell e927cf94d7 use memcheck_available_memory() instead of freeRAM()
this gives a more accurate view of free memory
2011-10-09 22:08:59 +11:00
Andrew Tridgell de18df06b5 GCS: make the two GCS links gcs0 and gcs3
the artifical separation between 'gcs' and 'hil' just leads to
confusion. This also simplifies the code a bit more, and saves us a
bit more text
2011-09-19 11:04:02 +10:00
Andrew Tridgell 89fa70520f imported ArduPlane from ArduPilotMega svn 2011-09-09 11:29:39 +10:00