Skip to main content
3 votes
Accepted

How to resolve import error?

You have a typo in importing the msg library. Try to edit the code From from geometry_msgs.msgs import Twist, Quaternion to <...
Isak Martin Simbolon's user avatar
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
  • 888
1 vote

How to simultaneously execute 2 turtlesims inthe same window

You are starting two turtlesim nodes, which will have a window each. However, if you just start the first and then call the spawn service on that node, you will get ...
Karl Damkjær Hansen's user avatar
1 vote

Failed to set parameters using the service /turtlesim/set_parameters of the SetParameters type

I found the solution by accident, but I cannot know why it is so. Below is the code ...
Yongxue Law's user avatar

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