Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: VECTOR failing to compile / draw
CSPURGEON
Newbie
Posts: 18
Permalink
Post VECTOR failing to compile / draw
on: November 25, 2012, 01:53
Quote

So when I import the vector I follow all of the directions (http://code.google.com/p/polargraph/source/browse/wiki/DrawingVectorGraphics.wiki) , after doing so I hit "Draw Vectors", this is where the interesting part begins:

- the motors rotate and place the gondola to the "correct" starting position

- then the motors just start rotating quickly in one direction, moving the gondola off of the page, I then have to remove the chain from the sprocket and unplug the machine.

After reviewing everything to include my setup, Im drawing a blank.

CSPURGEON
Newbie
Posts: 18
Permalink
Post Re: VECTOR failing to compile / draw
on: November 25, 2012, 01:55
Quote

Okay before anyone wastes their time replying I just review the other post regarding this (http://www.polargraph.co.uk/forum/?mingleforumaction=viewtopic&t=122), Im in the process of trying that.

CSPURGEON
Newbie
Posts: 18
Permalink
Post Re: VECTOR failing to compile / draw
on: November 25, 2012, 01:57
Quote

That did not work, and after pressing "c", the software did nothing

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: VECTOR failing to compile / draw
on: November 25, 2012, 11:05
Quote

Hey up Chris, if the "c" key doesn't bring up the console then you might benefit from an updated version of the controller.

When this happens to me, it's because of some bad value I've put in for mmPerRev or stepsPerRev - or rather, it's because those values have led to the internal values for stepsPerMm and mmPerStep being miscalculated. In the older versions of the code it was more important to upload these values in a particular order, and then reset, and do a magic dance and say an incantation, but it's better now. I believe.

The why:
The first move works because it doesn't need to do any calculations - the controller just says "set the left motor to 1234 steps, set the right motor to 5678 steps". It's easy, and the machine doesn't need to know the size of itself, the size of the sprockets, the size of the steps or anything.

The second move doesn't work because now it's attempting to convert the input coordinates into a different coordinates system, and for that to work it needs to know all the things above (size of sprocket, size of machine etc). It's converted them wrong, and resulted in a set of much lower numbers than it needs.

I would try updating to the newest versions of the firmware and the controller. Just the new controller on it's own might help, because there might be some message in the console that will illuminate something. It won't fix it though, I don't think.

good luck,
sn

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.027 seconds.