-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot move my turtle :'( #20
Comments
I have done all of my robot testing using a TurtleBot, but I haven't namespaced my topics yet (see Issue #5). First, I have been using the cmd_vel topic and geometry_msgs/Twist for movement. The web app has the exact example I use to move the TurtleBot over the web. I believe turtlesim is just a reduced verions of this (or wrapper around this). One of the ways I like to debug --- that may help here --- is to run A few possible issues:
Please let me know if any luck. I will start including the turtle sims in the development testing for the v0.1.x branch. |
Here is what outputs from rxgraph when selecting the turtlesim node :
If I understand well, I have to use the "turtle1/" namespace, and turtlesim does not listen for "cmd_vel" generic messages, so I just cannot talk to my turtle until "1)" is resolved ? |
I reproduced your issue locally tonight. I ran Then I wrapped I plan to spend most of the weekend implementing the new API (minus message generation) in the v0.1.x branch. Some backend design changes that will go in with this is fixing a couple timing issues that have came up related to either TCP port availability or publishing a message before the socket has connected (the issue here). Thanks for your patience. |
I don't know if you are used to it, I don't don't get if it is necessary in your case or not, but complex timing issues are often easier to manage using promises IMHO. |
This will allow rxgraph to query the node. Still need to do more work with bus stats and bus info after multiple subscriptions and publications is enabled. This should help with Issue #20.
I guess it's not a bug and I simply need some help.
I've created a project "turtlenode" using rosnodejs, which aims at moving the turtle_sim turtle.
I've generated the turtlesim messages, and I'm trying to use "/turtle1/command_velocity " to send a new speed.
here's the code :
'sent' is logged, no error is returned, but the process is stuck, and when I look at my graph with 'rxgraph', turtlenode seems registered to the topic (albeit I have to check "all topics" to see it) , but it is double circled in red, and clicking on it in rxgraph indicates that rxgraph could not connect to it using "localhost:9000".
I do not know what it means yet, but it seems not good.
rxconsole doesn't log any message while running turtlenode either.
The text was updated successfully, but these errors were encountered: