"Unknown joystick" exception for teleop in MoveIT

asked 2019-06-12 17:10:28 -0500

updated 2019-06-12 18:05:11 -0500

jayess gravatar image

I'm trying to run the teleop mode from moveit

I have this running in one terminal:

roslaunch panda_moveit_config demo.launch

And this in the second one:

roslaunch panda_moveit_config joystick_control.launch dev:=/dev/input/js0

but I get this error:

[ERROR] [1560376798.477129]: bad callback: <bound method MoveitJoy.joyCB of <moveit_ros_visualization.moveitjoy_module.MoveitJoy instance at 0x7f998c14dcf8>>
Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback
    cb(msg)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/moveit_ros_visualization/moveitjoy_module.py", line 475, in joyCB
    raise Exception("Unknown joystick")
Exception: Unknown joystick

If I run jstsest /dev/input/js0, I get the correct output. And all my joystick drivers are up to date. I'm using a Sony PS3 controller, which should be supported. Any ideas?

edit retag flag offensive close merge delete

Comments

Just a note to make you aware of it: the joystick interface to moveit is not a regular "jogging" interface as you would know from industrial robots. The joystick only controls the interactive marker used for configuring the goal state, which is then turned into a planning request.

gvdhoorn gravatar imagegvdhoorn ( 2019-06-13 01:18:11 -0500 )edit