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

Revision history [back]

click to hide/show revision 1
initial version

This should be possible. Make sure your web server (or PHP interpreter) has the proper environment setup when it tries to invoke rostopic (ie: equivalent of source setup.bash).

Alternative (and I think preferred): use rosbridge_suite and use the JSON interface from your PHP script.