Skip to content

Commit

Permalink
Odrive removed position reset on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Ultrawipf committed Jun 9, 2024
1 parent edfbe5a commit 54bd0a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firmware/FFBoard/UserExtensions/Src/ODriveCAN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void ODriveCAN::Run(){
// Odrive is active,
// enable torque mode
if(odriveCurrentState == ODriveState::AXIS_STATE_CLOSED_LOOP_CONTROL){
this->setPos(0);
//this->setPos(0);
setMode(ODriveControlMode::CONTROL_MODE_TORQUE_CONTROL, ODriveInputMode::INPUT_MODE_PASSTHROUGH);
}

Expand Down

0 comments on commit 54bd0a6

Please sign in to comment.