Skip to content

Commit

Permalink
fix(external_velocity_limit_selector): delete default values (autowar…
Browse files Browse the repository at this point in the history
…efoundation#2934)

delete param

Signed-off-by: yamazakiTasuku <tasuku.yamazaki@tier4.jp>
Co-authored-by: yamazakiTasuku <tasuku.yamazaki@tier4.jp>
  • Loading branch information
2 people authored and 1222-takeshi committed Mar 6, 2023
1 parent 2d10a6d commit 3af71d9
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ ExternalVelocityLimitSelectorNode::ExternalVelocityLimitSelectorNode(
// Params
{
auto & p = node_param_;
p.max_velocity = this->declare_parameter<double>("max_velocity", 20.0);
p.normal_min_acc = this->declare_parameter<double>("normal.min_acc", -1.0);
p.normal_max_acc = this->declare_parameter<double>("normal.max_acc", 1.0);
p.normal_min_jerk = this->declare_parameter<double>("normal.min_jerk", -0.1);
p.normal_max_jerk = this->declare_parameter<double>("normal.max_jerk", 0.1);
p.limit_min_acc = this->declare_parameter<double>("limit.min_acc", -2.5);
p.limit_max_acc = this->declare_parameter<double>("limit.max_acc", 2.5);
p.limit_min_jerk = this->declare_parameter<double>("limit.min_jerk", -1.5);
p.limit_max_jerk = this->declare_parameter<double>("limit.max_jerk", 1.5);
p.max_velocity = this->declare_parameter<double>("max_velocity");
p.normal_min_acc = this->declare_parameter<double>("normal.min_acc");
p.normal_max_acc = this->declare_parameter<double>("normal.max_acc");
p.normal_min_jerk = this->declare_parameter<double>("normal.min_jerk");
p.normal_max_jerk = this->declare_parameter<double>("normal.max_jerk");
p.limit_min_acc = this->declare_parameter<double>("limit.min_acc");
p.limit_max_acc = this->declare_parameter<double>("limit.max_acc");
p.limit_min_jerk = this->declare_parameter<double>("limit.min_jerk");
p.limit_max_jerk = this->declare_parameter<double>("limit.max_jerk");
}
}

Expand Down

0 comments on commit 3af71d9

Please sign in to comment.