We present Legodroid, a Java library for Android that allows cross-programming LEGO Mindstorms through an Android device to exploit its extra computational capabilities in a seamless way. From a programmer’s perspective, the paradigm it suggests for programming the EV3 is straightforward and resembles a standard main function in the likes of leJOS, which natively runs on the EV3 side though. Moreover, the library imposes type-driven coding patterns for interacting with motors and sensors, which guide developers in writing correct code with less runtime errors thanks to a rigid discipline over types. This is particularly effective in Android, whose component-based pattern complicates coding of traditional long-running algorithms for robots. Compared to leJOS, Legodroid users reported shorter bugfixing times and a more accessible paradigm for programming the robot, which had a positive impact on how much resources could be put in writing smarter algorithms and sophisticate interactions.
Spano A. (Corresponding)
|Data di pubblicazione:||2019|
|Titolo:||Type-driven cross-programming for android and LEGO Mindstorms interoperability|
|Titolo del libro:||Computer Information Systems and Industrial Management|
|Digital Object Identifier (DOI):||http://dx.doi.org/10.1007/978-3-030-28957-7_17|
|Appare nelle tipologie:||4.1 Articolo in Atti di convegno|