Ask Your Question

Setting use_sim_time globally across all ROS2 nodes

asked 2021-09-18 13:02:18 -0600

Blake McHale gravatar image

Is there a way to set the use_sim_time ROS2 parameter across all nodes?

I want all my nodes to use_sim_time globally by default since most of my work is in simulation.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2021-09-19 11:34:53 -0600

Kenji Miyake gravatar image
edit flag offensive delete link more


Thanks! I ended up using SetParameter since I only needed to change one parameter across all nodes. I did not look into RewrittenYaml.

Blake McHale gravatar image Blake McHale  ( 2021-09-22 22:11:35 -0600 )edit

answered 2021-09-19 10:17:09 -0600

flo gravatar image

You could be interested in the RewrittenYaml function from navigation2. Check this conversation out to learn more about it:


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2021-09-18 13:02:18 -0600

Seen: 31 times

Last updated: Sep 19 '21