Closed xouillet closed 2 years ago
Same problem was encountered. Can only manually set use_sim_time param to activate simulation clock.
Hello, same for us on Galactic. This is preventing to simulate our system in Gazebo
Actually, issue has been spotted and fixed in rclpy
, cf. https://github.com/ros2/rclpy/pull/896. Issue should be fixed with the new release of rclpy 1.9.2 released yesterday.
Given that this was fixed in rclpy, going to close this out.
Hi,
On galactic, with last version of
rclpy
(1.9.1),joint_state_publisher
fails to initialize if we set the parameteruse_sim_time
.That's because
rclpy
v. 1.9.1 introduces this commit: https://github.com/ros2/rclpy/commit/4d97b4ecf0ae5ae42a4ed7e41cffcacb51a85219 that now raisesParameterAlreadyDeclaredException
when usingautomatically_declare_parameters_from_overrides
.Basic fix could be to set
automatically_declare_parameters_from_overrides
toFalse
, as I'm not sure this is necessary.