0
$\begingroup$

Rosanswers logo

I'm trying to do remote controll to my pioneer 2 robot, but when i run the launch file, i have this mistake "line 6, in from joystick.msg import joy ImportError: No module named joy.msg" and I don't know how to solve that; I have the teleop_base, Rosaria and the app in the ipad.

thanks for all


Originally posted by Kryuchcov on ROS Answers with karma: 1 on 2012-01-24

Post score: 1


Original comments

Comment by Kryuchcov on 2012-01-25:
that is the launch file pioneer-iphone.launch,, I put more information down,,, thanks

Comment by Kryuchcov on 2012-01-25:

Comment by karthik on 2012-01-24:
Pls update the question with the details for the launch file you are using and the complete error to get quick help

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

I assume you're using electric (otherwise please update your question with the necessary information)?

Since electric, the "joy" msg is in sensor_msgs, so you need to change from joystick.msg import joy into:

  from sensor_msgs.msg import joy

in the affected code.


Originally posted by AHornung with karma: 5904 on 2012-01-24

This answer was ACCEPTED on the original site

Post score: 3


Original comments

Comment by Kryuchcov on 2012-01-26:
thaks for the help, it solve one mistake, unfortunately I have others that I explain in my answer, down the question, if you can and have time, your help will be good received,, thanks

Comment by lucasw on 2014-03-27:
For anyone using hydro joy ought to be capitalized:

from sensor_msgs.msg import Joy

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.