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

[Simulation, Humble] abrupt arm movement due to open_loop_control in joint_trajectory_controller #70

Open
goekce opened this issue Sep 5, 2023 · 1 comment

Comments

@goekce
Copy link

goekce commented Sep 5, 2023

I use

ros2 launch turtlebot3_manipulation_bringup gazebo.launch.py

and control the arm directly using the /arm_controller/joint_trajectory topic. When I send the first command then it leads to an abrupt start as follows:

rec

This behavior is probably due to:

ROS2 Control docs state:

If this flag is set, the controller tries to read the values from the command interfaces on activation. If they have real numeric values, those will be used instead of state interfaces. Therefore it is important set command interfaces to NaN (i.e., std::numeric_limits::quiet_NaN()) or state values when the hardware is started.

Setting open_loop_control to false fixes the issue.

Why is open_loop_control is active? Is a feedback from the hardware interface not better?

@goekce
Copy link
Author

goekce commented Jan 31, 2024

@ROBOTIS-Will will Turtlebot3 receive any updates in the future for ROS2?

Background: Currently most of the effort seems to be driven by the community, however Turtlebot3 has a complex infrastructure, which is difficult to understand/contribute. If Turtlebot3 won't receive any focus from your dev team in the near future, please state this in your README, or pin an issue.

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

No branches or pull requests

1 participant