Can't get turtlebot_teleop to work with Logitech Logitech Cordless RumblePad 2 [closed]

asked 2011-04-18 06:37:02 -0600

Pi Robot gravatar image

Hello Turtlebot fans,

I am using the latest Debian Turtlebot packages under Diamondback on Ubuntu 10.04, and I'm trying to use the Turtlebot joystick_teleop_joy node to operate a non-Turtlebot robot that responds to Twist commands on the /cmd_vel topic. But before I get to that point, I am just trying to see the Twist values on the /turtlebot_node/cmd_vel topic (which is the default topic for the stock Turtlebot joystick_teleop.launch file.)

When I toggle the left joystick on the gamepad, the values on the /joy topic update appropriately (axes 0 and 1), but I get nothing nothing but 0's on the /turtlebot_node/cmd_vel. Does the rest of the Turtlebot stack have to be running for this to work? The steps I am following are:

$ roslaunch turtlebot_teleop joystick_teleop.launch
$ rostopic echo /joy (numbers update appropriately when left joystick moved)
$ rostopic echo /turtlebot_node/cmd_vel (only 0's appear when moving left joystick)

Any thoughts?

--patrick

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by mmwise
close date 2011-06-09 07:52:33

Comments

Ha! I was outsmarted by the "deadman's" safety feature. So apparently you have to press and hold the deadman button (mappable in the launch file) in order for the joystick values to be published to /turtlebot_node/cmd_vel. Problem solved. --patrick

Pi Robot ( 2011-04-18 07:40:01 -0600 )edit

Do you know how to use a normal joystick to control a turtlebot based kobuki?I have some trouble with it . I refer to this website:http://wiki.ros.org/turtlebot_teleop/Tutorials/hydro/Joystick%20Teleop.Thank you

Jie Sky ( 2014-11-25 22:44:08 -0600 )edit