Commit Graph

9 Commits

Author SHA1 Message Date
Dominic Clifton 8f6558156f Update HoTT GPS coordinate calculations.
It was broken for South/West values.

Added additional tests for maximum long/lat values.

Requires field testing to make sure values are correct on the telemetry
display.
2014-05-26 02:15:06 +01:00
Dominic Clifton 10279c0178 Updated GPS logitude/latitude calculation.
The existing implementation that was ported over was trying to work with
different values.  By writing a unit test for the code that stores
values in GPS_coord it was possible to have known values which could
then also be used to write a unit test for the HoTT telemetry which
finally enabled production code to be written.

Hopefully it will work, unable to test further since my GPS unit is
playing up.
2014-05-24 21:16:02 +01:00
Dominic Clifton b0e1c934d4 Adding unit test for some gps conversion code to demystify it. 2014-05-24 17:54:57 +01:00
Dominic Clifton 126f94b2c1 fix include file order on flight imu unit test 2014-05-13 16:22:55 +01:00
Dominic Clifton d352c68c9b Renaming angleInclination_t to rollAndPitchInclination. renamed angle
to inclination.
2014-05-05 17:45:46 +01:00
Dominic Clifton a4b16f461c Adding test-specific platform.h file. 2014-05-05 17:09:55 +01:00
Dominic Clifton 8999752cf0 Removing redundant test (scenario is covered by other tests). 2014-05-05 17:09:29 +01:00
Dominic Clifton ddd322fb9f Adding test for the downwards thrust direction logic added in
495c6b8f73.
2014-05-05 17:06:20 +01:00
Dominic Clifton f268c9c4f2 Adding the first unit test to verify battery voltage calculations based
on expected ADC readings.
2014-05-05 15:29:23 +01:00