Robotics StackExchange | Archived questions

ROSPY environment variable

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?

Asked by Nassar on 2016-01-26 03:43:21 UTC

Comments

Answers