Skip to content

Commit

Permalink
フォーマット
Browse files Browse the repository at this point in the history
  • Loading branch information
HansRobo committed Oct 12, 2024
1 parent b4dd12e commit de50729
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crane_local_planner/src/rvo2_planner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ void RVO2Planner::reflectWorldToRVOSim(const crane_msgs::msg::RobotCommands & ms
// double max_vel_by_decel = std::sqrt(2.0 * deceleration * target_vel.norm());
// PIDによる速度制限(減速のみ)
double max_vel_by_decel = [&]() {
double pid_vx = vx_controllers[command.robot_id].update(target_vel.x(), 1./30.);
double pid_vy = vy_controllers[command.robot_id].update(target_vel.y(), 1./30.);
double pid_vx = vx_controllers[command.robot_id].update(target_vel.x(), 1. / 30.);
double pid_vy = vy_controllers[command.robot_id].update(target_vel.y(), 1. / 30.);
return std::hypot(pid_vx, pid_vy);
}();

Expand Down

0 comments on commit de50729

Please sign in to comment.