Skip to main content
2 votes

how to use the rate.sleep function properly

Your approach of using timers and callbacks this way is slightly odd, for several reasons: you're re-creating a timer each time you get a pose (which, under the hood, makes use of the callback system,...
cst0's user avatar
  • 926
1 vote
Accepted

Mocking ros::Time::now in rostest/gtest

I was missing: ...
Ricardo Marques's user avatar
1 vote
Accepted

ros2 foxy - set / publish simulation time and enable use_sim_time

I solved my problem. I just used the wrong msg-type. I thought, the msg to be published into /clock should be of type "builtin_interfaces/msg/Time" but you need to use: "rosgraph_msgs/...
klanky's user avatar
  • 13

Only top scored, non community-wiki answers of a minimum length are eligible