Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
Loading...
Searching...
No Matches
sensor_data_analyzer.cpp File Reference

PC-based Software-In-The-Loop Data Analyzer. More...

#include <unistd.h>
#include <iostream>
#include <fstream>
#include <chrono>
#include <thread>
#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "time.h"
#include "math.h"
#include "data_structures.h"
#include "persistent_data.h"
#include "EEPROM_emulation.h"
#include "organizer.h"
#include "NMEA_format.h"
#include <fenv.h>
#include "CAN_output.h"
#include "TCP_server.h"
#include "USB_serial.h"
#include "system_state.h"
#include "magnetic_induction_report.h"
#include "ascii_support.h"
#include "CAN_socket_driver.h"
#include "CAN_gateway.h"
#include "random"

Go to the source code of this file.

Macros

#define N_TWEAKS   6
 
#define N_TRIALS   50
 
#define TRIAL_STEPSIZE   0.003
 

Functions

double randn ()
 
int main (int argc, char *argv[])
 
void report_magnetic_calibration_has_changed (magnetic_induction_report_t *p_magnetic_induction_report, char type)
 
bool CAN_gateway_poll (CANpacket &, unsigned int)
 

Variables

uint32_t system_state = GNSS_AVAILABLE | MTI_SENSOR_AVAILABE | MS5611_STATIC_AVAILABLE | PITOT_SENSOR_AVAILABLE
 bits collected from availability_bits
 

Detailed Description

PC-based Software-In-The-Loop Data Analyzer.

Author
Dr. Klaus Schaefer

<Larus Flight Sensor Firmware>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file sensor_data_analyzer.cpp.

Macro Definition Documentation

◆ N_TRIALS

#define N_TRIALS   50

Definition at line 63 of file sensor_data_analyzer.cpp.

◆ N_TWEAKS

#define N_TWEAKS   6

Definition at line 62 of file sensor_data_analyzer.cpp.

◆ TRIAL_STEPSIZE

#define TRIAL_STEPSIZE   0.003

Definition at line 64 of file sensor_data_analyzer.cpp.

Function Documentation

◆ CAN_gateway_poll()

bool CAN_gateway_poll ( CANpacket ,
unsigned int   
)

Definition at line 539 of file sensor_data_analyzer.cpp.

◆ main()

◆ randn()

double randn ( )

Definition at line 66 of file sensor_data_analyzer.cpp.

Referenced by main().

◆ report_magnetic_calibration_has_changed()

void report_magnetic_calibration_has_changed ( magnetic_induction_report_t p_magnetic_induction_report,
char  type 
)

Definition at line 512 of file sensor_data_analyzer.cpp.

References my_ftoa(), and SQRT.

Variable Documentation

◆ system_state