A Java-based API for Arduino-based robots