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.
|Titolo:||Type-driven cross-programming for android and LEGO Mindstorms interoperability|
SPANO', ALVISE (Corresponding)
|Data di pubblicazione:||2019|
|Appare nelle tipologie:||4.1 Articolo in Atti di convegno|
File in questo prodotto:
|Cisim2019_paper_55.pdf||preprint||Documento in Pre-print||Accesso gratuito (solo visione)||Open Access dal 31/12/2020|