the app_control.py was working perfectly hours ago, but then the “Vilib” module didn’t work suddenly. from vilib import Vilib (line of code with error)
It is recommended that you update your code base as follows:
cd ~/robot-hat
git pull
sudo python3 setup.py install
cd ~/vilib
git pull
sudo python3 install.py
cd ~/picar-x
git pull
sudo python3 setup.py install
cd ~/picar-x
sudo bash i2samp.sh
After updating the above codebase, go back and execute the example to see how it works.
If you still can’t solve the problem, we recommend you to reinstall the Raspberry Pi system and install all the code libraries again.