I plugged Sweep into one of my USB ports on my Raspberry Pi 3B and build the scanse 'libsweep' C/C++ library. I ran the included example.cc file and seemed to be getting accurate range data. However, shortly after that and when the 'example.cc' script wasn't running (but the device was still plugged into the USB port and rotating), my Raspberry Pi randomly shutdown. Is this a power consumption issue?
I read somewhere that a Raspberry Pi USB port can only handle around 100mA, while Sweep can use up to 300mA. Is a powered USB hub required to use Sweep with a Raspberry Pi? If so, is there a recommended one?