A java simulator developed for a sailing robot project