Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- uses: DenverCoder1/doxygen-github-pages-action@v2.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
doxygen_version: 1.16.1
branch: gh-pages
folder: build/doxygen
config_file: Doxyfile
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Avionics is a modular, Arduino-core based system powering the flight computers of Clemson University Rocket Engineering. Designed for high reliability and efficiency, it supports real-time state estimation, data logging, and robust communication across multiple rockets.

**Documentation Website: 🚀[Avionics Docs](https://curocketengineering.github.io/Avionics/)🚀**

## Table of Contents

- [Introduction](#introduction)
Expand Down
3 changes: 2 additions & 1 deletion include/data_handling/DataSaverSPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class DataSaverSPI : public IDataSaver {
* @brief Construct a new DataSaverSPI object
*
* @param timestampInterval_ms Interval in ms at which timestamps are stored
* @param flash Pointer to an initialized Adafruit_SPIFlash object
*
* @note timestampInterval_ms must be < 65535 (about 1 minute)
*/
Expand All @@ -57,7 +58,7 @@ class DataSaverSPI : public IDataSaver {
* timestamp by more than timestampInterval_ms, the new timestamp is also
* written to flash. Otherwise, the timestamp is omitted (to save space).
*
* @param dp The data point to save
* @param dataPoint The data point to save
* @param name An 8-bit “identifier” for the data point (could be a sensor ID)
* @return int 0 on success; non-zero on error
*/
Expand Down
4 changes: 1 addition & 3 deletions include/state_estimation/LaunchDetector.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ class LaunchDetector

/**
* Updates the detector with new acceleration data
* @param xac: The x acceleration data point in ms^2
* @param yac: The y acceleration data point in ms^2
* @param zac: The z acceleration data point in ms^2
* @param accel: The newest acceleration data (triplet of x, y, and z acceleration data points)
* @return: False if the data is ignored, true if the data is accepted
*/
int update(AccelerationTriplet accel);
Expand Down
18 changes: 9 additions & 9 deletions include/state_estimation/VerticalVelocityEstimator.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,19 @@ class VerticalVelocityEstimator {
public:
/**
* Constructor.
* @param accelNoiseVariance Process noise variance due to unknown acceleration
* changes (e.g. (0.5 m/s²)² = 0.25).
* @param altimeterNoiseVariance Measurement noise variance of the altimeter
* (e.g. 1.0 for 1m²).
* @param noise Struct containing process and measurement noise variances.
* - `accelNoiseVar`: process noise variance due to unknown
* acceleration changes (e.g. (0.5 m/s²)² = 0.25).
* - `altimeterNoiseVar`: measurement noise variance of the
* altimeter (e.g. 1.0 for 1m²).
*/
VerticalVelocityEstimator(NoiseVariances noise = {1.0f, 0.1f});

/**
* Initialize the filter with an initial altitude and timestamp.
* @param initialAltitude in meters.
* @param initialTimestamp in milliseconds.
* @param initialState Struct containing:
* - `initialAltitude` in meters.
* - `initialTimestamp` in milliseconds.
*/
void init(InitialState initialState);

Expand All @@ -58,9 +60,7 @@ class VerticalVelocityEstimator {
* The three acceleration DataPoints correspond to x, y, and z (vertical) axes.
* The altimeter DataPoint contains the altitude measurement.
*
* @param accelX Accelerometer reading for the x-axis.
* @param accelY Accelerometer reading for the y-axis.
* @param accelZ Accelerometer reading for the z-axis (vertical).
* @param accel Accelerometer readings for x, y, and z (vertical) axes.
* @param altimeter Altimeter reading.
*/
void update(const AccelerationTriplet& accel,
Expand Down