Skip to content

Commit 9f62463

Browse files
committed
RVO2Plannerの不要なパラメータを削除
1 parent f823c96 commit 9f62463

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

crane_local_planner/include/crane_local_planner/rvo2_planner.hpp

-2
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ class RVO2Planner : public LocalPlannerBase
5353
float RVO_RADIUS = 0.09f;
5454
float RVO_MAX_SPEED = 10.0f;
5555

56-
float RVO_TRAPEZOIDAL_MAX_ACC = 8.0;
5756
float RVO_TRAPEZOIDAL_FRAME_RATE = 60;
58-
float RVO_TRAPEZOIDAL_MAX_SPEED = 4.0;
5957

6058
double MAX_VEL = 4.0;
6159
double ACCELERATION = 4.0;

crane_local_planner/src/rvo2_planner.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,8 @@ RVO2Planner::RVO2Planner(rclcpp::Node & node)
3131
RVO_RADIUS = node.get_parameter("rvo_radius").as_double();
3232
node.declare_parameter("rvo_max_speed", RVO_MAX_SPEED);
3333
RVO_MAX_SPEED = node.get_parameter("rvo_max_speed").as_double();
34-
node.declare_parameter("rvo_trapezoidal_max_acc", RVO_TRAPEZOIDAL_MAX_ACC);
35-
RVO_TRAPEZOIDAL_MAX_ACC = node.get_parameter("rvo_trapezoidal_max_acc").as_double();
3634
node.declare_parameter("rvo_trapezoidal_frame_rate", RVO_TRAPEZOIDAL_FRAME_RATE);
3735
RVO_TRAPEZOIDAL_FRAME_RATE = node.get_parameter("rvo_trapezoidal_frame_rate").as_double();
38-
node.declare_parameter("rvo_trapezoidal_max_speed", RVO_TRAPEZOIDAL_MAX_SPEED);
39-
RVO_TRAPEZOIDAL_MAX_SPEED = node.get_parameter("rvo_trapezoidal_max_speed").as_double();
4036

4137
node.declare_parameter("max_vel", MAX_VEL);
4238
MAX_VEL = node.get_parameter("max_vel").as_double();

0 commit comments

Comments
 (0)