InertiaSDK

Loading...
Searching...
No Matches
LogColumns.h
1#pragma once
2
3 namespace inertia
4{
5
10 struct INERTIA_API LogColumns
11{
12 bool sampleNumberEnabled;
13 bool seqNrSlotIndexEnabled;
14 bool nodeIDEnabled;
15 bool lostSamplesEnabled;
16 bool accelerometerEnabled;
17 bool compassEnabled;
18 bool gyroscopeEnabled;
19 bool rssiEnabled;
20 bool rtcEnabled;
21 int quaternionEulerCount;
22 int adcCount;
23 bool statusEnabled;
24 bool accelerometerHighGEnabled;
25 bool pressureEnabled;
26 bool temperatureEnabled;
27 int imaCount;
28 int ioCount;
29 int customCount;
30 bool gpsEnabled;
31 bool statusRawEnabled;
32 bool sensorsEnabled;
33
35 LogColumns();
36
58 LogColumns(const bool _sampleNumber, const bool _seqNrSlotIndex, const bool _nodeID, const bool _lostSamples, const bool _accelerometer,
59 const bool _compass, const bool _gyroscope, const bool _rssi, const bool _rtc, const int _quaternionEuler,
60 const int _adc, const bool _status, const bool _accelHighG, const bool _pressure,
61 const bool _temperature, const int _ima, const int _io, const int _custom, const bool _gps);
62
66 LogColumns(std::wstring const& argString);
67
72 void UpdateCount(std::wstring const& source);
73
76 void SetIMUDefaults();
77
80 void SetAnalogDefaults();
81
84 void SetAllDefaults();
85
86#ifdef WITH_BOOST_PROGRAM_OPTIONS
91 static const po::options_description GetOptionDescription();
92#endif
93
98 std::wstring const ToString() const;
99};
100
101}
inertia
Definition FlashCommands.h:6
inertia::LogColumns::LogColumns
LogColumns()
inertia::LogColumns::statusRawEnabled
bool statusRawEnabled
Raw status data is included (separate file or struct).
Definition LogColumns.h:31
inertia::LogColumns::SetAllDefaults
void SetAllDefaults()
inertia::LogColumns::rtcEnabled
bool rtcEnabled
Real Time Clock (RTC) is included.
Definition LogColumns.h:20
inertia::LogColumns::customCount
int customCount
Custom values are included (negative to disable).
Definition LogColumns.h:29
inertia::LogColumns::gyroscopeEnabled
bool gyroscopeEnabled
Gyroscope data is included.
Definition LogColumns.h:18
inertia::LogColumns::SetIMUDefaults
void SetIMUDefaults()
inertia::LogColumns::SetAnalogDefaults
void SetAnalogDefaults()
inertia::LogColumns::adcCount
int adcCount
ADC values are included (negative to disable).
Definition LogColumns.h:22
inertia::LogColumns::accelerometerEnabled
bool accelerometerEnabled
Accelerometer data is included.
Definition LogColumns.h:16
inertia::LogColumns::statusEnabled
bool statusEnabled
Status data (battery, CPU Temperature, External Input) is included.
Definition LogColumns.h:23
inertia::LogColumns::rssiEnabled
bool rssiEnabled
Radio Signal Strength Indicator (RSSI) is included.
Definition LogColumns.h:19
inertia::LogColumns::ToString
std::wstring const ToString() const
inertia::LogColumns::gpsEnabled
bool gpsEnabled
GPS data is included (separate file or struct).
Definition LogColumns.h:30
inertia::LogColumns::sampleNumberEnabled
bool sampleNumberEnabled
Sample number is included.
Definition LogColumns.h:12
inertia::LogColumns::GetOptionDescription
static const po::options_description GetOptionDescription()
inertia::LogColumns::quaternionEulerCount
int quaternionEulerCount
Orientation is included: Quaternion (w, x, y, z) (1), Euler angles (roll, pitch, yaw) (2),...
Definition LogColumns.h:21
inertia::LogColumns::lostSamplesEnabled
bool lostSamplesEnabled
Lost Samples is included.
Definition LogColumns.h:15
inertia::LogColumns::compassEnabled
bool compassEnabled
Compass data is included.
Definition LogColumns.h:17
inertia::LogColumns::ioCount
int ioCount
I/O values are included (negative to disable).
Definition LogColumns.h:28
inertia::LogColumns::sensorsEnabled
bool sensorsEnabled
Sensor data per sensorID.
Definition LogColumns.h:32
inertia::LogColumns::temperatureEnabled
bool temperatureEnabled
Temperature data is included.
Definition LogColumns.h:26
inertia::LogColumns::nodeIDEnabled
bool nodeIDEnabled
NodeID is included.
Definition LogColumns.h:14
inertia::LogColumns::LogColumns
LogColumns(const bool _sampleNumber, const bool _seqNrSlotIndex, const bool _nodeID, const bool _lostSamples, const bool _accelerometer, const bool _compass, const bool _gyroscope, const bool _rssi, const bool _rtc, const int _quaternionEuler, const int _adc, const bool _status, const bool _accelHighG, const bool _pressure, const bool _temperature, const int _ima, const int _io, const int _custom, const bool _gps)
inertia::LogColumns::pressureEnabled
bool pressureEnabled
Pressure data is included.
Definition LogColumns.h:25
inertia::LogColumns::UpdateCount
void UpdateCount(std::wstring const &source)
inertia::LogColumns::imaCount
int imaCount
IMA values are included (negative to disable).
Definition LogColumns.h:27
inertia::LogColumns::seqNrSlotIndexEnabled
bool seqNrSlotIndexEnabled
Detailed sample information (sequence number, index, slot) is included.
Definition LogColumns.h:13
inertia::LogColumns::accelerometerHighGEnabled
bool accelerometerHighGEnabled
High-G Accelerometer data is included.
Definition LogColumns.h:24
inertia::LogColumns::LogColumns
LogColumns(std::wstring const &argString)