Classes | Namespaces | Variables
constants.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openrover::PidGains
 

Namespaces

 openrover
 

Variables

const int openrover::CONTROLLER_DEADBAND_COMP = 0
 
const int openrover::ENCODER_MAX = 14000
 
const int openrover::ENCODER_MIN = 40
 
const int openrover::FAST_SIZE = sizeof(ROBOT_DATA_INDEX_FAST) / sizeof(ROBOT_DATA_INDEX_FAST[0])
 
const int openrover::i_BATTERY_CURRENT_A = 68
 
const int openrover::i_BATTERY_CURRENT_B = 70
 
const int openrover::i_BATTERY_MODE_A = 56
 
const int openrover::i_BATTERY_MODE_B = 58
 
const int openrover::i_BATTERY_STATUS_A = 52
 
const int openrover::i_BATTERY_STATUS_B = 54
 
const int openrover::i_BATTERY_TEMP_A = 60
 
const int openrover::i_BATTERY_TEMP_B = 62
 
const int openrover::i_BATTERY_VOLTAGE_A = 64
 
const int openrover::i_BATTERY_VOLTAGE_B = 66
 
const int openrover::i_BUILDNO = 40
 
const int openrover::i_ENCODER_INTERVAL_MOTOR_FLIPPER = 32
 
const int openrover::i_ENCODER_INTERVAL_MOTOR_LEFT = 28
 
const int openrover::i_ENCODER_INTERVAL_MOTOR_RIGHT = 30
 
const int openrover::i_REG_FLIPPER_FB_POSITION_POT1 = 6
 
const int openrover::i_REG_FLIPPER_FB_POSITION_POT2 = 8
 
const int openrover::i_REG_MOTOR_CHARGER_STATE = 38
 
const int openrover::i_REG_MOTOR_FAULT_FLAG_LEFT = 18
 
const int openrover::i_REG_MOTOR_FB_CURRENT_LEFT = 10
 
const int openrover::i_REG_MOTOR_FB_CURRENT_RIGHT = 12
 
const int openrover::i_REG_MOTOR_FB_RPM_LEFT = 2
 
const int openrover::i_REG_MOTOR_FB_RPM_RIGHT = 4
 
const int openrover::i_REG_MOTOR_FLIPPER_ANGLE = 46
 
const int openrover::i_REG_MOTOR_TEMP_LEFT = 20
 
const int openrover::i_REG_MOTOR_TEMP_RIGHT = 22
 
const int openrover::i_REG_POWER_A_CURRENT = 42
 
const int openrover::i_REG_POWER_B_CURRENT = 44
 
const int openrover::i_REG_POWER_BAT_VOLTAGE_A = 24
 
const int openrover::i_REG_POWER_BAT_VOLTAGE_B = 26
 
const int openrover::i_REG_PWR_TOTAL_CURRENT = 0
 
const int openrover::i_REG_ROBOT_REL_SOC_A = 34
 
const int openrover::i_REG_ROBOT_REL_SOC_B = 36
 
const int openrover::LOOP_RATE = 1000
 
const int openrover::MAX_ACCEL_CUTOFF = 20
 
const int openrover::MEDIUM_SIZE = sizeof(ROBOT_DATA_INDEX_MEDIUM) / sizeof(ROBOT_DATA_INDEX_MEDIUM[0])
 
const int openrover::MOTOR_DEADBAND = 9
 
const int openrover::MOTOR_DIFF_MAX = 200
 
const int openrover::MOTOR_FLIPPER_COEF = 100
 
const int openrover::MOTOR_NEUTRAL = 125
 
const int openrover::MOTOR_SPEED_ANGULAR_COEF_2WD_HS = 10
 
const int openrover::MOTOR_SPEED_ANGULAR_COEF_4WD_HS = 6
 
const int openrover::MOTOR_SPEED_ANGULAR_COEF_F_HS = 50
 
const float openrover::MOTOR_SPEED_CW_TURN_COEF = 1.0
 
const int openrover::MOTOR_SPEED_LINEAR_COEF_2WD_HS = 30
 
const int openrover::MOTOR_SPEED_LINEAR_COEF_4WD_HS = 31
 
const int openrover::MOTOR_SPEED_LINEAR_COEF_F_HS = 90
 
const int openrover::MOTOR_SPEED_MAX = 250
 
const int openrover::MOTOR_SPEED_MIN = 0
 
const float openrover::ODOM_ANGULAR_COEF_2WD = 1.0 / (ODOM_AXLE_TRACK_2WD * 2.54 / 100)
 
const float openrover::ODOM_ANGULAR_COEF_4WD = 1.0 / (ODOM_AXLE_TRACK_4WD * 2.54 / 100)
 
const float openrover::ODOM_ANGULAR_COEF_F = 0.5 / (ODOM_AXLE_TRACK_F * 2.54 / 100)
 
const float openrover::ODOM_AXLE_TRACK_2WD = 14.375
 
const float openrover::ODOM_AXLE_TRACK_4WD = 14.375
 
const float openrover::ODOM_AXLE_TRACK_F = 10.75
 
const float openrover::ODOM_ENCODER_COEF_2WD = 182.405
 
const float openrover::ODOM_ENCODER_COEF_4WD = 182.405
 
const float openrover::ODOM_ENCODER_COEF_F = 110.8
 
const float openrover::ODOM_TRACTION_FACTOR_2WD = 0.9877
 
const float openrover::ODOM_TRACTION_FACTOR_4WD = 0.610
 
const float openrover::ODOM_TRACTION_FACTOR_F = 0.75
 
const int openrover::ROBOT_DATA_INDEX_FAST []
 
const int openrover::ROBOT_DATA_INDEX_MEDIUM []
 
const int openrover::ROBOT_DATA_INDEX_SLOW []
 
const int openrover::SERIAL_IN_PACKAGE_LENGTH = 5
 
const int openrover::SERIAL_OUT_PACKAGE_LENGTH = 7
 
const unsigned char openrover::SERIAL_START_BYTE = 253
 
const int openrover::SLOW_SIZE = sizeof(ROBOT_DATA_INDEX_SLOW) / sizeof(ROBOT_DATA_INDEX_SLOW[0])
 


rr_openrover_driver
Author(s): Jack Kilian
autogenerated on Thu Sep 10 2020 03:38:38