* will be moved into GLucose once stabilized.
*/
public static class PandaDriver {
-
// IP address
public final String ip;
// Initialize our OSC output stuff
address = new NetAddress(ip, 9001);
message = new OscMessage("/shady/pointbuffer");
-
+
// Build the array of points, initialize all to nothing
points = new int[PandaMapping.PIXELS_PER_BOARD];
for (int i = 0; i < points.length; ++i) {
// as cubes with Wiring.FRONT_LEFT. If this needs to be changed,
// remove this null assignment and change the below to have mappings
// for the LEFT and RIGHT speaker
- private final static int[][][] SPEAKER_STRIP_ORDERING = null; /* {
+ private final static int[][][] SPEAKER_STRIP_ORDERING = {
// Left speaker
{
// Front face, counter-clockwise from bottom left
{0, BACKWARD },
{3, BACKWARD },
}
- };*/
-
- private final static int[][] LEFT_SPEAKER_STRIP_ORDERING = {
};
public PandaDriver(String ip, Model model, PandaMapping pm) {
this(ip);
-
+
// Ok, we are initialized, time to build the array if points in order to
// send out. We start at the head of our point buffer, and work our way
// down. This is the order in which points will be sent down the wire.
}
}
+
private void sendPacket(int packetNum) {
message.clearArguments();
message.add(packetNum);
}
}
}
-