rpi/odom.cpp
This file is part of the odom package on the raspberry pi. Its purpose is to listen to messages published on the encoder_ticks
topic and use that information to craft an odom
message that we can use to localize our robot on a map using RViz.
The whole code is heavily inspired by this question on the ROS forum.