summaryrefslogtreecommitdiff
path: root/aoview
Commit message (Collapse)AuthorAge
* Rename tools to ao-<foo>Keith Packard2009-08-18
| | | | | | | Use a consistent prefix to make it easier to remember which programs belong to this package Signed-off-by: Keith Packard <keithp@keithp.com>
* Handle partial ALSA PCM writesKeith Packard2009-08-09
| | | | | | | The ALSA spec says that snd_pcm_writei will not return a partial write, but at least on the OLPC, that's not true. Deal with this. Signed-off-by: Keith Packard <keithp@keithp.com>
* Check more alsa return statusesKeith Packard2009-08-09
|
* Don't report distance to rocket without valid GPSKeith Packard2009-07-18
| | | | | | | When there's no valid GPS data, don't try to report the distance and bearing to the rocket after landing. Signed-off-by: Keith Packard <keithp@keithp.com>
* Display last known GPS coord while unlockedKeith Packard2009-07-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* use g_source_destroy instead of free on serial objectKeith Packard2009-07-18
|
* Trim aoview_serial_set_callback args down to just port and callbackKeith Packard2009-07-18
|
* Support the not-connected GPS stateKeith Packard2009-07-17
|
* Rolling average for pad location. Say 'GPS ready'.Keith Packard2009-07-17
| | | | | | | | | Use a rolling average for the pad location, instead of just averaging all positions. This filters out old (presumably less accurate) values eventually. When enough GPS samples have been acquired, say 'GPS ready'. Signed-off-by: Keith Packard <keithp@keithp.com>
* Split GPS data into a separate columnKeith Packard2009-07-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Hook aoview directly to alsaKeith Packard2009-07-11
| | | | | | | | This skips the flite internal audio stuff which opened and closed the audio device for each phrase. This caused the first part of some phrases to be missed when using an external audio device. Signed-off-by: Keith Packard <keithp@keithp.com>
* Show speed. Format numbers. Timeout and report final status.Keith Packard2009-07-09
| | | | | | | | | | | | | | The speed value is now shown in the top label bar. Ascent shows accelerometer-derived data, otherwise it's baro derived. All of the numbers displayed are now given sensible printf formats so they don't contain way too many digits. Instead of doing periodic reporting based on flight tick count, data is reported every 10 seconds based on wall time. After landing, or when no data have been received for a while, final flight information is spoken. Signed-off-by: Keith Packard <keithp@keithp.com>
* Dont smash aoview_monitor_parse input bufferKeith Packard2009-07-05
|
* Integrate flite into aoview directly. Fix great circle computation.Keith Packard2009-06-30
| | | | | | | | Use a separate thread for flite rather than a separate program. Save voice state to gconf. Add filters for replay file selection Signed-off-by: Keith Packard <keithp@keithp.com>
* Make window tallerKeith Packard2009-06-30
|
* Add telem replay and larger labelsKeith Packard2009-06-30
| | | | | | | Replays telemetry files in real time Shows height/state/rssi in big values at the top. Signed-off-by: Keith Packard <keithp@keithp.com>
* Update aoview/.gitignoreKeith Packard2009-06-29
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Use flite to announce flight stateKeith Packard2009-06-29
| | | | | | | This uses the flite voice synthesis library from festival to announce altitude and speed information during the rocket flight. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add GPS speed and error data to telemetry and aoviewKeith Packard2009-06-29
| | | | | | | Having switched to the SiRF binary GPS format, the velocity and error data can now be displayed. Signed-off-by: Keith Packard <keithp@keithp.com>
* Some kernels reference USB ttys as tty/tty* instead of tty:tty*Keith Packard2009-06-14
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge ccdbg and altos sources into one giant repositoryKeith Packard2009-06-04
| | | | | | Keeping these separate isn't making things any easier. Signed-off-by: Keith Packard <keithp@keithp.com>
* Use autotools, move altos to src subdirKeith Packard2009-06-04
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Make menu seperator insensitiveKeith Packard2009-06-04
|
* aoview: Add eeprom data fetchingKeith Packard2009-06-03
| | | | | | | Fetches the last flight data from a TM device connected via USB and writes it to the flight log directory. Signed-off-by: Keith Packard <keithp@keithp.com>
* Fix aoview telemetry GPS parsing code to use correct columnsKeith Packard2009-05-23
| | | | | | | This code was trying to pull the GPS data from the wrong columns, causing aoview to fail to display GPS information. Signed-off-by: Keith Packard <keithp@keithp.com>
* Make file handling more general so it can be reused.Keith Packard2009-05-20
| | | | | | | The log file handling stuff will be useful for saving eeprom data, so pull it out of the real-time log handling code and make a general interface. Signed-off-by: Keith Packard <keithp@keithp.com>
* Ignore aoview_glade.hKeith Packard2009-05-17
|
* Transmit computed ground pressure and acceleration values0.4Keith Packard2009-05-17
| | | | | | | | | These are the last two values relevant to figuring out the state of the flight computer, and as they are computed by averaging 10 seconds of 100Hz sample data, they're a lot more accurate than anything the receiver could do on its own. Signed-off-by: Keith Packard <keithp@keithp.com>
* Provide install targetKeith Packard2009-05-17
|
* Embed glade file in executableKeith Packard2009-05-17
| | | | | | This eliminates install issues nicely. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add About dialog to aoview.Keith Packard2009-05-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* USB device names can contain '.' tooKeith Packard2009-05-17
| | | | | | | Depending on the hierarchy of devices, names can contain '.', so allow those too. Signed-off-by: Keith Packard <keithp@keithp.com>
* scandir returns -1 on errorKeith Packard2009-05-17
| | | | | | | In which case, the namelist is invalid, so don't look at it, and don't free it. Signed-off-by: Keith Packard <keithp@keithp.com>
* Send computed accel/vel/pres values over the radio0.3Keith Packard2009-05-17
| | | | | | | | These computed values reflect what the flight computer is actually refering to for state changes, and will be useful in debugging the flight software as well as provide a filtered view of the data. Signed-off-by: Keith Packard <keithp@keithp.com>
* Handle disappearing serial devicesKeith Packard2009-05-17
| | | | | | | Put up a dialog when the serial open fails, and shut down monitoring when the serial device disappears while running. Signed-off-by: Keith Packard <keithp@keithp.com>
* Clear table, reset log on disconnectKeith Packard2009-05-17
|
* Add pad lat/lon, max accel, max heightKeith Packard2009-05-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Clean up GPS displayKeith Packard2009-05-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Make aoview window tallerKeith Packard2009-05-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Add lots more aoview UI bitsKeith Packard2009-05-17
| | | | | | Logs data to files, displays current state in window. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add preliminary aoview codesn4-flight2sn4-flight1Keith Packard2009-05-16
AoView connects with TeleDongle to present telemetry information in a reasonable form. Right now, it just displays information to stdout, but it does have fancy dialogs for finding the USB devices. Signed-off-by: Keith Packard <keithp@keithp.com>