wjwwood_serial Unable to open port
HI everyone!
I used wjwwood_serial to connect my RS232.And i installed by use sudo apt-get install ros-indigo-serial in computer1 and laptop.
Then I created package and wrote code, let it can listen to ROS node. And it can run perfect in computer1,but when i copy this package to laptop and run. It shows Unable to open port.
my code:https://drive.google.com/folderview?id=0B02FisAlf-IXTGVmclV0UW11QTg&usp=sharing
what happened? thank for any help and advice!
best regard!
Has your user the rights to use the serial port on the laptop? Try sudo chmod 666 /dev/ttyS0 (or whatever your serial port is)
thank you! i sloved the problem by use sudo chmod 666 /dev/ttyUSB0. so it is the permission problem
Hi! I am new for ROS, i am wondering if you could tell/teach me how to create package and why should we do it. THX!
Hi ! I just see the email this weekend,i so sorry for reply too late.If you want to use this package,you just need to
sudo apt-get install ros-indigo-serial
.Then you can use serial like in python or c++,just like #include <serial serial.h="">.the serial example
Hi, can you send me the serial example as the link is no longer available?