cradek: Just thought I'd let you know we have run into problems on the BP2 PC due to the ATI Rage 128 (r128) and OpenGL, etc., so we are going to take a run to Microcenter because we think they have a different AGP 4x we can put in there, and see if that helps. If not, we may have to look at compiling our own kernel or something. Gotta go, more news later.
ries_ is now known as ries
so - after thinking about it too much - I rewrote the gearshift component. (it was getting to scary and I didn't even get to the lock) and it took me hardly any time and it is simpler. Give me some time and I will get it down to 1 line of code ;)
so I settled on - I allow gear shifts on the fly programically. Like if someone changes the s word while the spindle is running. It will not shift gears with the override set to 0 - but if you change to a different gear range while override is 0 - (by changing the s word) it will shift when you move the override above zero.
Now the way I arranged the code - spindle lock should be pretty painless to add. When spindle lock goes true - I will just tell the shift section to shift to the right gear - then the lock solenoid will be engaged.
KimK: drop by and pick up a couple old video cards...
too bad we can't fax computer parts or something
I could almost lob them there
cradek, skunkworks: OK, back from Microcenter with "new" graphics card, $3.99! (They wanted it out of the store pretty badly, I think.) Anyway, it's in, nVidia proprietary driver (bah!) in, glxgears working, Axis working. And hopefully this will head off future problems too. John said he had gotten help from Chris last year, when 8.04 was first installed on that PC, so it has been an issue.
Thanks again for all your advice and good thoughts.
ATI Rage 128: "I'm b-a-a-a-a-k..." nVidia: "No you're n-o-o-o-o-t..." BLAM!
but the nvidia driver is surely bad news for latency
don't you get the errors?
that driver is a scourge on the earth
$3.99 sounds like the perfect price for a graphics card...
I don't know, didn't check latency, clearly a bad move on my part, I will right now and let you know. (After that wacky "wrong-card" graphics start-up and error boxes, I thought that was the best way out of the mess, but now that it's settled down again, I'd try the generic driver. What, "nv"?
ries_ is now known as ries
hm, I have a half-baked idea that might further improve the software encoder's velocity estimate
for a given true frequency in an ideal system (0 software jitter, 0 signal jitter), the estimate will bounce between two nearest estimates
when you notice you're ping-ponging between two next-door velocities, make the speed estimate the weighted average of those two velocities (weighted according to how often they're measured)
hm, but you need to make the weight a "recent weight" otherwise when the true velocity changes to another velocity that's still between those two values, it's veeerry slow to adapt
I've got a small new comp
[14:56:34] <maximilian_h> http://pastebin.com/DfQsEzbX
maybe somebody could add it to the collection of comps already present
I think the existing sum2 can do that. It computes out = in0 * gain0 + in1 * gain1 + offset
so just let gain1=1, offset=0
er, gain1=1, b is the same as offset
i wasn't thinking about sum2
but your right
but well at least I learned something ;)
I think it's quite valuable to know how to write a comp
is there an initval in a radiobutton group in pyvcp ?
I would like to make the default not on the first radiobutton
I tried initval, but it was just ignored
looking at the source code (pyvcp_widgets.py) I don't see any way to set the default. It looks like the first one is always selected..
jepler: Are you there ? If got a patch for pyvcp_widgets.py. Could you apply it ? http://pastebin.com/yKVQn9G1
It's just adding a initval to the radiobutton
value 0 for initval for the first button, 1 for the second button, 2 for the third, etc ad infinitum
anybody else ?
everybody but me seems to be having a beer outside :(
maximilian_h: i dont know anything about pyvcp, but someone will probably look at your patch soon if you mail it to the emc-devel list
seb_kuzminsky: Ok, will try to do that
pastebins are bad for patches anyway (for instance, pastebin.com will give a file with DOS-style line endings when using the DOWNLOAD link, which makes git say 'fatal: corrupt patch')
jepler: See if that works for your needs
jepler: has tar, raw, etc
ok, so here it is again http://gist.github.com/540681
EMC: 03jepler 07master * rfb2d3c571132 10/lib/python/pyvcp_widgets.py: pyvcp: radiobutton initial value specification
Well, that initval patch makes my life easier :) Bye, have a nice weekend
jepler: Have you tried codepad.org?
doesn't ring a bell
jepler: you can even test code on it too
has python too