You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ubuntu@AUDACITY:~$ cd ~/osr_ws/src/osr-rover-code/scripts
-bash: cd: /home/ubuntu/osr_ws/src/osr-rover-code/scripts: No such file or directory
ubuntu@AUDACITY:~$ sudo find / -name roboclawtest.py
/home/ubuntu/osr_ws/osr-rover-code/scripts/roboclawtest.py
ubuntu@AUDACITY:~$ cd osr_ws/osr-rover-code/scripts/
ubuntu@AUDACITY:~/osr_ws/osr-rover-code/scripts$ python roboclawtest.py 128
Command 'python' not found, did you mean:
command 'python3' from deb python3
command 'python' from deb python-is-python
ubuntu@AUDACITY:~/osr_ws/osr-rover-code/scripts$ python3 roboclawtest.py 128
Traceback (most recent call last):
File "roboclawtest.py", line 13, in <module>
from roboclaw import Roboclaw
ModuleNotFoundError: No module named 'roboclaw'
The text was updated successfully, but these errors were encountered:
-bash: cd: /home/ubuntu/osr_ws/src/osr-rover-code/scripts: No such file or directory
means you made a mistake and you cloned the repository to the wrong folder.
This is also why the above issue with ModuleNotFoundError happens. We add that directory to the python path directly, and in your case it can't find it because it's wrong.
Following https://github.com/nasa-jpl/osr-rover-code/blob/foxy-devel/setup/rpi.md in section:
6 Testing serial comm with the Roboclaw motors controllers
Run the roboclawtest.py script with all of the motor addresses:
The text was updated successfully, but these errors were encountered: