I agree that's strange, but when you change maxaccel like that, you put it in an wildly invalid initial state - seems like it recovers pretty soon
keep in mind you're looking at about 40 seconds there (40000 samples at 1000Hz)
it's only 1.5 periods of oscillation though
well, maybe longer, the tail isn't in sync yet
it looks like it'll probably overshoot once more
yep - at least
but it's damping pretty well. what was the accel relative to the sine amplitude?
the sine wave is +-1, 1Hz
ok, and the accel at the "insanely low" setting?
I don't think I ever set the maxvel so it's whatever the highest attainable step rate is
the postion-scale is 100
does that mean 100 steps per unit?
yes, I think so
duh - /me reads all the info you originally wrote :)
side question: when halscope redraws the traces, does it basically start with a blank canvas and draw everything?
ok. I was thinking it would be nice to optionally display the trace names on the left side of scope display
the scope display
easier when everything is redrawn all the time
I have wanted that feature too
that would be really cool
it is also a layout problem, figuring where to put the trace name
left aligned, at the zero level of the trace (clipped to the top or bottom)
if they get overlaid, they get overlaid
smarter layout can come later
or at the first (leftmost) displayed sample
for me a pretty common case is to give two traces the same origin
even having them at fixed vertical locations, but in the correct color would be good
my scopes can display names, it does it by eliminating the leftmost grid of the trace and using that for names instead
if you lay two traces over each othert, the names are also overlaid
then you're the expert!
the names are only 7 or 8 chars long though
well, all I need to learn is gtk, so it should be easy :)
try tkng t ll th vwls
cld d tht
hmmm. has anyone messed with EMC on displays that aren't set to ~100 DPI?
sounds like something else you'll be submitting patches to fix :-P
well, I'm curious as to whether we can expect issues like those that Firefox exhibits
and Ubuntu itself, for that matter
I don't know why we'd escape them
yeah, though one could get lucky by not taking over too many features
and unfortunately the behavior of Tk apps on Ubuntu with odd DPI resolutions seems to be worse than on "classic" linux distros like redhat9
you can get completely illegible fonts
it's possible that FireFox always uses 100 DPI fonts because it's very likely that they'll work even if the diaplay DPI is screwed up
well, I haven't seen anything illegible, just exceedingly small
say X thinks it knows your panel geometry and calculates 97x94DPI
Tk gets some terrible scaled bitmap font with improper letter spacing
ah -do you think it's the non-squareness?
or just some screwed up thing in the bowels of tk
it could be non-square pixels
it was bad at 1280x1024 on my old 19" CRT, but not so bad at 1024x768
I specified 200x200 DPI, and I haven't seen any weirdness other than outsized text in small boxes (at the login screen, for example), or tiny text in FF
menus look correct, and I think the panels may even have been resized for me
jepler: about the stepgen overshooting...
what you are seeing isn't a bug per se
I thought stepgen wouldn't accelerate so much that it couldn't stop on the commanded position
(iow, its not an error in the implemetation of the math)
its a limitation of the math itself
stepgen doesn't aim to _stop_ at the commanded position
it tries to match position and velocity at the same time
if the command is constant, that reduces to "stop at the commanded pos" and I bet if you stopped the sine wave after lowering the accel it would recover much quicker
but with the sine wave there, its trying to match a constantly moving velocity target
gonna go back and try running your hal file
I guess I did see it going "beyond" the trace with triangle too
triangle still means the vel command is changing
I should have remembered that and not been so surprised at the ability to get it to go "beyond" the command in this other case
I mean, with siggen.triangle and without modifying accel
right - its tracking the ramp, then all of a sudden the ramp reverses instantly
it can't, so it overshoots, then recovers
drat, I was just certain I'd found a terrible, terrible bug
the behavior is certainly counterintuitive
btw I finally checked in 'tristate_float' with just the single enable bit, dunno if you saw that
you'd expect it to act like a lowpass filter, and home in on the average value of the command
yeah, saw it
yeah that's a pretty good explanation of what I expected
I wonder - limit3 is very similar to stepgen
but I really hope it behaves more like the lowpass filter
except for the waiting while it gathers the whole trace, I like being able to have a bigger sample buffer in halscope
someday I want a roll mode
bad news -- limit3 can shoot way off too
there's code in there (commented out) for a "roll" button
limit3 and stepgen both ask themselves this question:
[02:26:32] <jepler> http://emergent.unpy.net/index.cgi-files/sandbox/limit3-overshoot.png
given the velocity of the command over the last sample, and assuming that velocity continues forever in a straight line, and given my current velocity and position, whats the soonest I can match the projected command
when accel is small, that answer can be "20 seconds from now"
and the projected command (if the instantaneous rate is projected out 20 seconds) is halfway to the moon
it has no way to know that the command is gonna turn around and go the other way
I bet if you plot the acc of the output, its banging back and forth from + limit to - limit
at the input sine wave frequency
because the projected target is swinging wildly around
it's hand-wavy, I know, but why doesn't the part of the sine wave where the input velocity is going "against" the output manage to keep the output to a low velocity?
I bet during that period the output is deceling for all its worth
but then the sine starts going the other way, and it tries to chase that
which should give two periods of equal but opposite accel
by that logic it should never manage to get back to the input at all
the periods aren't quite equal
and the relatively weak difference drives it back toward the center
its trying to match both position and velocity, and the position match upsets the balance, so they aren't equal unless the position is near zero
if I change the frequency of the input signal instead of the acceleration of the limit block, could I get the same behavior?
I don't think so
in the limit3 example you posted
the initial moderate slow sinewave with small input frequency ripple is probably what you'd get
the huge transient comes because the initial accel value let it achieve a high velocity, then when you reduced the accel, it took forever to burn off that velocity
when siggen's frequency is much higher than limit3's accel can handle, limit3 (and stepgen) just track towards 0, but much more slowly than they would if the input was stuck at 0
I just added some ddts so I can see what the accel is doing
bet its banging back and forth
hmm, a possible fix
would be to to limit the target velocity
accel is the problem
if I didn't have essentially unlimited velocity I think the problem might be less severe
Guest647 is now known as skunkworks
even after the transient settles out, the output accel is banging back and forth against the limit, the output vel is a triangle
jepler: I'm afraid this might be one of those "if it hurts don't do it" things
although if you (or anybody else) can come up with a better limit3, I'd be thrilled
I can live with that
hm I think there's a satanic tattoo on my cat's ear
it looks like one of them chinese letters
how do you know its satanic?
or maybe it's the "radiation hazard" symbol with three triangles?
it might be chinese for "pet me, I purr"
our mouser has worms. again.
it's true, she does purr
jepler: I would hope so, if not she's broken
we keep ours inside and they don't get those kinds of troubles
ours gets them too... one pill from the vet fixes it
(if they're the ones that look like rice)
getting him to eat it is the hard part. Mix it with his favorite tuna and he doesn;t eat it
yes, one pill, next day the worms are gone
yes tape worms
pilling cats, such fun
bah, it's easy
takes 5 seconds
maybe if you only need one
they learn each time, and the next time is harder
cradek: do you use the method: sit on the cat, force the jaw open?
two pills a day for a couple weeks and it gets really nasty
kneel straddling cat, tilt her head back and open the mouth, toss pill in and give it one poke, stroke throat, give treats
hmm - going to have to try that
jepler: you don't sit on, just kneel over
it takes practice but it's really fast and easy for a cat who generally trusts you
have you ever had do to a round of the pink antibiotic stuff?
yeah, but the next generation don't get killed by that pill, you have to wait for them to "hatch", then get them with a second pill (what I've been told)
after a day or two, as soon as the fridge opens and that little bottle comes out, cat dissappears
I think "show my belly barron" would be a good canidate.
jmkasunich: I don't like taking medicine either :-/
right - and you even understand that its for your own good
the cat just thinks you're being mean
we could trick one of ours - we'd give him pounce, pounce, pounce, pill, pounce
only worked a few times, he caught on pretty fast
he used to wolf down those pounce without even chewing them
another good thing to do is give the pill at feeding time, right in the middle of the food preparation pattern they recognize
/title apparently everyone in this channel is a cat person
if you can do the pill quick enough they don't notice much, being excited about dinner
are there people who aren't??
owned by cats.
that space navigator thing seems cool
6DOF they claim
holy crap - got it in
skunkworks: don't forget treats
* skunkworks means already taken care of
did you do the kneel toss poke stroke treat method?
I layed him on his back on my lap - tilted his head back and poped the pill into the back of his throat
he is pretty mellow
yeah - most cats don't like being on their backs
two of ours (we had 5 at one time) didn't mind - one we had from a kitten, and I would hold her that way almost as soon as we got her - she loved it
both of your cats love being held like a baby.. Yes that is odd - I know.
Rose just zones when held that way.
born in a box in the basement bathroom, here ever since
nice :) http://www.electronicsam.com/images/house/cat.JPG
[03:20:51] <skunkworks> http://www.electronicsam.com/images/house/happycats.JPG
their mom is the one who stays and goes - but mostly stays now
skunkworks: large cat
It has been too cold here - they only stay out for a few minutes
are the two siblings?
big boned ;)
2 strays from different counties
wow they sure are good friends for being unrelated
yes - they are best buds
we have a 3rd that is anti-social.
[03:22:48] <jmkasunich> http://jmkasunich.dyndns.org/pics/cat_and_dog_on_steps.jpg
[03:23:00] <jmkasunich> http://jmkasunich.dyndns.org/pics/cat_on_bench.jpg
berry - the white one is the social groomer. it is quite funny to watch him
jmkasunich: they seem like unlikely friends too
the dog likes anyone who will play with him
the cats don't really play, but he tries
CIO Ogham Enterprises, LLC
(Using Windows 27 years, using Linux 10)"
he must mean the kind that open
maybe it just seems like 27 years
P.S. I may still have a copy of Windows1.01 laying around somewhere. "
ok I'm with jmk on this one now
I had a Windows/286 still shrinkwrapped - got rid of it on ebay
its very funny seeing a 50 lb dog trying to give his sqiueaky toy to the cat
he puts in on their back
Microsoft Windows/286 Platform: IBM PC Compatible Release Date: 1988.
and kind of pokes at the toy and/or the cat with his nose
think Windows/286 would be a good system for writing a GUI front-end on emc?
jepler: better than flash
maybe we can adapt AXIS to the windows draw APIs
it'll probably need an FPU to have good performance, will requiring an 80287 exclude too many users?
no to windows, yes to cat pictures ;-)
oh you wouldn't want to require that
I remember getting my first 80387 (to go with the 386SX)
got it for POV-ray
version 0.5 or something like that
[03:29:14] <jepler> http://photos.unpy.net/full/26043.jpg
(oh the days before in-camera orientation sensors!)
a toe warmer
hey I know her
I've forgotten what its like having cats all over the place
our one remaining cat doesn't get up on things
these still get all over the place
he's either 16-1/2 or 17-1/2
lbs or years?
too old for a new friend?
the gray one in the pics died last year
skunkworks: years, but at one time lbs too
he's big boned
mine are 6 1/2 but marie was about 7 or 8 months in that picture
down to 12-13 lbs now, but he was 20 at one time
wow that's a huge loss
when he was 20 he was FAT
howie is 23lbs. he sounds like a human going down the stairs.
skunkworks: rolling or walking?
we got him down to 15-17 years ago, and he was pretty stable at that point
now he just has old
my wife would love you guys. She is always trying to get wild cats to get into the car. She doesn't understand why they wouldn't want to come to her ;)
I'm not one who would bring home strays, but I know some folks who do
give her some extra cans of cat food to carry in the car, so she can leave food for the strays she meets - they'll come get it after she goes
cradek: actually I was thinking of michael and barbara
oh they have that disorder too don't they
man, how'd it get to be 10:30 already
I haven't done squat this evening
living too far east
I haven't accomplished much either
howie was a kitten - we found him under the dumbster. all ears. Berry is about the same age - shirley saw him along side the road. (about a year old) milling around a cat that was hit. She stopped and berry jumped into her arms. been a part of the familly ever since.
I think all I'm gonna do tonight is take some pics and update the blog
done a lot of work on the enclosure and mounting stuff
that is the trouble out here in the boonies. too many people drop off their cats.
be good to your cats
remember to feed them
the partitions where corrupted, and took forever to check.