| Commit message (Collapse) | Author | Age |
| ... | |
| | |
| |
| |
| |
| |
| | |
Makes the conversion code available even where the driver isn't needed
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
There's no averaged ground temperature recorded in the flight system
to save there, so just remove the field
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
Incomplete, but useful even so
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| | |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| | |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| | |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
Blinks out max height in decimeters, stores previous flight data to
internal eeprom.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
Continue to use AO_LED_RED by default.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
Make sure megametrum gets rebuilt as needed when the various
altitude-pa related files change
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
These are designed to work with the ATtiny85 processor, but can
presuambly be easily adapted to others in that series
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
Leave it out for products that don't have a ring of sensor data
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
A couple of missing 'int' declarations.
Only test to 40km as above that there aren't enough data points to do
anything reasonable
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
Only the conversion testing code needs to get back from altitude to
pressure, so don't include that code in other environments.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows projects to store the altitude data in different
representations or with different access modes.
By default, altitude data is stored in meters, but the initializers
include decimeter values so those can be used instead if desired.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
This allows alt_t to be overridden for systems using the MS5607/MS5611
sensors
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
Allow projects to replace ao_mutex_get and ao_mutex_put with macros
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
Leave the default at 100Hz, but allow it to be overridden
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
Micropeak doesn't have tasking, prepare the ms5607 driver for that
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
And only include them if using tasks
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
This also involved hacking up the code to allow for non-zero offsets
for the pad firing and continuity pins.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
Instead of just smashing the frequency to 434.550, compute the
frequency from the old radio channel value
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of turning the alarm off when a packet is received after the
deadline, just do it in the thread which is awake all of the time.
This prevents the alarm from sticking on when the LCO box is turned
off while the arming key is on.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
These just display the most recently fetched values
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Instead of trying to get things into the ring from a variety of
functions, go back to the simpler method of storing them in globals
and having the ADC code just pluck out the most recent values.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
Now that the baro sensor appears to be working, try running
conversions in parallel to see if that makes the accel cal happy
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
This should avoid an accidental low->high transition when switching
between multiple SPI busses.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
Make sure none of the pin configurations are being used at startup
time. Split out the pin configuration into separate functions.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| | |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| | |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| | |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |\| |
|
| | |
| |
| |
| |
| |
| | |
These were disabled to help with testing in Argonia
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |/
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
|
| |
MS5611 and MS5607 use slightly different conversion functions. Alas,
there doesn't appear to be a way to tell them apart in software. This
patch adds the necessary conversion changes and makes them depend on a
compile-time configuration option.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
This improves the computation of the table enough that errors from a
470 entry table are almost all < 0.5m.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
With 1.1 out the door, this now starts the 1.2 development series
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |\ |
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This is to allow the usage of AltosLog on Android - no swing, so
we need to push the "home directory" code used to pick a default
telemetry logging path - using the PreferencesBackend interface
for now.
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |\ |
|
| |\ \ \
| | |/
| |/| |
|
| | | |
| | |
| | |
| | | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | | |
| | |
| | |
| | | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | | |
| | |
| | |
| | | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | | |
| | |
| | |
| | | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|