summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* altos: Send SPI message at flight state changesKeith Packard2011-08-13
| | | | | | | Get the companion board starting its data logging as soon as possible after boost starts. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add companion support to the flight UI and CSV conversionKeith Packard2011-08-13
| | | | | | | Shows the companion data in a new tab. Also put companion data into CSV file. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Check for companion init packet validity was bustedKeith Packard2011-08-13
| | | | | | | Was using board_id == ~board_id instead of board_id == ~board_id_inverse. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: add the 'L' command to show the status of a linked companion boardKeith Packard2011-08-13
| | | | | | | This prints out whether there is a board connected, along with the various values fetched from it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make sure companion task exits cleanly when doneKeith Packard2011-08-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Put SPI in slower mode when talking to companion boardKeith Packard2011-08-13
| | | | | | | | | The AVR CPU on the other side just can't go very fast. This reduces the SPI clock by a factor of 16, just under 200kHz. As the companion commands are reasonably short, this shouldn't have a huge effect on overall SPI utilization. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add SPI-based companion board supportKeith Packard2011-08-13
| | | | | | | This sends current flight state information and retrieves companion data to include in telemetry. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Don't try to use non-basestations for remote eeprom downloadKeith Packard2011-08-13
| | | | | | | Companion boards may also have eeprom data to fetch; don't try to use them as a radio. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/altosui: Report log format in the version commandKeith Packard2011-08-13
| | | | | | | | This will make it easier to figure out what the contents of the flash should look like from altosui; the current 'guessing' mechanism will not scale to many more formats. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: re-write a bit of GPS parsing code to reduce sizeKeith Packard2011-08-13
| | | | | | | | | Use a local variable while computing hdop. Place the next incoming character in data instead of pdata. Saved a surprising amount of memory. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: shrink text space from ao_config.cKeith Packard2011-08-13
| | | | | | | | | | Eliminate redundant config initializers by setting minor to zero and letting upgrade code handle all of the new values. Stop computing (fake) frequency when showing radio channel Stop computing feet when showing main deploy height Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Mis-allocated device list in libaltosKeith Packard2011-08-13
| | | | | | Would overrun mis-allocated array, causing chaos. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: ao-list was crashing with more than 3 devices connectedKeith Packard2011-08-13
| | | | | | | the list of devices was getting realloced for each new device, but that realloc was too small. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: remove monitor disable stubs from altimeter codeKeith Packard2011-08-11
| | | | | | | | | | | | Monitor mode in the ground-station boards must be disabled when the radio is going to be used for another purpose, or the radio parameters changed. That places monitor-mode disable calls in other parts of the system which are shared with the altimeter code. Elide the ao_set_monitor calls for builds which do not include any monitoring code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Apply igniter boot pulse-width reduction to teleminiKeith Packard2011-08-11
| | | | | | | TeleMini needs the same fix as TeleMetrum to reduce startup igniter pulses. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Pull igniter pins low as soon as possible at boot timeKeith Packard2011-08-11
| | | | | | | This reduces the pulse width on the igniter circuit caused by the default cc1111 pin configuration at powerup time. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Add 1.0 release notes.Keith Packard2011-08-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Add release notes, include them in altusmetrum doc. Shuffle altusmetrumKeith Packard2011-08-10
| | | | | | | This adds release notes and includes them in the main altusmetrum doc as well as making stand-alone html available for inclusion in the website. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Add telemetry docs to debian/linux/mac/windows packagesKeith Packard2011-08-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Describe 'stats' tab in Graph UI, 'Graph Flight' button.Keith Packard2011-08-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Document Ignite Mode and Pad Orientation configuration optionsKeith Packard2011-08-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Update altusmetrum.xsl for v1.0 software and TeleMiniKeith Packard2011-08-10
| | | | | | | Add TeleMini references and sections as appropriate, update AltosUI docs to describe new bits. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump version to 0.9.6.0Keith Packard2011-08-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move launch-sites.txt file to altusmetrum.orgKeith Packard2011-08-10
| | | | | | | | The official URL is now: http://www.altusmetrum.org/AltOS/launch-sites.txt Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Plot reasonable data from Tm filesKeith Packard2011-08-10
| | | | | | | Don't plot acceleration based on baro data. Display baro speed if accel speed isn't available. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Prune telemetry file graphs to just the flightKeith Packard2011-08-10
| | | | | | Remove data earlier than 1 second before boost and data after landing. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add a 'Graph Flight' button to the 'landed' tabKeith Packard2011-08-10
| | | | | | | This lets you see the results of a flight as soon as the rocket lands using the telemetry data. Signed-off-by: Keith Packard <keithp@keithp.com>
* Altosui: Add flight statistics tab to graph windowKeith Packard2011-08-10
| | | | | | Provide basic flight stats alongside the flight graph. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Ship TeleMini v1.0 firmware with fat blobsKeith Packard2011-08-09
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Ensure serial code tracks reply nesting correctlyKeith Packard2011-08-09
| | | | | | | Trap any exceptional return conditions from 'get_reply' to make sure in_reply gets decremented. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't export product defs from libaltosKeith Packard2011-08-09
| | | | | | | As we add new products, that would change the ABI generated for java, invaliding old library versions sitting around for windows and mac. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch telemini from v0.1 to v1.0Keith Packard2011-08-09
| | | | | | | | TeleMini production boards are firmware compatible with the v0.1 design, so instead of creating another product, just rename the existing one. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add close button to 'fire' dialogKeith Packard2011-08-08
| | | | | | Easier to hit than the tiny close box in the frame. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make set of telemetries to use while scanning configurableKeith Packard2011-08-08
| | | | | | with a preference to remember across application runs. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Reading serial from swing thread only bad if remoteKeith Packard2011-08-08
| | | | | | Make the warning on this condition based on whether the link is remote. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove unused AltosConfigData from AltosTelemetryReaderKeith Packard2011-08-08
| | | | | | Now that AltosSerial manages this data, it's not needed here. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Flush radio setting to serial deviceKeith Packard2011-08-08
| | | | | | When changing frequencies, make sure the device hears about it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debugging printfs from AltosSerialKeith Packard2011-08-08
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Show AltosFrequency in scan resultsKeith Packard2011-08-08
| | | | | | Include frequency and description instead of just frequency. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Save frequency after setting it in AltosFlightUIKeith Packard2011-08-08
| | | | | | Otherwise we'll just save the old frequency. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Have single radio_to_frequency functionKeith Packard2011-08-08
| | | | | | | This takes all three radio params (setting, cal, channel) and computes the current frequency. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: A few misc cleanups.Keith Packard2011-08-08
| | | | | | | Initialize radio_setting as it won't be set for older devices ever. Remove unused set_radio_frequency function from AltosConfigUI. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Must set radio calibration before radio settingKeith Packard2011-08-08
| | | | | | | | | | | Setting the radio calibration erases any previous radio setting as the radio calibration change invalidates any previously computed radio setting for a specific frequency. Hence, the radio setting must be configured *after* the radio calibration value lest it be ignored. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: minor type in comment about accel correctionKeith Packard2011-08-08
| | | | | | | Kurt Roeckx found a typo in the equations describing how the accelerometer is corrected by the 5V reference measurement. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Pull out BlueTooth supportKeith Packard2011-08-08
| | | | | | | This leaves the code in place, but commented out so that it isn't used until we've got a bluetooth device ready for use. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: altimeter is not spelled altimterKeith Packard2011-08-08
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Set version to 0.9.5.0Keith Packard2011-08-08
| | | | | | Make the frequency-based systems distinct Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Convert from channels to frequenciesKeith Packard2011-08-08
| | | | | | | | | | | | | Major areas: * Preferences are stored as frequencies instead of channels * Serial configuration is done using frequencies * UI is presented with frequency lists Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add dialogs to configure 'common' frequenciesKeith Packard2011-08-08
| | | | | | | These are stored in preferences, but not yet hooked up to the TM/TD configure dialogs Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add ability to set arbitrary radio frequencyKeith Packard2011-08-08
| | | | | | | | This adds a separate config parameter to control the raw radio frequency setting, allowing the user to select an arbitrary frequency instead of being forced to choose one of the 10 pre-defined 'channels'. Signed-off-by: Keith Packard <keithp@keithp.com>