Skip to content
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

Turtlebot2 Simulation #1

Closed
rmerriam opened this issue Aug 17, 2019 · 6 comments
Closed

Turtlebot2 Simulation #1

rmerriam opened this issue Aug 17, 2019 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@rmerriam
Copy link

Trying to run this in simulation. Gazebo runs and shows the Turtlebot and other objects. Running the

roslaunch turtlebot_teleop keyboard_teleop.launch

doesn't cause any movement. I don't see any message when looking at

/cmd_vel_mux/input/teleop

Any suggestions?

Also the depthimage_to_laserscan nodelet doesn't load but I'm not concerned about it at the moment.

@Ircbarros
Copy link

Hi! Can you send your stdout showed in the terminal?

@gaunthan
Copy link
Owner

Hi. I think your problem may be caused by communication problem with rosmaster.

Try use roscore to start a rosmaster in advance, and then bring up other nodes.

Otherwise, if you use turtlebot_teleop to start a rosmaster by default, and after that you restart the turtlebot_teleop, all communications created before will be broken. So rostopic echo /cmd_vel_mux/input/teleop won't prompt anything new!

@gaunthan gaunthan added the help wanted Extra attention is needed label Sep 5, 2019
@gaunthan gaunthan added wontfix This will not be worked on and removed wontfix This will not be worked on labels Oct 16, 2019
@hlq1025
Copy link

hlq1025 commented Dec 25, 2019

Does anyone know how to solve this problem?

@hlq1025
Copy link

hlq1025 commented Dec 25, 2019

Hi! Can you send your stdout showed in the terminal?

Control Your Turtlebot!

Moving around:
u i o
j k l
m , .

q/z : increase/decrease max speeds by 10%
w/x : increase/decrease only linear speed by 10%
e/c : increase/decrease only angular speed by 10%
space key, k : force stop
anything else : stop smoothly

CTRL-C to quit

currently: speed 0.000239264854169 turn 0.00119632427085
currently: speed 0.000215338368752 turn 0.00107669184376
currently: speed 0.000193804531877 turn 0.000969022659386
currently: speed 0.000174424078689 turn 0.000872120393447
currently: speed 0.00015698167082 turn 0.000784908354102
currently: speed 0.000141283503738 turn 0.000706417518692
currently: speed 0.000127155153365 turn 0.000635775766823
currently: speed 0.000114439638028 turn 0.000572198190141
currently: speed 0.000102995674225 turn 0.000514978371127
currently: speed 9.26961068028e-05 turn 0.000463480534014
currently: speed 8.34264961225e-05 turn 0.000417132480612
currently: speed 7.50838465102e-05 turn 0.000375419232551
currently: speed 6.75754618592e-05 turn 0.000337877309296
currently: speed 6.08179156733e-05 turn 0.000304089578366
currently: speed 5.4736124106e-05 turn 0.00027368062053

@hlq1025
Copy link

hlq1025 commented Dec 26, 2019

I figured out this problem.follow the following tutorial ,then you can use keyboard to control turtlebot.
https://www.ncnynl.com/archives/201904/2924.html.

@gaunthan
Copy link
Owner

Thanks! You may want to check out #2 (comment) and #2 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants