ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I think you are missing the ROS setup when running from the webpage, i.e. sourcing /opt/ros/diamondback/setup.bash and possibly setting the ROS_PACKAGE_PATH.
Even if the webserver is running as the same user where you tested it the .bashrc might not have been sourced.