| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
| |
It's only got space for one flight.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
Count number of stored flights and see if there's space for another
one.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
useful for quickly capturing sense of a flight.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Makes it easier to tell multiple windows apart
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
And switch to using the AltosConvert units conversions functions.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Time is the time when boost was detected.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
Document installation suggestions, including mounting, RFI, antenna
issues and ground testing.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
We'll see if they work...
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
Some of these may have actually been serious -- a write length was
getting stored in a signed char...
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Make the command line processing a bit less ad-hoc, track 'mode' of
processing and deal with all files on the command line.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
This turns off the telemetry system so that it never transmits telemetry
or RDF tones. In idle mode, it will still accept packet mode connections.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
Bdale is flying 0.9.6 at chili blaster, make sure later firmware gets
a later version number.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This shuffles code around in ao_config.c to share some common code
segments for starting and committing config changes.
This also stops printing out changes as they are made which aren't
needed by the UI code.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
When flights are stored in flash, the maximum flight log value cannot
be changed as the flight data might need to be moved around in
memory. Check for this case by looking for stored flights and
disabling the combo box when storage is not empty.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| | |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This shows whether the on-board data memory is full, or is ready to
record the flight. This is indicated in the telemetry stream by a
flight number of '0'.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
2009-07-18-serial-004-flight-000 says 'apogee' for the apogee-detect
phase of the flight; map this to coast so that this flight replays
correctly (although the log terminates at apogee...)
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit 52ac83fedbfd380d14d4df2e79992bbdfba3552a added coded to check
for a full flight log and complain with a special tone.
It also reported flight 0 over telemetry, and that part of the patch
got lost when moving to the new telemetry format. This patch
resurrects that piece.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | |
|
| | | |
|
| |/ |
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
altos now sets the radio back to channel 0 when the radio setting is
changed.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Otherwise, it's hard to set the frequency over the radio link.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Forgot to bump this when adding radio setting.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Any device with either flight-log-max or log-format can delete flights.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Lets the companion log them for later matching with TeleMetrum log
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
Get the companion board starting its data logging as soon as possible
after boost starts.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
Shows the companion data in a new tab. Also put companion data into
CSV file.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
Was using board_id == ~board_id instead of board_id ==
~board_id_inverse.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
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>
|
| |
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
This sends current flight state information and retrieves companion
data to include in telemetry.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Would overrun mis-allocated array, causing chaos.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
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>
|