Communication with Turtlebot Roomba base
I have installed all the stacks along with roomba_robot and serial_communication. Execute "MAKE" for all. I am trying to run this command:
rosrun roomba_500_series roomba560_node which throws below error:
turtlebot@ubuntu:~/myStacks$ rosrun roomba_500_series roomba560_node file = /home/turtlebot/myStacks/roomba_robot/roomba_500_series/src/roomba560.cpp line=156
Anyone please suggest if I am missing anything and help me in resolving this problem. It's urgent !! Thank You !!
Error as below:turtlebot@ubuntu:~/myStacks$ rosrun roomba_500_series roomba560_node file = /home/turtlebot/myStacks/roomba_robot/roomba_500
Could not connect to Roomba
Did u change the permission of usb port to which roomba is connected..
Nope. How will changing permission of USB port effect ? I mean I can see that it's detecting at /dev/ttyUSB0.. To what permission do I have to change ?
You mean shall I do this way: chmod 777 <path to USB device which is /dev/ttyUSB0 here > ?
@shade .. It's working now.. but many times after connection is established, it shows following messages and I am unable to communicate...[ERROR] [1362487447.570308487]: Could not retrieve sensor packets. Please suggest. Thanks.
It's getting disconnected as soon as connection is established..
Might need to add turtlebot to the group. sudo usermod -a -G dialout turtlebot --but I'm no expert.