Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up datastructures #38

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
12 changes: 1 addition & 11 deletions NAV_Algorithms/data_structures.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,16 @@

#pragma pack(push, 1)


//! contains all calibrated data from the sensors
typedef struct
{
float3vector acc; //XSENSE MTi1 IMU
float3vector gyro; //XSENSE MTi1 IMU
float3vector mag; //XSENSE MTi1 IMU
#if WITH_LOWCOST_SENSORS
float3vector lowcost_acc;
float3vector lowcost_gyro;
float3vector lowcost_mag;
#endif
float pitot_pressure;
float static_pressure;
#if WITH_LOWCOST_SENSORS
float absolute_pressure; //this is the second ms5611 on the PCB.
#endif
float static_sensor_temperature; //log temperature to monitor temperature in enclosure
#if WITH_LOWCOST_SENSORS
float absolute_sensor_temperature;
#endif
float supply_voltage; //Measuring the supply voltage. Might be related to sensor noise.
#if WITH_DENSITY_DATA
float outside_air_temperature; //!< OAT from external sensor if installed
Expand Down