Skip to content

Commit

Permalink
Merge pull request #74 from nasa-jpl/quiet-brake-disengage
Browse files Browse the repository at this point in the history
Quiet brake disengage
  • Loading branch information
JosephBowkett authored Feb 3, 2023
2 parents 2a54438 + e9317f9 commit 90e97eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/jsd/actuator_fsm_helpers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ bool fastcat::Actuator::HandleNewProfPosCmd(DeviceCmd& cmd)

// Only transition to disengaging if its needed
if(state_->actuator_state.servo_enabled){
MSG("Bypassing wait since brakes are disengaged");
// Bypassing wait since brakes are disengaged
}else{
TransitionToState(ACTUATOR_SMS_PROF_POS_DISENGAGING);
last_cmd_ = cmd;
Expand Down Expand Up @@ -243,7 +243,7 @@ bool fastcat::Actuator::HandleNewProfVelCmd(DeviceCmd& cmd)

// Only transition to disengaging if its needed
if(state_->actuator_state.servo_enabled){
MSG("Bypassing wait since brakes are disengaged");
// Bypassing wait since brakes are disengaged
}else{
TransitionToState(ACTUATOR_SMS_PROF_VEL_DISENGAGING);
last_cmd_ = cmd;
Expand Down Expand Up @@ -281,7 +281,7 @@ bool fastcat::Actuator::HandleNewProfTorqueCmd(DeviceCmd& cmd)

// Only transition to disengaging if its needed
if(state_->actuator_state.servo_enabled){
MSG("Bypassing wait since brakes are disengaged");
// Bypassing wait since brakes are disengaged
}else{
TransitionToState(ACTUATOR_SMS_PROF_TORQUE_DISENGAGING);
last_cmd_ = cmd;
Expand Down

0 comments on commit 90e97eb

Please sign in to comment.