summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altosui: Respect storage limits in flight log max config0.9.6.0Keith Packard2011-08-14
| | | | | | | | Compute the maximum flight log using the data returned from the 'f' command (total storage and erase block size). Limit menu to choices which fall within this limit, complain if the user asks for too big a value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: don't set channel when using radio settingKeith Packard2011-08-14
| | | | | | | altos now sets the radio back to channel 0 when the radio setting is changed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: use raw height while waiting for landingKeith Packard2011-08-13
| | | | | | | | This avoids any noise introduced by the kalman filter, making landing detection much more reliable. This patch also changes the interval to 10s so that the height bounds can be increased to 4m. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Reset radio channel to zero when using radio settingKeith Packard2011-08-13
| | | | | | Otherwise, it's hard to set the frequency over the radio link. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Correct AO_CONFIG_MINOR from 6 to 7Keith Packard2011-08-13
| | | | | | Forgot to bump this when adding radio setting. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: AltosSerial.flush_input shouldn't discard Interrupted exceptionsKeith Packard2011-08-13
| | | | | | | | The eeprom download code wants to interrupt serial communication so that it can stop downloading stuff in the middle of a run. Make flush_input pass the exception along instead of discarding it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Eliminate inter-chunk flush_input callsKeith Packard2011-08-13
| | | | | | | Once the serial line is nicely synchronized, we don't need to flush input between chunks. This speeds up eeprom downloading quite a bit. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Devices with log-format can also delete flightsKeith Packard2011-08-13
| | | | | | Any device with either flight-log-max or log-format can delete flights. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add support for TeleScience eeprom downloadKeith Packard2011-08-13
| | | | | | | | Using the existing eeprom methods, fetch and save TeleScience eeprom data, storing to a filename generated from the serial/flight from the TM connected to the TS board. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Clean up eeprom parsing a bitKeith Packard2011-08-13
| | | | | | | Export basic parsing and checksum functions for shared use. Create 'erased' function to check a chunk of eeprom data for data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: wait 10s for companion to bootKeith Packard2011-08-13
| | | | | | | In case the companion is delayed while booting, retry the setup 10 times with a 1s delay between tries. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Send serial/flight to companion boardKeith Packard2011-08-13
| | | | | | Lets the companion log them for later matching with TeleMetrum log Signed-off-by: Keith Packard <keithp@keithp.com>
* 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>