Added HyperCon to deploy directory. Sorted leds to start at led-nr zero. Changed default integration depth of horizontal leds.

Former-commit-id: 67b38ceea032de0105daadd4bcda99cd458fb15f
This commit is contained in:
T. van der Zwan 2013-09-30 17:00:09 +02:00
parent 3b232ad4f5
commit ed4596f3aa
4 changed files with 11 additions and 6 deletions

View File

@ -0,0 +1 @@
c8654fba4777ea4222897a55d1d24517cc636482

View File

@ -1,6 +1,6 @@
<?xml version="1.0"?>
<project default="main" basedir=".">
<property name="deploy.dir" value="${basedir}/deploy" />
<property name="deploy.dir" value="${basedir}/../../../deploy" />
<target name="main" depends="make_deploy_dir, build" description="Build HyperCon, the Hyperion configuration file builder" />
@ -15,10 +15,6 @@
<move file="HyperCon.jar" todir="${deploy.dir}" />
</target>
<target name="clear">
<delete dir="{deploy.dir}" quiet="true" />
</target>
<target name="make_deploy_dir">
<mkdir dir="${deploy.dir}" />

View File

@ -2,6 +2,8 @@ package org.hyperion.hypercon;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.util.Collections;
import java.util.Comparator;
import java.util.Vector;
import org.hyperion.hypercon.spec.BorderSide;
@ -153,6 +155,12 @@ public class LedFrameFactory {
}
}
Collections.sort(mLeds, new Comparator<Led>() {
@Override
public int compare(Led o1, Led o2) {
return Integer.compare(o1.mLedSeqNr, o2.mLedSeqNr);
}
});
return mLeds;
}

View File

@ -12,7 +12,7 @@ import org.hyperion.hypercon.LedFrameFactory;
public class ImageProcessConfig extends Observable {
/** The 'integration depth' of the leds along the horizontal axis of the tv */
private double mHorizontalDepth = 0.05;
private double mHorizontalDepth = 0.08;
/** The 'integration depth' of the leds along the vertical axis of the tv */
private double mVerticalDepth = 0.05;