Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
shaynoorani committed May 21, 2024
2 parents 8ac101b + 1416d3e commit 23be5cd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ EXTRACT_ALL = YES
# be included in the documentation.
# The default value is: NO.

EXTRACT_PRIVATE = NO
EXTRACT_PRIVATE = YES

# If the EXTRACT_PRIV_VIRTUAL tag is set to YES, documented private virtual
# methods of a class will be included in the documentation.
Expand Down
16 changes: 8 additions & 8 deletions include/MCU_rev15_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,17 @@ const float BRAKE_MECH_THRESH = 0.40f;
// Load Cell Defs to convert raw to lbs
// lbs = (raw + offset) * scale

const float LOADCELL_FL_SCALE = 0.0553;
const float LOADCELL_FL_OFFSET = 15.892 / LOADCELL_FL_SCALE;
const float LOADCELL_FL_SCALE = 0.0554;
const float LOADCELL_FL_OFFSET = 19.976 / LOADCELL_FL_SCALE;

const float LOADCELL_FR_SCALE = 0.0512;
const float LOADCELL_FR_OFFSET = 17.196 / LOADCELL_FR_SCALE;
const float LOADCELL_FR_SCALE = 0.0514;
const float LOADCELL_FR_OFFSET = 19.892 / LOADCELL_FR_SCALE;

const float LOADCELL_RL_SCALE = 0.1147;
const float LOADCELL_RL_OFFSET = 21.842 / LOADCELL_RL_SCALE;
const float LOADCELL_RL_SCALE = 0.0595;
const float LOADCELL_RL_OFFSET = 7.148 / LOADCELL_RL_SCALE;

const float LOADCELL_RR_SCALE = 0.0588;
const float LOADCELL_RR_OFFSET = 19.576 / LOADCELL_RR_SCALE;
const float LOADCELL_RR_SCALE = 0.06;
const float LOADCELL_RR_OFFSET = 23.761 / LOADCELL_RR_SCALE;

// Steering parameters
const float PRIMARY_STEERING_SENSE_OFFSET = -21.18; // units are degrees
Expand Down
15 changes: 8 additions & 7 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ test_ignore=
test_interfaces*
lib_deps=
git+ssh://git@github.com/hytech-racing/CASE_lib.git#v39
https://github.com/hytech-racing/shared_firmware_systems.git
https://github.com/hytech-racing/shared_firmware_systems.git#af96a63


[env:teensy41]
; Testing variables
Expand Down Expand Up @@ -44,10 +45,10 @@ upload_protocol = teensy-cli
extra_scripts = pre:extra_script.py
lib_deps =
SPI
https://github.com/hytech-racing/shared_firmware_interfaces.git
https://github.com/hytech-racing/shared_firmware_systems.git
https://github.com/RCMast3r/spi_libs
https://github.com/tonton81/FlexCAN_T4
https://github.com/hytech-racing/shared_firmware_interfaces.git#cf47a18
https://github.com/hytech-racing/shared_firmware_systems.git#af96a63
https://github.com/RCMast3r/spi_libs#2214fee
https://github.com/tonton81/FlexCAN_T4#b928bcb
https://github.com/RCMast3r/hytech_can#testing_new_inv_ids
https://github.com/hytech-racing/HT_CAN/releases/download/80/can_lib.tar.gz
git+ssh://git@github.com/hytech-racing/CASE_lib.git#v39
Expand Down Expand Up @@ -77,8 +78,8 @@ board = teensy41
framework = arduino
upload_protocol = teensy-cli
lib_deps =
https://github.com/tonton81/FlexCAN_T4
https://github.com/RCMast3r/hytech_can
https://github.com/tonton81/FlexCAN_T4#b928bcb
https://github.com/RCMast3r/hytech_can#4ffbba4
https://github.com/hytech-racing/HT_CAN/releases/latest/download/can_lib.tar.gz


0 comments on commit 23be5cd

Please sign in to comment.