Skip to content

Commit 81ff08e

Browse files
committed
az_max param in getParams
1 parent 984cfd9 commit 81ff08e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/node/ROS_Goal_Click_Planning.cc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ void Motion_Primitives::RosNode::LocalPlanner::Start() {
8585
time_params.verbose = this->params.verbose;
8686
time_params.v_max = this->params.v_max;
8787
time_params.a_max = this->params.a_max;
88+
time_params.az_max = this->params.az_max;
8889
time_params.j_max = this->params.j_max;
8990
time_params.map_ub = this->params.map_ub;
9091
time_params.map_lb = this->params.map_lb;
@@ -637,9 +638,10 @@ void Motion_Primitives::RosNode::LocalPlanner::saveStates(const std::vector<Prim
637638
}
638639

639640
void Motion_Primitives::RosNode::LocalPlanner::getParams() {
640-
ros::param::param<double>("~Primitives/v_max", this->params.v_max, 5.);
641-
ros::param::param<double>("~Primitives/a_max", this->params.a_max, 2.);
642-
ros::param::param<double>("~Primitives/j_max", this->params.j_max, 2.);
641+
ros::param::param<double>("~Primitives/v_max", this->params.v_max, 10.);
642+
ros::param::param<double>("~Primitives/a_max", this->params.a_max, 10.);
643+
ros::param::param<double>("~Primitives/az_max", this->params.az_max, 10.);
644+
ros::param::param<double>("~Primitives/j_max", this->params.j_max, 60.);
643645
ros::param::param<double>("~Primitives/rho", this->params.rho, 500.);
644646
ros::param::param<std::vector<double>>("~Primitives/vf_zenith", this->params.vf_zenith, {});
645647
ros::param::param<std::vector<double>>("~Primitives/vf_magnitude", this->params.vf_magnitude, {});

0 commit comments

Comments
 (0)