Robot Upstart and USB Ports
I'm currently trying to create a robot upstart package for my turtlebot 1.0. Seeing as how the minimal.launch relies on environment variables to launch the proper nodes for the turtlebot 1.0, I created a separate package in my workspace with the only purpose of having a launchfile for starting the turtlebot for the create base and kinect. The upstart package worked, and ros starts and so do all of the nodes, except the create isn't connected.
I think the problem is getting robot_upstart permission to use ttyUSB0. I created a udev rule to give permission to everyone, but I'm not sure if that's working? Has anybody faced a similar problem?
Thanks for any help or suggestions.
Have you read the note about permissions set/used for the user
robot_upstart
uses? See The install script - permissions in the docs.I tried installing the job with the --user root option, but I still can't get it to connect. I tried setting udev rules and running as a variety of users. I did read the script, and I thought running as root or setting a udev is what they were indicated, but perhaps I'm misunderstanding something?
Can you post the udev rule and the part where you launch the turtlebot also dose the launch file work when you start manually
For the udev rule, I made a file called "99-my-usb.rules" in /etc/udev/rules.d. The file contains the line: KERNEL=="ttyUSB[0-9]*,GROUP="uucp",MODE="0666"
I've also tried editing the rule for strictly USB0, with and without the GROUP, but always keeping the mode 666.
As for the launch file, it works perfectly when manually launched. All it does is call the turtlebot minimal.launch file with the parameters for my turtlebot 1.0.