Get js0 data without joy publishing
I'm trying to protect the input data stream into my robot, but not by subscribing to joy. Rather I'd like to add joy code into my cpp or just directly get the info from /dev/input/js0. I am using ROS Kinetic.
I've searched and haven't been able to quite find the answer that will work with ROS.
I appreciate any help, and would be happy to answer any questions to help.
Well: my first question would be: what do you hope to gain by that? I'm particularly interested in your "I'm trying to protect the input data stream to my robot" remark there.
You could always start by modifying the source code from the joystick_drivers package to do what you desire with the
/dev/js0
data instead of publishing it to/joy
Are you trying to 'hide' the joystick values from the wider ROS system?