From: Alexander Green Date: Sun, 8 Sep 2013 12:00:01 +0000 (-0700) Subject: finalized mapping X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a7c8d80aea0abed745934ffcc723b7a7f542d6d0;p=SugarCubes.git finalized mapping --- diff --git a/SugarCubes.pde b/SugarCubes.pde index 7f8be7b..4a94143 100644 --- a/SugarCubes.pde +++ b/SugarCubes.pde @@ -27,7 +27,7 @@ LXPattern gplay; LXPattern[] patterns(GLucose glucose) { return new LXPattern[] { - new Gimbal(glucose), + // DMK @@ -82,7 +82,8 @@ LXPattern[] patterns(GLucose glucose) { new TowerParams(glucose), new DriveableCrossSections(glucose), new GranimTestPattern2(glucose), - + //JR + new Gimbal(glucose), // Sam new JazzRainbow(glucose), @@ -91,6 +92,7 @@ LXPattern[] patterns(GLucose glucose) { new AbstractPainting(glucose), new Spirality(glucose), + // Basic test patterns for reference, not art new TestCubePattern(glucose), new TestTowerPattern(glucose), diff --git a/_Mappings.pde b/_Mappings.pde index 059841d..940fade 100644 --- a/_Mappings.pde +++ b/_Mappings.pde @@ -249,7 +249,11 @@ public Model buildModel() { new Cube(BBX + 104, 107.5, BBZ + BassBox.EDGE_DEPTH + 17, 0, -35, 0, WRR), new Cube(BBX + 129, 107.5, BBZ +BassBox.EDGE_DEPTH +10, 0, -35, 0, WFL), - new Cube(179, 4*Cube.EDGE_HEIGHT, BBZ + BassBox.EDGE_DEPTH + 14,0, -20, 0 , WFR) + new Cube(179, 4*Cube.EDGE_HEIGHT, BBZ + BassBox.EDGE_DEPTH + 14,0, -20, 0 , WFR), + + //lonely cube at top left, one cube channel + + new Cube(BBX - 36, 4*Cube.EDGE_HEIGHT + 8, BBZ +BassBox.EDGE_DEPTH- 38, 0, 10, 0, WFL) // new Cube(x, y, z, rx, ry, rz, wiring), }; @@ -330,12 +334,30 @@ public PandaMapping[] buildPandaList() { new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 60, 61, 62, 63 }), //28 J3 new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 56, 57, 58, 59}), //28 J4 new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 45,46,47,48 }), //28 J7 - new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] {24,25,26,27}), //28 J8 + new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] {1,1,1,1}), //28 J8 new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 4,5,6,7}), //28 J13 new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 64, 65, 66, 67 }), //28 J14 new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 68, 69, 70, 71 }), //28 J15 new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 49,50,51,52}), //28 J16 }), + new PandaMapping( + "10.200.1.31", new ChannelMapping[] { + new ChannelMapping(ChannelMapping.MODE_CUBES, new int[]{1,1,1,1}), //placeholders + new ChannelMapping(ChannelMapping.MODE_CUBES, new int[]{1,1,1,1}), + new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] {1,1,1,1 }), + new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] {24,25,26,27}), //28 J8 + new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 1,1,1,1}), + new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 1,1,1,1 }), + new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 73 }), + new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 1,1,1,1}), //31 J16 + + + } + + + + + ) }; }