Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jun 6, 2024
1 parent f029367 commit 62946c6
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,18 +261,17 @@ bool AccelBrakeMapCalibrator::getCurrentPitchFromTF(double * pitch)
return true;
}

bool AccelBrakeMapCalibrator::fetchData() {
// take data from subscribers
bool AccelBrakeMapCalibrator::fetchData()
{
// take data from subscribers
// take actuation data
ActuationStatusStamped::ConstSharedPtr actuation_status_ptr = actuation_status_sub_.takeData();
ActuationCommandStamped::ConstSharedPtr actuation_cmd_ptr = actuation_cmd_sub_.takeData();
if (actuation_status_ptr) {
takeActuationStatus(actuation_status_ptr);
}
else if (actuation_cmd_ptr) {
} else if (actuation_cmd_ptr) {
takeActuationCommand(actuation_cmd_ptr);
}
else {
} else {
return false;
}

Expand Down

0 comments on commit 62946c6

Please sign in to comment.