File “/home/hasi/pidog/examples/servo_zeroing.py”, line 3, in
from robot_hat.utils import reset_mcu
ImportError: cannot import name ‘reset_mcu’ from ‘robot_hat.utils’ (/usr/local/lib/python3.13/dist-packages/robot_hat-2.2.1-py3.13.egg/robot_hat/utils.py)
Could you please let us know which system image version you are currently using?
Please be advised that we have recently updated our codebase, and the official tutorials have not yet been fully synchronized. Please follow the commands below to install all the necessary libraries.
We recommend starting with a fresh system installation before proceeding:
To help us investigate the problem where the camera freezes approximately 30 seconds after each reboot, could you please provide the following information?
Which specific example code are you running when this problem occurs?
Could you please send us a short video showing the issue? This would be very helpful for our analysis.
Please confirm if your network signal is stable. We also recommend trying a different network connection to see if the problem persists.
If the video file is large, we recommend uploading it to your own OneDrive, then sharing the video link with us. Please also grant us access permission to the video link so we can help you analyze and resolve the issue.
If the installation of the Robot Hat library fails during the process, we suggest running the installation command a second time to see if it completes successfully.
We have conducted tests and verified that all controls on the APP interface are functioning properly.
May I ask which version of your PiDog is, V1 or V2?
We have updated the software code. If possible, we recommend reinstalling the system and then following the tutorial steps to install all library codes:
After successfully installing all the library codes, please run the APP example again to check the control results.
The only remaining problem is, when I move the head with the App, the camera freezes until the next restart of the Pidog.
Look at the movie posted same days ago.
If the PiDog stops working and the Raspberry Pi restarts whenever you control it with the app, the issue is likely that the Robot HAT isn’t providing enough power for both the Raspberry Pi and all the connected modules.