Node Writing Question

asked 2015-02-09 10:08:57 -0600

dshimano gravatar image

Hi, I'm running indigo on a RPi.

I wrote a simple script to control a servo using a RPi library, RPIO. When I run it using ROS, though, I get an error.

 pi@raspberrypi ~/catkin_ws $ rosrun servo servo_rpio.pwm_ros.py
Traceback (most recent call last):
  File "/home/pi/catkin_ws/src/servo/servo_rpio.pwm_ros.py", line 4, in <module>
    from RPIO import PWM
ImportError: No module named RPIO

Am I not able to use an outside library with ROS?

edit retag flag offensive close merge delete

Comments

1

Outside libraries work fine. Can you do import RPIO in a normal python shell?

dornhege gravatar image dornhege  ( 2015-02-09 10:21:33 -0600 )edit