| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
| |
Send commands to skytraq to update baud rate to 57,600 bps, and
set NMEA output rate to 10Hz.
|
|
|
|
|
| |
Added macros to make correctly constructing skytraq commands easier.
Simplified code path for NMEA processing marginally.
|
| |
|
|
|
|
|
|
|
|
|
| |
The flight test code had static accelerometer configuration values,
making it impossible to use data from different boards without
recompiling. As the eeprom and telem log files both contain the
necessary data, parse that instead.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Yes, it would be nice to automate dependency generation here, but I
can't be bothered.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
The usage message was suggesting incorrect command line syntax; long
options use '=' between the option name and value, not whitespace.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
New boards have no config space values at all, and so they need each
value to be set. Yes, this should be fixed so that there aren't two
copies of these assignments.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This will make sure the docs are up-to-date for both regular and
fat builds.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Oops. Missed this one.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
We'll need to be sure to update this each time we add a product.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
| |
|
|
|
|
|
|
| |
New flight download UI and new config items.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This has a drilling template for the board.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This has been removed from the altos sources, so remove it from the
docs too.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When the 3.3V and 5V values shift relative to each other (usually due
to changes in power consumption), the measured acceleration will
appear to shift. This patch converts the 3.3V referenced acceleration
value into a 5V referenced acceleration, eliminating this error.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| | |
This stores the address of the desired sample in a local variable and
then fetches through that. Saves quite a few instructions.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| | |
This places the 5v reference samples in an array parallel to the basic
ADC values. It doesn't do anything with the values, just stores them.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of having everyone wait on the raw ADC ring, have the flight
code wait on that and have everyone else wait for the flight code to
finish looking at the data and move its pointer forwards.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use the provided ground acceleration average to set the two
accelerometer calibration values so that the flight code will
detect pad/idle mode correctly.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|/
|
|
| |
pyro battery is not as simple as one trace cut on v1.0 and v1.1 boards
|
|
|
|
|
|
|
|
| |
Slightly reduces code space.
Uncalibrated accelerometer now enters invalid state as well.
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
|
|
|
|
|
| |
This colons make the presentation a bit confusing.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
The flight test harness needs to expose every function used by the
flight code in some form, and this macro is about to become used.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Chose invalid flight mode instead of idle to give user feedback.
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
|
|
|
|
|
|
| |
When detecting flight or idle mode, this should indicate
that accel cal values are out of whack.
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
|
|
|
|
|
|
| |
This lets us use a simple shift instead of a divide, saving a huge
amount of code space.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
| |
Splitting this into several smaller functions appears to make SDCC
generate better code.
|
|
|
|
|
|
|
| |
When the log storage is full, make sure any pending writes are flushed
out so that the last bit isn't lost.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
|
|
| |
What a terrible mistake! The flight computer serial numbers were
recorded in only 8 bits, so serial numbers > 255 would get truncated.
There's really no fix other than bumping the field to 16 bits and
reflashing every TM and TD on the planet. Very unfortunate.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
telemetrum-outline.svg was renamed from telemetrum.svg and inkscape
appears to care.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This tracks the same GPS signal requirement needed for 'GPS ready' and
ensures that we have a 3d fix.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
| |
As this code is all event-driven, track which events will trigger
further work and block closing the device in those specific cases,
ensuring that all other code paths end up closing the device.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This message isn't useful now that this code appears to work.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
100ms isn't long enough to capture pending remote serial input, so use
300 ms in that mode.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
| |
Display all serial input, including telemetry.
Wait to display serial output until flush time, to debug missing flushing.
Show when devices are opened and closed.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
| |
To deal with downloading multiple flights in a single invocation, make
sure all relevant instance variables are set back to start of flight
download values each time a log is read.
Signed-off-by: Keith Packard <keithp@keithp.com>
|