X homed on the Jr!
at 500ipm? ;)
no, it's untuned
100 I think
the lights dim a bit when the servo power supply starts
hope there's enough power for it - the main breaker on it is 75
I doubt that will ever trip... :-/
the X backlash seems to be about .0004
I sure hope they're all so good
so you where able to just hook the tachs back to the servoamps?
yes (I only did X so far)
it sings - not sure which loop is oscillating (or maybe it's normal)
actually that's not true - I looked at the position and it was stable
so I might have to fiddle some knobs, but I'll wait a while and sleep on it first
you know how it is
I usually need a vacation first.
I've just been trying "ubuntu netbook remix" on my eee surf (first generation with 512 megs RAM)
It's not terrble, after fixing the broken-by-default X setup
not terrible sounds like a good start
before screwing around with X config, the thing they put on the desktop peformed so badly I thought it was broken
the X home switch isn't at the end of travel... grr
[Global Notice] Hi all, we appear to be having some connectivity issues between our main US and EU hubs -- we're looking into this and hopefully they will be resolved soon. Further info will go to wallops, set yourself +w to see them. Apologies for inconvenience.
[Global Notice] Hi all, I am going to be making some routing changes, this will be rather noisy for a few moments as I juggle stuff around -- apologies for the inconvenience and thank you for your patience and for using freenode.
short C question
on a function which expects a (double ** foo)
how can I call it with a param which is double bar[x][y]; ?
well, in C you can, but it's not a good idea ;)
(it's harder or impossible in C++)
I made a pointer
fooptr = (double **) bar;
and passed that
the pointer type that double bar ("array 4 of array 3 of double") decays into is double (*bar) ("pointer to array 3 of double") which is not compatible with double ** bar ("pointer to pointer to double")
that's unlikely to work
[13:06:47] <jepler> http://www.eskimo.com/~scs/c-faq.com/aryptr/pass2dary.html
[13:16:27] <jepler> http://emergent.unpy.net/files/sandbox/arrays-ptrs.png
jepler: thanks for the link.. can't get to it now though
alex_joni: quick - it is there now..
jepler: yeah, the thing on the right is what I used
I passed the **, and the num_rows, num_cols
you could create 'double *b', then for(i=0; i<4; i++) b[i] = bar[i], then pass b instead of bar.
I did this, and it seems to work:
I have bar
double **foo = (double **) bar;
I pass foo to the function
then inside the function I have a *b
b[i] = (double *) foo + 3 * i;
then I can use b[i][j] in the function
[15:14:08] <alex_joni> http://www.ibiblio.org/pub/languages/fortran/append-c.html
<- method #4, close to the end
err - 3*j+i
SWPadnos: yeah ;)
* sizeof (double) or something
no, b[i+1] will point to the next double, not the next byte
(I had a couple of versions ;).. one was using void * ..)
they should have called it avoid :)