UbiquityRobotics / ubiquity_motor

Package that provides a ROS interface for the motors in UbiquityRobotics robots
BSD 3-Clause "New" or "Revised" License
24 stars 23 forks source link

Reset and reinitialize MCB if we see it has itself been reset #103

Closed mjstn closed 3 years ago

mjstn commented 3 years ago

Form initMcbParameters() to be used in place of inline code at startup and also to be used when a MCB reset system event is seen from the MCB.

initMcbParameters() has the task of making sure the MCB is setup with any parameters that the host sets like Pid and many other parameters

Also modified the periodic message to log so it now also shows battery voltage which is so very critical to debug any number of customer complatints.