BrainsOnBoard / bob_robotics

Collection of code for interfacing with robot platforms + simulations and visualisation
GNU General Public License v2.0
2 stars 6 forks source link

Robot dead reckoning #356

Closed neworderofjamie closed 9 months ago

neworderofjamie commented 10 months ago

In order to implement robot-agnostic code to e.g. determine if the robot is moving or not, we want access to forward speed and turn speed. This should be pretty simple:

Some of this functionality existed in the past but was removed (@alexdewar any idea why? Tracking raw motor values seems useful and exactly the type of thing the robot abstraction should provide) and, additionally, switching from a standard class hierarchy of robot classes to curiously-recurring template pattern makes it irritating as I have needed to liberally scatter friend declarations around (again, can't really remember why this change was made so worried I'm missing something here @alexdewar).