I’m trying to link a Raspberry pi with pycroft with a Turtlebot. I have created a skill and I want that when I said “go to somewhere” the turtlebot goes to this place.
I have a python script and it works fine if firstly I connect via ssh and then I execute python go_to_specific_point_on_map.py
ssh firstname.lastname@example.org python go_to_specific_point_on_map.py
But if I tried to do all in one command, I get:
ImportError: No module named ‘rospy’
$ ssh email@example.com python go_to_specific_point_on_map.py
I think it is a problem due to .bashrc is not loaded and neither do the alias. I don’t know exactily what the problem is and how to solve it.
Can somebody help me? please.
I don’t know how to get it to work.
Thank you very much and best regards