ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Setting use_sim_time globally across all ROS2 nodes

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

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
1

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

Kenji Miyake gravatar image
edit flag offensive delete link more

Comments

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 -0500 )edit
1

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

flo gravatar image

You could be interested in the RewrittenYaml function from navigation2. Check this conversation out to learn more about it: https://github.com/ros-planning/navig...

Cheers

edit flag offensive delete link more

Question Tools

2 followers

Stats

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

Seen: 759 times

Last updated: Sep 19 '21