Namespaces | Classes | Enumerations | Functions | Variables
rosflight_firmware Namespace Reference

Namespaces

 nanoprintf
 

Classes

class  AirbourneBoard
 
struct  BackupData
 
class  Board
 
class  BreezyBoard
 
class  CommandManager
 
class  CommLink
 
class  CommManager
 
struct  control_channel_t
 
struct  control_t
 
class  Controller
 
struct  debug_info_t
 
class  Estimator
 
struct  GNSSData
 
struct  GNSSRaw
 
class  Mavlink
 
class  Mixer
 
struct  mux_t
 
class  Params
 
class  RC
 
struct  rc_stick_override_t
 
class  ROSflight
 
class  Sensors
 
class  StateManager
 
class  testBoard
 
class  UDPBoard
 

Enumerations

enum  : uint16_t {
  PARAM_BAUD_RATE = 0, PARAM_SERIAL_DEVICE, PARAM_SYSTEM_ID, PARAM_STREAM_HEARTBEAT_RATE,
  PARAM_STREAM_STATUS_RATE, PARAM_STREAM_ATTITUDE_RATE, PARAM_STREAM_IMU_RATE, PARAM_STREAM_MAG_RATE,
  PARAM_STREAM_BARO_RATE, PARAM_STREAM_AIRSPEED_RATE, PARAM_STREAM_SONAR_RATE, PARAM_STREAM_GNSS_RATE,
  PARAM_STREAM_GNSS_RAW_RATE, PARAM_STREAM_OUTPUT_RAW_RATE, PARAM_STREAM_RC_RAW_RATE, PARAM_MAX_COMMAND,
  PARAM_PID_ROLL_RATE_P, PARAM_PID_ROLL_RATE_I, PARAM_PID_ROLL_RATE_D, PARAM_PID_PITCH_RATE_P,
  PARAM_PID_PITCH_RATE_I, PARAM_PID_PITCH_RATE_D, PARAM_PID_YAW_RATE_P, PARAM_PID_YAW_RATE_I,
  PARAM_PID_YAW_RATE_D, PARAM_PID_ROLL_ANGLE_P, PARAM_PID_ROLL_ANGLE_I, PARAM_PID_ROLL_ANGLE_D,
  PARAM_PID_PITCH_ANGLE_P, PARAM_PID_PITCH_ANGLE_I, PARAM_PID_PITCH_ANGLE_D, PARAM_X_EQ_TORQUE,
  PARAM_Y_EQ_TORQUE, PARAM_Z_EQ_TORQUE, PARAM_PID_TAU, PARAM_MOTOR_PWM_SEND_RATE,
  PARAM_MOTOR_IDLE_THROTTLE, PARAM_FAILSAFE_THROTTLE, PARAM_SPIN_MOTORS_WHEN_ARMED, PARAM_INIT_TIME,
  PARAM_FILTER_KP, PARAM_FILTER_KI, PARAM_FILTER_KP_ATT_CORRECTION, PARAM_FILTER_USE_QUAD_INT,
  PARAM_FILTER_USE_MAT_EXP, PARAM_FILTER_USE_ACC, PARAM_CALIBRATE_GYRO_ON_ARM, PARAM_GYRO_XY_ALPHA,
  PARAM_GYRO_Z_ALPHA, PARAM_ACC_ALPHA, PARAM_GYRO_X_BIAS, PARAM_GYRO_Y_BIAS,
  PARAM_GYRO_Z_BIAS, PARAM_ACC_X_BIAS, PARAM_ACC_Y_BIAS, PARAM_ACC_Z_BIAS,
  PARAM_ACC_X_TEMP_COMP, PARAM_ACC_Y_TEMP_COMP, PARAM_ACC_Z_TEMP_COMP, PARAM_MAG_A11_COMP,
  PARAM_MAG_A12_COMP, PARAM_MAG_A13_COMP, PARAM_MAG_A21_COMP, PARAM_MAG_A22_COMP,
  PARAM_MAG_A23_COMP, PARAM_MAG_A31_COMP, PARAM_MAG_A32_COMP, PARAM_MAG_A33_COMP,
  PARAM_MAG_X_BIAS, PARAM_MAG_Y_BIAS, PARAM_MAG_Z_BIAS, PARAM_BARO_BIAS,
  PARAM_GROUND_LEVEL, PARAM_DIFF_PRESS_BIAS, PARAM_RC_TYPE, PARAM_RC_X_CHANNEL,
  PARAM_RC_Y_CHANNEL, PARAM_RC_Z_CHANNEL, PARAM_RC_F_CHANNEL, PARAM_RC_ATTITUDE_OVERRIDE_CHANNEL,
  PARAM_RC_THROTTLE_OVERRIDE_CHANNEL, PARAM_RC_ATT_CONTROL_TYPE_CHANNEL, PARAM_RC_ARM_CHANNEL, PARAM_RC_NUM_CHANNELS,
  PARAM_RC_SWITCH_5_DIRECTION, PARAM_RC_SWITCH_6_DIRECTION, PARAM_RC_SWITCH_7_DIRECTION, PARAM_RC_SWITCH_8_DIRECTION,
  PARAM_RC_OVERRIDE_DEVIATION, PARAM_OVERRIDE_LAG_TIME, PARAM_RC_OVERRIDE_TAKE_MIN_THROTTLE, PARAM_RC_ATTITUDE_MODE,
  PARAM_RC_MAX_ROLL, PARAM_RC_MAX_PITCH, PARAM_RC_MAX_ROLLRATE, PARAM_RC_MAX_PITCHRATE,
  PARAM_RC_MAX_YAWRATE, PARAM_MIXER, PARAM_FIXED_WING, PARAM_ELEVATOR_REVERSE,
  PARAM_AILERON_REVERSE, PARAM_RUDDER_REVERSE, PARAM_FC_ROLL, PARAM_FC_PITCH,
  PARAM_FC_YAW, PARAM_ARM_THRESHOLD, PARAM_OFFBOARD_TIMEOUT, PARAMS_COUNT
}
 
enum  att_mode_t { ATT_MODE_RATE, ATT_MODE_ANGLE }
 
enum  control_type_t { RATE, ANGLE, THROTTLE, PASSTHROUGH }
 
enum  GNSSFixType { NO_FIX, FIX, SBAS_FIX, GBAS_FIX }
 
enum  param_type_t { PARAM_TYPE_INT32, PARAM_TYPE_FLOAT, PARAM_TYPE_INVALID }
 

Functions

uint16_t num_sensor_errors ()
 
turbomath::Vector vector_max (turbomath::Vector a, turbomath::Vector b)
 
turbomath::Vector vector_min (turbomath::Vector a, turbomath::Vector b)
 

Variables

const uint32_t ARM_MAGIC = 0xfa11bad
 
rc_stick_override_t rc_stick_override []
 

Enumeration Type Documentation

anonymous enum : uint16_t
Enumerator
PARAM_BAUD_RATE 
PARAM_SERIAL_DEVICE 
PARAM_SYSTEM_ID 
PARAM_STREAM_HEARTBEAT_RATE 
PARAM_STREAM_STATUS_RATE 
PARAM_STREAM_ATTITUDE_RATE 
PARAM_STREAM_IMU_RATE 
PARAM_STREAM_MAG_RATE 
PARAM_STREAM_BARO_RATE 
PARAM_STREAM_AIRSPEED_RATE 
PARAM_STREAM_SONAR_RATE 
PARAM_STREAM_GNSS_RATE 
PARAM_STREAM_GNSS_RAW_RATE 
PARAM_STREAM_OUTPUT_RAW_RATE 
PARAM_STREAM_RC_RAW_RATE 
PARAM_MAX_COMMAND 
PARAM_PID_ROLL_RATE_P 
PARAM_PID_ROLL_RATE_I 
PARAM_PID_ROLL_RATE_D 
PARAM_PID_PITCH_RATE_P 
PARAM_PID_PITCH_RATE_I 
PARAM_PID_PITCH_RATE_D 
PARAM_PID_YAW_RATE_P 
PARAM_PID_YAW_RATE_I 
PARAM_PID_YAW_RATE_D 
PARAM_PID_ROLL_ANGLE_P 
PARAM_PID_ROLL_ANGLE_I 
PARAM_PID_ROLL_ANGLE_D 
PARAM_PID_PITCH_ANGLE_P 
PARAM_PID_PITCH_ANGLE_I 
PARAM_PID_PITCH_ANGLE_D 
PARAM_X_EQ_TORQUE 
PARAM_Y_EQ_TORQUE 
PARAM_Z_EQ_TORQUE 
PARAM_PID_TAU 
PARAM_MOTOR_PWM_SEND_RATE 
PARAM_MOTOR_IDLE_THROTTLE 
PARAM_FAILSAFE_THROTTLE 
PARAM_SPIN_MOTORS_WHEN_ARMED 
PARAM_INIT_TIME 
PARAM_FILTER_KP 
PARAM_FILTER_KI 
PARAM_FILTER_KP_ATT_CORRECTION 
PARAM_FILTER_USE_QUAD_INT 
PARAM_FILTER_USE_MAT_EXP 
PARAM_FILTER_USE_ACC 
PARAM_CALIBRATE_GYRO_ON_ARM 
PARAM_GYRO_XY_ALPHA 
PARAM_GYRO_Z_ALPHA 
PARAM_ACC_ALPHA 
PARAM_GYRO_X_BIAS 
PARAM_GYRO_Y_BIAS 
PARAM_GYRO_Z_BIAS 
PARAM_ACC_X_BIAS 
PARAM_ACC_Y_BIAS 
PARAM_ACC_Z_BIAS 
PARAM_ACC_X_TEMP_COMP 
PARAM_ACC_Y_TEMP_COMP 
PARAM_ACC_Z_TEMP_COMP 
PARAM_MAG_A11_COMP 
PARAM_MAG_A12_COMP 
PARAM_MAG_A13_COMP 
PARAM_MAG_A21_COMP 
PARAM_MAG_A22_COMP 
PARAM_MAG_A23_COMP 
PARAM_MAG_A31_COMP 
PARAM_MAG_A32_COMP 
PARAM_MAG_A33_COMP 
PARAM_MAG_X_BIAS 
PARAM_MAG_Y_BIAS 
PARAM_MAG_Z_BIAS 
PARAM_BARO_BIAS 
PARAM_GROUND_LEVEL 
PARAM_DIFF_PRESS_BIAS 
PARAM_RC_TYPE 
PARAM_RC_X_CHANNEL 
PARAM_RC_Y_CHANNEL 
PARAM_RC_Z_CHANNEL 
PARAM_RC_F_CHANNEL 
PARAM_RC_ATTITUDE_OVERRIDE_CHANNEL 
PARAM_RC_THROTTLE_OVERRIDE_CHANNEL 
PARAM_RC_ATT_CONTROL_TYPE_CHANNEL 
PARAM_RC_ARM_CHANNEL 
PARAM_RC_NUM_CHANNELS 
PARAM_RC_SWITCH_5_DIRECTION 
PARAM_RC_SWITCH_6_DIRECTION 
PARAM_RC_SWITCH_7_DIRECTION 
PARAM_RC_SWITCH_8_DIRECTION 
PARAM_RC_OVERRIDE_DEVIATION 
PARAM_OVERRIDE_LAG_TIME 
PARAM_RC_OVERRIDE_TAKE_MIN_THROTTLE 
PARAM_RC_ATTITUDE_MODE 
PARAM_RC_MAX_ROLL 
PARAM_RC_MAX_PITCH 
PARAM_RC_MAX_ROLLRATE 
PARAM_RC_MAX_PITCHRATE 
PARAM_RC_MAX_YAWRATE 
PARAM_MIXER 
PARAM_FIXED_WING 
PARAM_ELEVATOR_REVERSE 
PARAM_AILERON_REVERSE 
PARAM_RUDDER_REVERSE 
PARAM_FC_ROLL 
PARAM_FC_PITCH 
PARAM_FC_YAW 
PARAM_ARM_THRESHOLD 
PARAM_OFFBOARD_TIMEOUT 
PARAMS_COUNT 

Definition at line 51 of file param.h.

Enumerator
ATT_MODE_RATE 
ATT_MODE_ANGLE 

Definition at line 41 of file command_manager.cpp.

Enumerator
RATE 
ANGLE 
THROTTLE 
PASSTHROUGH 

Definition at line 45 of file command_manager.h.

Enumerator
NO_FIX 
FIX 
SBAS_FIX 
GBAS_FIX 

Definition at line 46 of file sensors.h.

Enumerator
PARAM_TYPE_INT32 
PARAM_TYPE_FLOAT 
PARAM_TYPE_INVALID 

Definition at line 222 of file param.h.

Function Documentation

uint16_t rosflight_firmware::num_sensor_errors ( )

Definition at line 305 of file breezy_board.cpp.

turbomath::Vector rosflight_firmware::vector_max ( turbomath::Vector  a,
turbomath::Vector  b 
)

Definition at line 394 of file sensors.cpp.

turbomath::Vector rosflight_firmware::vector_min ( turbomath::Vector  a,
turbomath::Vector  b 
)

Definition at line 401 of file sensors.cpp.

Variable Documentation

const uint32_t rosflight_firmware::ARM_MAGIC = 0xfa11bad

Definition at line 67 of file board.h.

rc_stick_override_t rosflight_firmware::rc_stick_override[]
Initial value:
=
{
{ RC::STICK_X, 0 },
{ RC::STICK_Y, 0 },
{ RC::STICK_Z, 0 }
}

Definition at line 53 of file command_manager.cpp.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:31