ED Tracker 2.9 (Friday 13th)

Hmmm. I'll take a look at this tomorrow. Might have got the PIDs mixed up; 0x8036 is the Leonardo, 0x8037 is the Micro. EDTracker2 to date has been based on the Leonardo so we use that PID but if your device is actually reporting a Micro, I wonder if that's what the problem is.

Do you have your own custom board description and if so was it based on mine?

Edit, I've just confirmed the Ed Tracker 2 custom board zip file on edtracker.org.uk is based on mine with the name changed. I can therefore confirm it is based on the Leonardo core and boot loader files.

The original files are available here https://drive.google.com/folderview?id=0B6J4eiqUG9zySTIwWTdTcDJ0ZU0&usp=drive_web
 
Last edited:
Yep, as you say, the v2 was just v1 with the names updated - but the bundled Invensense Motion Libs are the ones specific to the V2 sketch (so it's not just a pure rename)....
 
Hmm.. Just tested on a 9150 and it worked ok. Are you up for some debugging ? If you add the line indicated below it should enable blinking when the sketch runs:


if (millis() > tick)
{
tick = millis() + 200;
digitalWrite(LED_PIN, blinkState);
blinkState=!blinkState; -- << Add this line
}

If the LED blinks then we know it's doing something...

Sorry for the delay. Got caught up in other 'stuff' last night that I couldn't get out of.

Anyway, made a copy of EDTrackerIICalibrate and added the above line of code. Now the unit is flashing the yellow LED: a series of very fast flashing for approx 10 secs then approx 2-ish per second.

Tried the 'V' code in the serial tool. I'm getting the following from both the original calibrate sketch and the modified as above calibrate sketch (the list of numbers go on for much longer but it has the T and D lines interspersed at regular intervals);

2080.43139 308.91372 -260.87020 130 -318 15990 -6 -14 -12
2081.69873 308.93142 -260.84985 62 -328 16026 -6 -15 -14
2082.94555 309.07635 -262.09671 124 -206 16034 -7 -16 -11
T 1958948
D 1.22 0
2084.33959 309.07696 -262.09039 186 -190 16048 -7 -15 -13
2085.62719 308.96740 -260.80276 168 -206 15980 -5 -15 -12
2086.89453 308.98516 -260.78240 176 -218 15990 -5 -15 -14

So the calibrate sketch does appear to be doing it's thing (it's seen under devices as EDTracker2) but wont talk to the UI.
 
Last edited:
After ""Scan for ED Tracker..." the sketch tries to get a list of com ports. It doesn't seem to be getting past that.

[edit] Sound like bug with Processing (https://github.com/processing/processing/issues/2559)

I just remembered something Brumster told me .... worth a try....

Can you download this java library

https://github.com/pocketmoon/EDTracker2/blob/master/serial/libjSSC-2.8.jnilib?raw=true

And stick it in the lib folder under EDTrackerUI.exe ?

I have Windows 7 Ultimate 64bit installed

I tried this as well copied into both the 32 bit and 64 bit UI lib folders. No change on the result. 32 bit UI is just a blank white window and nothing happening while 64 bit UI brings up a blank white window then three small dark windows with "Scan for ED Tracker..." in them

This is for both the modified and original versions of EDTrackerIICalibrate
 
Last edited:
Still no luck :(

I'm no expert but i can't help thinking its because it is showing in Device Manager as arduino leonardo and not as EDTracker2, after all it is searching for EDTracker 2 isn't it?

I'm 100% sure it's Processing/UI - All the UI does is send an 'H' to the tracker and expects and 'H' back but it's not geting past the very start where it get a list of open com ports.

The ultimate work around is to install Processing (https://www.processing.org/ I use the latest 32 bit version) and the toxiclibs from http://toxiclibs.org/ and then use the UI source (from github) to build and run the UI. It's very similar to seeting up the Arduino IDE. That always seems to work but obvisouly it's a pain to have to install extra stuff :/

Sorry that you and Bob H are guinee pigs for this issue - your input helps us track down these problems :)

Cheers,

Rob
 
Last edited:
Hmmm. I'll take a look at this tomorrow. Might have got the PIDs mixed up; 0x8036 is the Leonardo, 0x8037 is the Micro. EDTracker2 to date has been based on the Leonardo so we use that PID but if your device is actually reporting a Micro, I wonder if that's what the problem is.

Just taken a look at the PID of my device out of interest. It's definitely 8036. Also came up straight away as a Leonado board originally once the drivers were in place.
 
I'm 100% sure it's Processing/UI - All the UI does is send an 'H' to the tracker and expects and 'H' back but it's not geting past the very start where it get a list of open com ports.

The ultimate work around is to install Processing (https://www.processing.org/ I use the latest 32 bit version) and the toxiclibs from http://toxiclibs.org/ and then use the UI source (from github) to build and run the UI. It's very similar to seeting up the Arduino IDE. That always seems to work but obvisouly it's a pain to have to install extra stuff :/

Sorry that you and Bob H are guinee pigs for this issue - your input helps us track down these problems :)

Cheers,

Rob

No probs with being a test rat Rob. Just make sure I get all the cheese I can eat :D

If you're happy to give a set of instructions for the IDE and UI software then I'm happy to install Processing and try from that angle.
 
Yep, as you say, the v2 was just v1 with the names updated - but the bundled Invensense Motion Libs are the ones specific to the V2 sketch (so it's not just a pure rename)....

Yes I released a version with the invensense motion libs and other tweaks and kept it up to date when I noticed changes. This of course is all documented in the Alpha forum :)
 
http://forums.frontier.co.uk/showthread.php?p=441350#post441350 i think it should work with the latest edtrackerutil too.

ty for the instructions. Followed them to the letter but I get the following errors in Processing when trying to run it;

No library found for toxi.geom
No library found for toxi.geom.mesh
No library found for toxi.geom
No library found for toxi.processing
Libraries must be installed in a folder named 'libraries' inside the 'sketchbook' folder.
 
ty for the instructions. Followed them to the letter but I get the following errors in Processing when trying to run it;

No library found for toxi.geom
No library found for toxi.geom.mesh
No library found for toxi.geom
No library found for toxi.processing
Libraries must be installed in a folder named 'libraries' inside the 'sketchbook' folder.

This isn't a libraries vs library folder name problem is it?
 
Created a folder called libraries as per instructions will try it as lib and library and get back

EDIT:
Nope doesn't want to accept the libraries when using the folder name lib, library or libraries. Each of the sub folders in libraries from the toxic download had three further sub folders with one called 'library' I've tried copying the contents of those library sub folders into their parent folders and the libraries folder but Processing still doesn't see this toxi.* library.

Wondering if I have the correct toxic library. The zip file I downloaded from the link is called toxiclibs-complete-0020.zip
 
Last edited:
Postie delivered the kit from Hobby Components this morning, spent a little while sorting out the pcb.
Followed the ED tracker2 flash and calibrate..(Thanks Brumster100)
Now have awesome head tracking for under a tenner ( well 20, I went for the upgrade).
Having messed around with facetracknoir and other such stuff, this is by far the best...
Congratulations guys, British skills and ingenuity at its best.

just need to make a case for it , maybe elite themed...
 
Wondering if I have the correct toxic library. The zip file I downloaded from the link is called toxiclibs-complete-0020.zip

It should just be a case of taking all the folders in that zip file and copying them under <your documents>/Processing/libraries

Then exit and restart Processing so it pickes them up.

The location of the libraries folder should be in the same place Processing stores it's sketches which you can check under File->Preferences->Sketchbook Location
 
Created a folder called libraries as per instructions will try it as lib and library and get back

EDIT:
Nope doesn't want to accept the libraries when using the folder name lib, library or libraries. Each of the sub folders in libraries from the toxic download had three further sub folders with one called 'library' I've tried copying the contents of those library sub folders into their parent folders and the libraries folder but Processing still doesn't see this toxi.* library.

Wondering if I have the correct toxic library. The zip file I downloaded from the link is called toxiclibs-complete-0020.zip
i tried it just now, worked instantly :S
here's my directory tree:
Code:
C:.  
\---EDTrackerUtil
    |   CourierNewPSMT-24.vlw
    |   EDTrackerUtil.java
    |   EDTrackerUtil.pde
    |   filter.pde
    |   head3.stl
    |   
    \---libraries
        +---audioutils
        |   +---docs
        |   |   +---index-files
        |   |   +---resources
        |   |   \---toxi
        |   |       +---audio
        |   |       |   \---class-use
        |   |       \---music
        |   |           +---class-use
        |   |           \---scale
        |   |               \---class-use
        |   +---examples
        |   |   +---HelloULaw
        |   |   |   \---data
        |   |   +---Readme
        |   |   +---SynthBasics
        |   |   \---SynthXfadeFmod
        |   \---library
        +---colorutils
        |   +---docs
        |   |   +---index-files
        |   |   +---resources
        |   |   \---toxi
        |   |       \---color
        |   |           +---class-use
        |   |           \---theory
        |   |               \---class-use
        |   +---examples
        |   |   +---ColorTheory
        |   |   +---ImageColors
        |   |   |   \---data
        |   |   +---MultiColorGradient
        |   |   +---Ranges
        |   |   +---Theme
        |   |   \---ThemeDiscs
        |   \---library
        +---datautils
        |   +---docs
        |   |   +---index-files
        |   |   +---resources
        |   |   \---toxi
        |   |       \---data
        |   |           +---csv
        |   |           |   \---class-use
        |   |           \---feeds
        |   |               +---class-use
        |   |               \---util
        |   |                   \---class-use
        |   +---examples
        |   |   \---FlickrAtom
        |   \---library
        +---simutils
        |   +---docs
        |   |   +---index-files
        |   |   +---resources
        |   |   \---toxi
        |   |       \---sim
        |   |           +---automata
        |   |           |   \---class-use
        |   |           +---dla
        |   |           |   \---class-use
        |   |           +---erosion
        |   |           |   \---class-use
        |   |           +---fluids
        |   |           |   \---class-use
        |   |           \---grayscott
        |   |               \---class-use
        |   +---examples
        |   |   +---ClassicWolfram
        |   |   +---CustomGrayScott
        |   |   +---DLASpiral
        |   |   +---ExtendedWolfram
        |   |   +---GrayScottImage
        |   |   |   \---data
        |   |   +---GrayScottToneMap
        |   |   +---HelloCellularAutomata
        |   |   \---HelloGrayScott
        |   \---library
        +---toxiclibscore
        |   +---docs
        |   |   +---index-files
        |   |   +---resources
        |   |   \---toxi
        |   |       +---geom
        |   |       |   +---class-use
        |   |       |   +---mesh
        |   |       |   |   +---class-use
        |   |       |   |   \---subdiv
        |   |       |   |       \---class-use
        |   |       |   \---mesh2d
        |   |       |       \---class-use
        |   |       +---math
        |   |       |   +---class-use
        |   |       |   +---conversion
        |   |       |   |   \---class-use
        |   |       |   +---noise
        |   |       |   |   \---class-use
        |   |       |   \---waves
        |   |       |       \---class-use
        |   |       \---util
        |   |           +---class-use
        |   |           +---datatypes
        |   |           |   \---class-use
        |   |           \---events
        |   |               \---class-use
        |   +---examples
        |   |   +---geometry
        |   |   |   +---ArcPolarCoordinates
        |   |   |   +---Circle3Points
        |   |   |   +---CircleTangentPoint
        |   |   |   +---DashedDottedBox
        |   |   |   +---LennyExplorer
        |   |   |   +---Line2DIntersect
        |   |   |   +---OctreeDemo
        |   |   |   +---PolarLines
        |   |   |   +---PolarUnravel
        |   |   |   +---PolygonClipping
        |   |   |   +---PolySmooth
        |   |   |   +---ProfilePathAlignment
        |   |   |   +---RayReflectSphere
        |   |   |   +---Sierpinski
        |   |   |   +---TriangleCircumCircle
        |   |   |   \---WheelInsets
        |   |   +---interpolation
        |   |   |   +---BezierTween
        |   |   |   +---InterpolateGrid
        |   |   |   +---InterpolateTest
        |   |   |   +---ScaleMapDataViz
        |   |   |   \---ZoomLens
        |   |   +---mapping
        |   |   |   +---LogScaleMap
        |   |   |   +---ScaleMapDataViz
        |   |   |   +---TextHistogram
        |   |   |   |   \---data
        |   |   |   \---TwitterGeo
        |   |   |       \---code
        |   |   +---math
        |   |   |   +---AdditiveWaves
        |   |   |   +---BiasedRangeHistogram
        |   |   |   +---SimplexNoiseTest
        |   |   |   \---WeightedRandom
        |   |   +---mesh
        |   |   |   +---BezierPatchSimple
        |   |   |   +---MeshAlignToAxis
        |   |   |   +---MeshCutPlanes
        |   |   |   +---MeshDoodle
        |   |   |   +---MeshFaceExtrude
        |   |   |   +---MobiusStripe
        |   |   |   +---OBJSTLStreamExport
        |   |   |   +---SphericalHarmonicsMeshBuilder
        |   |   |   +---STLImportTest
        |   |   |   +---SubdivBasics
        |   |   |   +---SuperEllipsoidMeshBuilder
        |   |   |   \---TerrainSteering
        |   |   +---misc
        |   |   |   +---ConfigScroller
        |   |   |   +---CustomEvents
        |   |   |   +---FileSequence
        |   |   |   |   \---data
        |   |   |   +---ShiffmanFlocking
        |   |   |   \---ShiffmanFlocking3D
        |   |   \---splines
        |   |       +---SmoothDoodle
        |   |       +---SplineBlobTest
        |   |       +---SplineFeatures
        |   |       \---SplineTightness
        |   \---library
        +---toxiclibs_p5
        |   +---docs
        |   |   +---index-files
        |   |   +---resources
        |   |   \---toxi
        |   |       \---processing
        |   |           \---class-use
        |   +---examples
        |   |   \---GeometryInStyle
        |   \---library
        +---verletphysics
        |   +---docs
        |   |   +---index-files
        |   |   +---resources
        |   |   \---toxi
        |   |       +---physics
        |   |       |   +---behaviors
        |   |       |   |   \---class-use
        |   |       |   +---class-use
        |   |       |   \---constraints
        |   |       |       \---class-use
        |   |       \---physics2d
        |   |           +---behaviors
        |   |           |   \---class-use
        |   |           +---class-use
        |   |           \---constraints
        |   |               \---class-use
        |   +---examples
        |   |   +---Attraction2D
        |   |   +---BoxConstraintDemo
        |   |   +---BoxFluidDemo
        |   |   +---CrashTest
        |   |   |   \---data
        |   |   +---DraggableParticles
        |   |   +---InflateMesh
        |   |   +---JoinedCatenary
        |   |   +---KuryeCloth
        |   |   +---Shiffmann_Chain
        |   |   +---Shiffmann_ForceDirectedGraph
        |   |   +---Shiffmann_SimpleSpring
        |   |   +---SoftBodySquare
        |   |   +---ThreadDemo
        |   |   \---ThreadSphere
        |   \---library
        \---volumeutils
            +---docs
            |   +---index-files
            |   +---resources
            |   \---toxi
            |       \---volume
            |           \---class-use
            +---examples
            |   +---AnimatedNoise
            |   +---BoxFluidDemo
            |   +---ImplicitFunction
            |   +---MRISurface
            |   |   \---data
            |   +---NoiseSurface
            |   +---VolumeBrush
            |   +---VolumetricCup
            |   \---VoxelizeMesh
            \---library
if you want i can put all of it in a .zip file and upload it.
i used the 32bit ui files for this example. what version of processing are you using(mine is 2.2.1 64bit)? toxiclibs-complete-0020 is the correct version of the library.

edit: here's the zip file: https://www.dropbox.com/s/aubovyd5xr4f47a/EDTrackerUtil.zip
just choose "exctract here" and open the EDTrackerUtil.pde inside with processing, should work fine :)
 
Last edited:
Back
Top Bottom