ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

This is because with sudo, you're running commands in root's environment, and ROS isn't configured there. Rather than run nodes with sudo, you should add a udev rule which configures the GPIO device so non-root users can access it.