@@ -0,0 +1,1044 @@
+package com.easternedgerobotics.rov.integration;%0A%0Aimport com.easternedgerobotics.rov.io.pololu.PololuMaestro;%0A%0Aimport com.pi4j.io.serial.Serial;%0Aimport com.pi4j.io.serial.SerialFactory;%0A%0Aimport java.util.BitSet;%0A%0Apublic final class PololuMaestroSetTargetTest %7B%0A    private PololuMaestroSetTargetTest() %7B%0A%0A    %7D%0A%0A    public static void main(final String%5B%5D args) %7B%0A        final byte deviceNumber = Byte.parseByte(args%5B0%5D);%0A        final byte channel = Byte.parseByte(args%5B1%5D);%0A        final short microseconds = Short.parseShort(args%5B2%5D);%0A        final int baudRate = 115_200;%0A        final Serial serial = SerialFactory.createInstance();%0A        final PololuMaestro maestro = new PololuMaestro(serial, deviceNumber);%0A%0A        System.out.printf(%22Set target to %25d%C2%B5s%25n%22, microseconds);%0A%0A        serial.open(%22/dev/ttyACM0%22, baudRate);%0A        maestro.setTarget(channel, microseconds);%0A        final BitSet errors = maestro.getErrors();%0A        if (!errors.isEmpty()) %7B%0A            System.out.printf(%22Errors set is %25s%25n%22, errors);%0A        %7D%0A    %7D%0A%7D%0A

Add Pololu Maestro set target test