Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 55

use_sim_time only for some of the running nodes

$
0
0
Is there some way to enable `use_sim_time` only for dedicated nodes? I have a scenario in which a node should use the simulated time published on `/clock` while at the same time other nodes are running which should use the wall time. Since `/use_sim_time` is a global parameter, simply setting it to true would lead to all nodes using the simulated time. I think it would work to first start the wall-time nodes, then set the parameter and after that start the sim-time node, but I would prefer a more robust method, if there is any.

Viewing all articles
Browse latest Browse all 55

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>