ftPeter / RomiPi

ROS library for Pololu Romi with Raspberry Pi.
7 stars 11 forks source link

version mismatch for Romi-RPi-I2CSlave.ino and romipi_driver.py? #1

Open dwkennedy opened 4 years ago

dwkennedy commented 4 years ago

Version is 14 in the file "Romi-RPi-I2CSlave.ino": #define ROMI_FIRMWARE_VERSION (14)

However, in file "~/catkin_ws/src/RomiPi/romipi_astar/src/romipi_astar/romipi_driver.py": if fwversion != 15: raise ValueError('Incorrect Romi Firmware Version Detected %d' % fw version)

Is there a version 15 arduino sketch?

dwkennedy commented 4 years ago

All of the programs on the RPi side would puke out when they saw the version 14 firmware coming from the romi control board, so I changed ROMI_FIRMWARE_VERSION in Romi-RPi-I2CSlave.ino from (14) to (15) and remote control via keyboard now seems to work. motion is a little jerky but maybe that's normal? thanks for sharing your code :)

zlite commented 4 years ago

I did the same, but am getting an error with the encoder reset command.