![]() |
Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
|
CAN-bus output to air display system. More...
#include "system_configuration.h"#include "generic_CAN_driver.h"#include "CAN_output.h"#include "data_structures.h"#include "system_state.h"#include "CAN_gateway.h"Go to the source code of this file.
Macros | |
| #define | DEGREE_2_RAD 1.7453292e-2f |
| #define | GIT_TAG_DEC 0xffffffff |
Enumerations | |
| enum | CAN_ID_SENSOR { CAN_Id_Roll_Nick = 0x400 , CAN_Id_Heading = 0x401 , CAN_Id_Airspeed = 0x402 , CAN_Id_Vario = 0x403 , CAN_Id_GPS_Date_Time = 0x404 , CAN_Id_GPS_LatLon = 0x405 , CAN_Id_GPS_Alt = 0x406 , CAN_Id_GPS_Trk_Spd = 0x407 , CAN_Id_GPS_Sats = 0x408 , CAN_Id_Wind = 0x409 , CAN_Id_Wind_Average = 0x40a , CAN_Id_Atmosphere = 0x40b , CAN_Id_Acceleration = 0x40c , CAN_Id_TurnRate = 0x40d , CAN_Id_SystemState = 0x40e , CAN_Id_Voltage = 0x40f } |
Functions | |
| void | CAN_output (const output_data_t &x) |
CAN-bus output to air display system.
<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 CAN_output.cpp.
Definition at line 32 of file CAN_output.cpp.
| #define GIT_TAG_DEC 0xffffffff |
| enum CAN_ID_SENSOR |
Definition at line 185 of file CAN_output.cpp.
| void CAN_output | ( | const output_data_t & | x | ) |
Definition at line 209 of file CAN_output.cpp.
References vector< datatype, size >::abs(), output_data_t::air_density, ATAN2, output_data_t::c, CAN_Id_Acceleration, CAN_Id_Airspeed, CAN_Id_Atmosphere, CAN_Id_GPS_Alt, CAN_Id_GPS_Date_Time, CAN_Id_GPS_LatLon, CAN_Id_GPS_Sats, CAN_Id_GPS_Trk_Spd, CAN_Id_Heading, CAN_Id_Roll_Nick, CAN_Id_SystemState, CAN_Id_TurnRate, CAN_Id_Vario, CAN_Id_Voltage, CAN_Id_Wind, CAN_Id_Wind_Average, CAN_OUTPUT_ACTIVE, CAN_send(), output_data_t::circle_mode, CANpacket::data_b, CANpacket::data_f, CANpacket::data_w, coordinates_t::day, DEGREE_2_RAD, CANpacket::dlc, DOWN, EAST, output_data_t::euler, output_data_t::G_load, coordinates_t::geo_sep_dm, GIT_TAG_DEC, coordinates_t::heading_motion, coordinates_t::hour, output_data_t::IAS, CANpacket::id, output_data_t::integrator_vario, coordinates_t::latitude, coordinates_t::longitude, output_data_t::m, coordinates_t::minute, coordinates_t::month, NORTH, coordinates_t::position, eulerangle< datatype >::r, coordinates_t::sat_fix_type, coordinates_t::SATS_number, coordinates_t::second, output_data_t::slip_angle, coordinates_t::speed_motion, measurement_data_t::static_pressure, measurement_data_t::supply_voltage, system_state, output_data_t::TAS, output_data_t::turn_rate, output_data_t::vario, output_data_t::wind, output_data_t::wind_average, eulerangle< datatype >::y, and coordinates_t::year.