summaryrefslogtreecommitdiff
path: root/src/test
Commit message (Collapse)AuthorAge
...
* fix missing newline at end of src/test/MakefileBdale Garbee2013-12-19
|
* altos/test: Compute and plot tilt based on GPS trackKeith Packard2013-12-07
| | | | | | | This lets us compare the gyro-computed tilt angle against the actual flight path. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Clean up .gitignore and add a few random filesKeith Packard2013-11-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add orientation tracking to ao_flight_testKeith Packard2013-11-12
| | | | | | Shows calculated offset from vertical in ao_flight_test output Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Update quaternion tests to check vectors_to_rotationKeith Packard2013-10-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Calibrate IMU accelerometers tooKeith Packard2013-10-25
| | | | | | | | Average the IMU accelerometer values pointing up and down so that we have a zero-g offset for all three axes. This can then be used to compute which direction the rocket is pointing while sitting on the pad. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add gyro-based orientation trackingKeith Packard2013-10-25
| | | | | | | This tracks the angle-from-vertical as an additional input to the pyro channels. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix GPS test frameworks to handle shared ao_gps_new variableKeith Packard2013-10-25
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Merge GPS logging into a single functionKeith Packard2013-10-14
| | | | | | | | | | | | Create a new global, ao_gps_new, which indicates new GPS position and satellite data. Use ao_gps_new as the new sleep/wakeup address. Merge the separate gps position/satellite logging tasks into a single function which waits for new data and writes out the changed values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make TeleMini v2.0 fitKeith Packard2013-08-25
| | | | | | Mash lots of storage locations and code around to shrink stuff down to size Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add 64-bit subtractionKeith Packard2013-08-25
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add 64x64 multiply. Test 64 ops for dest same as either sourceKeith Packard2013-08-25
| | | | | | | The test change is to ensure that the destination may be one of the 64 bit sources. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add 64-bit add/mul/shift for SDCCKeith Packard2013-08-25
| | | | | | | | SDCC doeesn't provide a native 64-bit type (sigh), so implement the minimal operations necessary for the MS5607 conversion routine. Signed-off-by: Keith Packard <keithp@keithp.com>
* Initial TeleMini bitsKeith Packard2013-08-25
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make FAT test program link explicitly against libcryptoKeith Packard2013-08-17
| | | | | | | For some reason, the MD5_Final symbol isn't resolved when linking only against libssl. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Light pyro charges simultaneously if so configuredKeith Packard2013-05-26
| | | | | | | | Don't try to be nice to the battery, just let the pyro circuit deal with it and try to get all of the specified circuits going at the same time if they're configured to do so. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add pyro code testing to ao_flight_test for TeleMegaKeith Packard2013-05-26
| | | | | | | This parses the pyro settings and signals when the pyro channels are fired in the output. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: gps serial routines are called ao_gps_*, not ao_ublox_*Keith Packard2013-05-15
| | | | | | | This caused the u-blox driver to use serial port 1 instead of the project-specified serial port. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add 'g' command to ublox GPS code.Keith Packard2013-05-15
| | | | | | | | Take the gps_dump function from ao_gps_skytraq.c and move it to a new file so it can be shared with the u-blox driver. That affects every skytraq and u-blox user as they need to include the new file. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/test: ao_gps_test_ublox uses ao_gps_blox.hKeith Packard2013-05-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add U-Blox GPS driverKeith Packard2013-05-13
| | | | | | Uses binary mode. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/test: Fix warning in ao_aprs_testKeith Packard2013-05-07
| | | | | | Was not forward-declaring ao_radio_send_aprs, causing a warning Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Ignore ao_aes_test binaryKeith Packard2013-05-07
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/test: Add telemega plot helper scriptKeith Packard2013-05-07
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Build test framework for AES codeKeith Packard2013-05-07
| | | | | | Simple CBC-CMAC test with a constant 0 key and constant 0 data for now. Signed-off-by: Keith Packard <keithp@keithp.com>
* name change from MegaMetrum to TeleMegaBdale Garbee2013-04-22
|
* altos: update .gitignore filesMike Beattie2013-04-22
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altos: Stick a mutex around FAT operationsKeith Packard2013-04-12
| | | | | | This allows the command line and logging operations to occur safely in parallel Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add a FAT test that re-writes the same file multiple timesKeith Packard2013-04-01
| | | | | | This caught a bunch of FAT cluster chain allocation bugs. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Unmount file system after each testing pass in ao_fat_testKeith Packard2013-03-31
| | | | | | Otherwise, we use stale data and 'bad things' happen. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Get CC115L radio working.Keith Packard2013-03-29
| | | | | | | | | | | | | | | | This involved figuring out which GPIO signal would reliably indicate that the transmitter was finished; I ended up using the PA_PD bit for this. This also converts all of the radio users to the long packet support as the CC115L has only a 64-byte fifo, not large enough to hold either an RDF tone or a regular AltOS telemetry packet. This also renames the public API for sending APRS packets from ao_radio_send_lots to ao_radio_send_aprs, which is at least more accurate. The workings of that API haven't changed, just the name. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add FAT32 support. And lots more testing.Keith Packard2013-03-29
| | | | | | | | Generalizes the FAT code to deal with either 16-bit or 32-bit versions. The testing code now runs over a variety of disk images to check for compatibility on all of them. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add a simple cache for the FAT position->cluster computationKeith Packard2013-03-28
| | | | | | | This improves read/write performance with large files by not re-walking the cluster chain for every operation Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Clean up fat driver API. Improve fat testKeith Packard2013-03-28
| | | | | | | | Make FAT api provide reasonable error return values, change the tests to write and then read a pile of files, checking that the contents are correct (using md5sum). Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add SDCARD and FAT16 filesystem supportKeith Packard2013-03-27
| | | | | | | This adds a fairly primitive FAT16 file system implementation along with support for SD cards. Signed-off-by: Keith Packard <keithp@keithp.com>
* all: clean up .gitignore files and Makefile clean targetsMike Beattie2013-02-15
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* test: Accept micropeak CSV files for micropeak testingKeith Packard2013-02-04
| | | | | | | This interpolates the missing values to provide a reasonable testing environment for the Micropeak flight firmware. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add Kalman filter to MicroPeakKeith Packard2013-01-16
| | | | | | | | This filters altitudes more accurately and also allows tracking of acceleration, which is used to discard height data generated by ejection charge noise Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Average MPU6000 values on ground for later useKeith Packard2012-12-17
| | | | | | | Having long-term ground averages recorded to the eeprom file will make post-flight analysis of the data better. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Test APRS rounding by using coordinates near the boundaryKeith Packard2012-12-16
| | | | | | | This selects lat/lon and altitude near the rounding boundary to check that the resulting APRS data is correctly computed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Hook APRS up to the radioKeith Packard2012-12-06
| | | | | | | This adds an arbitrary-length packet writing function to the radio code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Prepare APRS for use within altos itselfKeith Packard2012-12-05
| | | | | | | Make all variables static, const-ify constants, change the public name of the single entry point. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Start restructuring APRS code to create and send packetsKeith Packard2012-12-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove more unused APRS codeKeith Packard2012-12-05
| | | | | | Getting down to a reasonable amount of code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Strip out everything but the basic position reporting from APRSKeith Packard2012-12-05
| | | | | | | Any useful data will be sent over the digital link; APRS is strictly for position tracking Signed-off-by: Keith Packard <keithp@keithp.com>
* Signed-off-by: Keith Packard <keithp@keithp.com>Keith Packard2012-12-05
| | | | | | altos: Switch APRS to standard position reporting form Stop using NMEA sentences for position
* altos: Generate all of the APRS messagesKeith Packard2012-12-05
| | | | | | | Note that two of them are in NMEA form, which some receivers appear not to parse Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add test scaffolding for APRSKeith Packard2012-12-05
| | | | | | | | This moves some test code out of ao_aprs.c and into ao_aprs_test.c, and then adds Makefile fragments to compile and run the resulting program, creating a wav file as output Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make skytraq reflashing code try both 9600 and 4800 baudKeith Packard2012-11-30
| | | | | | | This lets it communicate with the ROM code which boots at 4800 baud instead of 9600 baud. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add support for 115200 baud serial ratesKeith Packard2012-11-30
| | | | | | Necessary for flashing skytraq chips Signed-off-by: Keith Packard <keithp@keithp.com>