[Discourse.ros.org] [Client Libraries/rosjava] ROS Java & Mind Storm
There is a board/case, [Dexter Industries BrickPi3](https://www.dexterindustries.com/shop/brickpi-starter-kit/) which allows a Raspberry Pi 3 to work with Lego Mindstorms. This doesn't include any Lego parts, just the case, the RP3, and other things to get this to work. The interface board included with this allows Lego motors and sensors to be used.
I know that ROS will work on the RP3. It isn't the best platform for it, but it does work.