Closed mrjogo closed 5 months ago
Probably related to https://github.com/ros-controls/gz_ros2_control/issues/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?
We tested this with #7 again today and it seems to be resolved with the latest gz_ros2_control. Hence marking this being closed by #7
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: