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 7, 2024
1 parent cb225d7 commit 64f82a8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1486,7 +1486,9 @@ void AccelBrakeMapCalibrator::publish_count_map()
"Invalid map. The number of velocity index of accel map and brake map is different.");
return;
}
const double h = static_cast<double>(accel_map_value_.size() + brake_map_value_.size() - 1);// pedal (accel_map_value(0) and brake_map_value(0) is same.)
const double h = static_cast<double>(
accel_map_value_.size() + brake_map_value_.size() -
1); // pedal (accel_map_value(0) and brake_map_value(0) is same.)

const double w = static_cast<double>(accel_map_value_.at(0).size()); // velocity
const int8_t max_occ_value = 100;
Expand Down

0 comments on commit 64f82a8

Please sign in to comment.