File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
joint_trajectory_controller_plugins
include/joint_trajectory_controller_plugins Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ class PidTrajectoryPlugin : public TrajectoryControllerBase
7272 /* *
7373 * @brief parse PID gains from parameter struct
7474 */
75- void updateGains ();
75+ void parseGains ();
7676
7777 // number of command joints
7878 size_t num_cmd_joints_;
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ bool PidTrajectoryPlugin::configure()
6363bool PidTrajectoryPlugin::activate ()
6464{
6565 params_ = param_listener_->get_params ();
66- updateGains ();
66+ parseGains ();
6767 return true ;
6868};
6969
@@ -72,13 +72,13 @@ bool PidTrajectoryPlugin::updateGainsRT()
7272 if (param_listener_->is_old (params_))
7373 {
7474 params_ = param_listener_->get_params ();
75- updateGains ();
75+ parseGains ();
7676 }
7777
7878 return true ;
7979}
8080
81- void PidTrajectoryPlugin::updateGains ()
81+ void PidTrajectoryPlugin::parseGains ()
8282{
8383 for (size_t i = 0 ; i < num_cmd_joints_; ++i)
8484 {
You can’t perform that action at this time.
0 commit comments