ODroid XU4 GPIO pins and ROS
Odroid
running Ubuntu Mate 16.04 and ROS Kinetic. I have wiringPi2
installed for accessing the GPIO pins. I am able to use the GPIO pins through a Python script, but they require sudo
access. I have a ROS node (written in Python) in which I want to access the GPIO pin data and publish to a topic. But, I am not able to do so, because wiringPi2
required sudo access, and ROS is not defined in root.
I have tried using wiringPiSetupSys()
function which does not require sudo
access, but that does not work i.e. I am not able to get the GPIO pin data without sudo
access.
All the solutions to similar problems for Raspberry Pi platform don't seem to work for Odroid.
Thanks.