bandi13 / cyton_gamma_300_ROS

This repository is my work on getting the Cyton Gamma 300 working under ROS Indigo. I have the low level non-Cyton drivers incorporated. I've found that the Cyton code is incredibly bad with deadlocks. This approach works much better and is fully open source.
GNU General Public License v2.0
7 stars 2 forks source link

Problem with Controller launch - Could not open the port #3

Open khasimkhan opened 8 years ago

khasimkhan commented 8 years ago

Dear Bandi,

I've been trying to use the Robai Cyton gamma 300 with the ROS and the only tutorial I could look for (which actually works) was yours. I'm using the ROS indigo and I've followed the first step, git cloned your repository, run the catkin_make in the ROS_ws folder, sourced the setup.bash file.

When I enter the "roslaunch cyton_controllers controller_manager.launch", I get the following error

File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 278, in open raise SerialException("could not open port %s: %s" % (self._port, msg)) serial.serialutil.SerialException: could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'

I suppose I'm missing a simple thing here, can you please help me out on this. All your help will be appreciated.

Thank you, Khasim

khasimkhan commented 8 years ago

I could fix this myself by giving write permissions to the USB port by sudo chmod +x /dev/ttyUSB0