-
Notifications
You must be signed in to change notification settings - Fork 16
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
Joint initial position not respected #14
Comments
Probably related to ros-controls/gz_ros2_control#167 |
We've done some major rework of the description and gz simulation lately. On Humble, when changing the https://github.com/UniversalRobots/Universal_Robots_ROS2_Description/blob/humble/config/initial_positions.yaml file, that values get respected by the simulation. On rolling (pending #7) things will get a bit different, as we store a custom gz-related description inside this repo. However, changing the values here does also get reflected in the model. So I assume this got fixed upstream? |
The UR URDF with ros2_control in simulation does not seem to be respecting the position initial values. Specifically:
for all joints still results in starting at 0.0.
I'm running Humble with Gazebo Fortress.
I ran https://github.com/ros-controls/gz_ros2_control/blob/humble/ign_ros2_control_demos/launch/gripper_mimic_joint_example.launch.py and the
initial_value
worked, so it seems to be something specific to the UR simulation.Here is a self-contained launchfile to reproduce (the
ur_description
andur_simulation_ignition
paths will have to be updated for your workspace):This should result in the robot shoulder at 45 degrees (and the rest horizontal), but instead everything is still at 0:
Here are the logs:
The text was updated successfully, but these errors were encountered: