Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly retrieve parameters in the Joint Trajectory Controller #365

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

AndyZe
Copy link
Contributor

@AndyZe AndyZe commented Jun 16, 2022

Fixes #364.

There are probably similar fixes that should be made for the other controller types.

I looked into adding the [[nodiscard]] attribute to auto_declare but it doesn't work with templates. :(

"allow_integration_in_goal_trajectories", allow_integration_in_goal_trajectories_);
auto_declare<double>("constraints.stopped_velocity_tolerance", 0.01);
auto_declare<double>("constraints.goal_time", 0.0);
Copy link
Contributor Author

@AndyZe AndyZe Jun 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can tell, constraints.goal_time isn't used anywhere. Same for stopped_velocity_tolerance.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AndyZe AndyZe force-pushed the andyz/jtc_params branch 3 times, most recently from b132b13 to cb8840a Compare June 17, 2022 16:26
@bmagyar bmagyar merged commit 4163f14 into ros-controls:master Jun 29, 2022
@destogl destogl mentioned this pull request Jul 25, 2022
mamueluth pushed a commit to StoglRobotics-forks/ros2_controllers that referenced this pull request Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JointTrajectoryController does not load parameters correctly
3 participants