Is there a way to import Webots controller library in a simple python script running a ROS node inside a ROS workspace?
I have seen the Webots ROS_Python exmaple and understand the concept behind. But I am unable to import
from controller import Robot
and get the error
ImportError: No module named rospy
while running the ROS_Python example package provided already.
Edit: Changing python variable /usr/local/webots/lib/python35 finds the controller but now, a new error occurs:
ImportError: libCppController.so: cannot open shared object file: No such file or directory