OpenAgricultureFoundation / openag_brain

ROS package for controlling an OpenAg food computer
GNU General Public License v3.0
221 stars 68 forks source link

Don't send warnings on updateLoop #302

Closed sp4ghet closed 7 years ago

sp4ghet commented 7 years ago

This change should fix the bug where it sends a lot of warnings if the doser pumps haven't been set recently. It changes the checking for non-success status_codes to bool checkModule() and runs after each time it receives a message, further strengthening the master/slave relationship between arduino and RPi.