| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
TeleScience and TelePyro now work.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This is useful for debugging the SPI and flash drivers, but not
necessary in production code.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
The stack used during system initialization lives at the top of RAM,
so leave some space for that.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Not that we have any way of knowing how much stack we're using, but at
least this seems to work.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This is mostly for debugging with flash writes disabled.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This allows products to include the 'w' command for testing flash
writing as needed.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
I don't know why this is necessary, but the receive buffer gets
'extra' data added somehow.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This makes the board work even when disconnected from TeleMetrum.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This code was left in a bit of a mess; just clean it up.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
The USART is used for SPI to talk to the flash part.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Wrap the argument to ao_arch_critical in do { } while (0); to make
sure it gets correctly checked as a statement.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Cleans up the formating a bit.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
|
| |
SPI transactions generally require a read followed by a write, with
the chip select held the whole time. As a result, the SPI bus must be
held across multiple transactions. To make this reliable, the caller
must hold the SPI mutex, instead of the underlying SPI driver.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Any missing start/end times are pinned to the end of the flight.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
The new telemetry stuff can send packets with older timestamps, so
sort telem packets read from disk to create an in-order record of the flight.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
| |
Instead of waiting for the previous telemetry interval to expire,
immediately switch to the new telemetry rate. This will provide
more telemetry data early in the boost.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
v1.0 boards have noisy accelerometer data caused by interactions
between RF transmission and the accelerometer measurements; this noise
generates a negative bias in the accelerometer readings. The net
effect is that the estimated speed is lower than the actual speed,
causing early an apogee estimate.
By increasing the sigma value for accelerometer data, the kalman
filter 'trusts' the acceleration data less, putting more weight on the
barometer data. This causes the estimated time of apogee to be closer
to the correct value.
This reduces the response to changes in acceleration.
This new value is applied solely to TeleMetrum v1.0 boards. v1.1
boards correct for this error, and hence can use the correct sigma
value for the accelerometer.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
(1.1 RC 2). Flown at Oktoberfest 2011 on 10/09/2011 (we hope)
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
These are just annoying; when we add the ability to turn stuff on/off
on the fly, we can add them to the list of available items.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
| |
An ejection charge looks an awful lot like an extra (really small)
motor burn. Ignore them by averaging the acceleration during
fast/coast using a /64 exponential decay filter.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This reads telem files and displays them in ascii form. It's not done,
and it's not documented, but it's a start.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
With the new boost re-detect code, we can get multiple instances of
boost/fast/coast, so make sure each are displayed in the graph.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This ignores ejection bumps, making the max acceleration far more useful.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These are significantly smaller than the general pointer versions from
libc on the cc1111.
Signed-off-by: Keith Packard <keithp@keithp.com>
Conflicts:
src/Makefile.proto
src/cc1111/ao_adc.c
src/cc1111/ao_packet_master.c
src/core/ao.h
Fix up the new makefiles
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
configure.ac
fix version number
|
| |
| |
| |
| |
| |
| | |
Bdale is planning to fly this version on 9/17.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| | |
Hold the radio mutex while firing igniters to reduce potential
interactions between the two.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| | |
Instead of immediately trying to send RDF at apogee, start it after
the usual RDF interval to avoid doing RDF while firing the apogee igniter.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/core/ao_cmd.c
Use ao_arch_reboot after waiting for a second
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Leave the packet link disabled until we've checked the
accelerometer. That way, we cannot accidentally get to idle mode when
the rocket is on the rail.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
TM and Tm go into idle mode if they receive a packet after boot
time. When tebooting the device over the packet link, the packet
master would be (rapidly) polling the device for additional data and
so the device would invariably receive a packet during bootup and go
into idle mode again.
Delay the reboot by a second to give the controller time to disable
the master end of the packet link.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
configure.ac
Fix version number and location of ao.h header
|
| | | |
|
| |\ \ |
|
| | | | |
|
| |/ / |
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | | |
Bdale's build environment, and doesn't need to be in the source package
|
| | |
| | |
| | |
| | |
| | |
| | | |
Just too many strings.
Signed-off-by: Keith Packard <keithp@keithp.com>
|