Add ps3joy_node.py to upstart
Hey,
I was trying to get the ps3joy_node.py node to automatically run when my pandaboard boots, but I'm having some problems. I made a launch script that launches ps3joy_node.py and joy_node, but this needs to be run in sudo for the ps3 controller connection. I would normally run this by doing sudo bash and then roslaunch it.
The upstart script does not recognize roslaunch though, I assume it's for the same reason why "sudo roslaunch xxx" won't work.
I noticed Turtlebot also uses upstart scripts, actually it's where I got the idea from, but they avoid this issue by directly running the (old) ps3joy.py script outside ROS.
I plan to use the extra set_feedback and diagnostics features of ps3joy_node.py, so I prefer using that one. That requires ROS though, and I can't get ROS + root rights + upstart to work together.
Any help is appreciated, thanks.