This is Python example of reading location, IMU, raw distances and other data 
from mobile beacon or modem via serial port (USB or UART).

You can find this example in repository:
https://github.com/MarvelmindRobotics/marvelmind.py
