BotWheel Explorer demo script error

Tech Support:

Why am I getting the error “state : waiting for odrives” on the web control page when bot_ctrl.py is launched as a systemctl service per the instructions provided?

I assembled and configured my BotWheel Explorer kit following the instructions exactly.
https://odrive-cdn.nyc3.digitaloceanspaces.com/releases/docs/tuz5Eoq9jgCRICZVXLGZca10l1WFnisS_t3Vbhu9smQ/guides/botwheel-explorer.html

It works as described when I manually start the demo script bot_ctrl.py but I am getting the waiting error AFTER I set up the auto start systemctl bot_ctrl.service to run the same script. I removed the SSL flag and still getting the same error.

I checked the CAN bus wiring and found no problem.

I suspect there is a CAN BUS initialization or timing problem during the service startup.

Please advise. Thank you.

Charles

Can you ssh into the Pi after having that issue (e.g. after a reboot, once the webpage is reachable but the CAN isn’t working), and show the output of:

  • sudo journalctl -u bot_ctrl.service
  • sudo systemctl status bot_ctrl.service
  • ip link show can0

Also, if you run candump can0, does it show any received CAN packets?

Thanks!