Andrew Tridgell
cebb67e1df
APM: removed the unused sonar code
...
when we start supporting a sonar we'll add a AP_Sonar library, like
AP_Airspeed
13 years ago
Andrew Tridgell
37cb56f3e1
APM: save another few bytes
13 years ago
Andrew Tridgell
12dc2e79cf
APM: save 100 bytes of memory
...
remove flight_mode_strings array
13 years ago
uncrustify
39ab309b87
uncrustify ArduPlane/Log.pde
13 years ago
rmackay9
360c1198a6
ArduPlane: more "int" to "int16_t" and added cast to (int) in printf statements.
...
Also modified dump_log function's last_log_num to be int16_t which matches return type from DataFlash's find_last_log method.
13 years ago
Andrew Tridgell
0868bb76e5
APM: fixed SITL build
13 years ago
Andrew Tridgell
5bfd1200d6
APM: change variables to use _cm, _cd and _ms suffix for units
...
this makes it less likely that we mix up units
13 years ago
Andrew Tridgell
7e697e4abd
APM: switch back to old nav_roll calculation
...
the old nav_roll will be used for the 2.50 release to prevent the need
for re-tuning. For the release after that we will use the new
calculation
13 years ago
Andrew Tridgell
de3c9ce56d
Airspeed: change APM to use new AP_Airspeed library
...
the next step is AHRS dead reckoning
13 years ago
Andrew Tridgell
66544a5db2
Log: don't print '+' while erasing logs
...
we no longer do page based erase, so printing a + every 128 pages
makes no sense
13 years ago
Andrew Tridgell
8e01bc3593
MAVlink: update ArduPlane for param fetch during DataFlash erase
...
same changes as for ArduCopter
13 years ago
Andrew Tridgell
8afd196907
APM: adapt ArduPlane for AHRS framework
13 years ago
Andrew Tridgell
d75e883fe8
GCS: get_integrator() is now get_gyro_drift() in DCM
13 years ago
Andrew Tridgell
95ef9206dc
DCM: renorm_sqrt_count is now called renorm_range_count
13 years ago
Doug Weibel
69c7598db2
Update battery monitoring code for ArduPlane
...
Fixes compatibility for APM2. Also a significant update to the battery monitoring code: We previously had monitoring modes for individual cell voltages for 3 and 4 cell lipos. These have been removed as they were never really supported (the cell voltages were computed but were not reported or recorded anywhere). Also, some clean-up/prep work was done for supporting monitoring 2 separate battery packs. The CLI battery and current monitoring tests were consolidated into 1 test.
13 years ago
Andrew Tridgell
8d87aa41b9
APM: Update for DataFlash changes
13 years ago
Andrew Tridgell
f5a3eed1a7
APM: fixed some unsigned/signed warnings
13 years ago
Andrew Tridgell
d81dc21dfe
APM-log: fixed reading of GPS logs
13 years ago
Andrew Tridgell
3f9f3f3416
APM-log: changed to use df_NumPages
...
this copes with different data flash sizes on APM1 and APM2
13 years ago
Andrew Tridgell
e687ce9b3d
mainloop_count should be uint16_t
13 years ago
Andrew Tridgell
71c911f65d
Log: fixed logging dependence on compiler arg eval order
13 years ago
Andrew Tridgell
f25ee899f3
APM: run mavlink loop while erasing logs
13 years ago
Doug Weibel
ca89857854
Changes to logging file system to avoid problems with 0 and 1 page logs
13 years ago
Doug Weibel
502a98dda1
Add hook to dump log filesystem index for debugging
13 years ago
Doug Weibel
88ab4f7d70
Fix for intermittent bug of log #1 starting on page 2 and confusing file system
13 years ago
Doug Weibel
b03de3095e
Add DataFlash.Init before doing a forced log erase on eeprom reset.
...
Add progress indication during log erase
13 years ago
Andrew Tridgell
a048709828
Logs: don't print hundreds of bogus log boundaries
...
this can take quite a long time
13 years ago
Doug Weibel
b05e1d90f5
Change type to support "dump all with -1"
13 years ago
Doug Weibel
0f428bd43a
Logging cleanup. Fixed missing cast, removed erase warning, added -1 to dump all option, and fix intermittent bug for log number 1.
13 years ago
Doug Weibel
27e68234b7
Simplified logging logic for finding start/end of log files
13 years ago
Doug Weibel
244eeea34a
Rework logging file system to be more robust
13 years ago
Andrew Tridgell
9ea0fc9539
Log: prevent looping forever
...
this happened with an empty dataflash
13 years ago
Jason Short
7ffa2c4347
shortened strings
13 years ago
Doug Weibel
88f5669104
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.
13 years ago
Doug Weibel
f752c4b799
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
13 years ago
Doug Weibel
0433cd6d69
Missed hunk for last commit
13 years ago
Doug Weibel
9fe554236b
Add logging of DCM drift correction integrator in PM
...
This may be a temporary feature… Mostly added to check new (lower) integrator limit.
13 years ago
Andrew Tridgell
92471aead2
Log: better way to check for -1 long portably
13 years ago
Andrew Tridgell
2bd451b445
Log: make find_last_log_page() portable
...
this makes it work with platforms with a larger 'long'
13 years ago
Andrew Tridgell
ae1e1c940f
Log: fixed a bug where we could index outside an array
...
when we first start up, num_existing_logs may be zero
13 years ago
Andrew Tridgell
1118d26f03
fixed "Free RAM" display on bootup
13 years ago
Doug Weibel
645b9c1d48
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.
13 years ago
Andrew Tridgell
63ac6bcd94
use memcheck_available_memory() instead of freeRAM()
...
this gives a more accurate view of free memory
14 years ago
Andrew Tridgell
e61d742345
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
14 years ago
Amilcar Lucas
b7a0d8836a
This is the real HEAD of the APM_Camera branch. Seams that lots of changes got lost in the SVN to GIT port
14 years ago
Andrew Tridgell
609ae8359d
import APM_Camera branch from SVN
14 years ago
Andrew Tridgell
e0dc1271d6
imported ArduPlane from ArduPilotMega svn
14 years ago
Andrew Tridgell
1456a2a912
renamed top level directories
...
ArduCopterMega -> ArduCopter
added archives directory for old code
14 years ago
jasonshort
3b622dc43c
Reset_hold_I no longer clears throttle_I value for return to alt hold
...
Removed Baro Init in Auto Mode.
increased Rate Error limit on Alt Hold
Slightly decreased alt P to reduce pulsing motors
Added rate limit for nav so we can reduce initial pitch to target.
Using MINIMUM_THROTTLE value to test for Reseting Alt Hold now.
Fixed extra Log formatting statement in CTUN.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3294 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
1853c8ae0a
Cleanup
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3293 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago