PHP+ROSTOPIC
Hello, I have a question to all of you. For example, I have simple publisher and subscriber. The topic name "/test". I want click button on my PHP website and in the case when I will do this the data on a topic will change. If I want to publish some data from command line, such as:
rostopic pub -1 /test std_msgs/Int32 10000
It works.
The problem is:
Can I make the next situation on my PHP file
<?php
exec("rostopic pub -1 /test std_msgs/Int32 10000")
?>
Please help me.