ROSPY environment variable

asked 2016-01-26 02:43:21 -0600

Nassar gravatar image

Im trying to execute from PHP a python script that publishes to a listener. But for some reason when I execute it it doesnt see the std_msgs library.

At first on execution rospy couldn't be found, but I added the env variables of ROS to the apache's user, and rospy functions are working except std_msgs.

I need a way to know how to add std_msgs path to apache's user, or if there is another way to execute python code from php?

edit retag flag offensive close merge delete