You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Lifecycle nodes don't use simulation time when use_sim_time set #641
Replace lifecycle_talker.cpp with the attached file and build
Launch gazebo. For example, I used: gazebo --verbose -s libgazebo_ros_init.so ~/src/turtlebot3/src/turtlebot3_simulations/turtlebot3_gazebo/worlds/turtlebot3.world
Run the lifecycle demo as normal
Once the lifecycle node is activated, the output shows that the lifecycle node's time is the system time, while the normal node's time is relative to /clock. Both nodes have use_sim_time set (see the code).
Activity
Karsten1987 commentedon Feb 27, 2019
@mjeronimo is this issue related to #642? Or can you correctly set the
use_sim_timeparameter?Also, would you mind providing a reproducible example here?
mjeronimo commentedon Feb 27, 2019
@Karsten1987 No, not related to #642. Yes, I'll come up with an example for you.
mjeronimo commentedon Mar 2, 2019
@Karsten1987
Once the lifecycle node is activated, the output shows that the lifecycle node's time is the system time, while the normal node's time is relative to /clock. Both nodes have use_sim_time set (see the code).
lifecycle_talker.cpp.tar.gz
Karsten1987 commentedon Mar 26, 2019
with #651 being merged can this issue be closed?
mjeronimo commentedon Mar 27, 2019
@Karsten1987 Yes, that one fixes it and this issue can be closed.
Quality Declarations for rcl_action, rcl_lifecycle, yaml_parser (ros2…
Reindexer core (ros2#641)