MBot Software Library  v1.0
An API documentation to mbot_firmware repository
mbot_omni_defs.h
1 #include <rc/defs/common_defs.h>
2 
3 #ifndef RC_OMNI_DEFS_H
4 #define RC_OMNI_DEFS_H
5 
6 // #define OMNI_BASE_RADIUS 0.10250
7 // #define OMNI_WHEEL_RADIUS 0.048
8 // #define OLD_OMNI_WHEEL_RADIUS 0.050
9 // math constants
10 // #define INV_SQRT3 5.7735026918962575E-1
11 
12 typedef enum mbot_fram_cfg_offset_t{
13  WHEEL_CALIBRATION_ADDR = MPU_FINAL_FRAM_ADDR, // have to start at 102 since thats where the MPU stops
14 } mbot_fram_cfg_offset_t;
15 
16 typedef enum mbot_fram_cfg_length_t{
17  WHEEL_CALIBRATION_LEN = 6 * sizeof(float), // 6 floats
18 } mbot_fram_cfg_length_t;
19 
20 #endif