hi,
I have used the drv8835-motor-driver-rpi hardware, drivers and scripts on a Raspberry pi3B running raspbian.
I have upgraded the wheeled bot to include a raspberry Pi4B 8GB device with Ubuntu22.4 & ROS2 Humble running on it.
Any chance someone has updated the software drivers, scripts & pre-requisite files for Ubuntu22.4. I have run through the install instructions but example.py will not run. It is looking for wiringpi.
*Traceback (most recent call last):*
* File "example.py", line 3, in <module>*
* from pololu_drv8835_rpi import motors, MAX_SPEED*
* File "/drv8835-motor-driver-rpi/pololu_drv8835_rpi.py", line 1*
* import WiringPi-Python*
* ^*
*SyntaxError: invalid syntax*