ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

teleop turtlebot

asked 2014-12-03 03:21:42 -0600

forinkzan gravatar image

updated 2014-12-03 20:39:03 -0600

hey everybody: I want to build a node to use keyboard or ps3 handshacker to control my turtlebot ( useing C++ or python )means use this node to send twist message to cmd_vel , cuz i think there must be someone done this thing already , so I'd like to ask if someone has code? and could you pass it to me ?

ps : I'm using ros INDIGO and i want to build a node to using keyboard to congtrol my turtlebot , also i want to learn the code , does anyone have turtle_teleop_key.cpp in INDIGO vision?

edit retag flag offensive close merge delete

Comments

hello everyone i found that hydro teleop_key.cpp could use in indigo...............

forinkzan gravatar image forinkzan  ( 2014-12-10 20:53:31 -0600 )edit

"--i want to build a node to using keyboard to control my turtlebot , also i want to learn the code , does anyone have turtle_teleop_key.cpp in INDIGO vision?"

Me too. From where I can collect hydro version of turtlebot_key.cpp? Can anybody help?

Ahyan gravatar image Ahyan  ( 2015-01-07 03:15:16 -0600 )edit

@Ahyan i just use the turtlesim_teleop node in ROS WIKI tutorials ,and modify the "turtle vel/cmd" to "vel cmd" in its code , then it work well - -|||

forinkzan gravatar image forinkzan  ( 2015-01-07 19:14:50 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-12-03 04:08:30 -0600

Vegeta gravatar image

updated 2014-12-03 04:10:32 -0600

There is already a teleop package for the turtlebot called turtlebot_teleop. You can use the tutorials to use the keyboard to teleoperate your turtlebot. Also there are tutorials for using joysticks, ps3 joystics and xbox360 game controller to teleop your robot.

To use the keyboard, open a new terminal and type

roslaunch turtlebot_teleop keyboard_teleop.launch

The launch file is easy to understand.

edit flag offensive delete link more

Comments

forinkzan gravatar image forinkzan  ( 2014-12-03 18:46:43 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-12-03 03:21:42 -0600

Seen: 1,005 times

Last updated: Dec 03 '14