EMC: 03cmorley 07TRUNK * 10emc2/src/hal/classicladder/drawing.c: change text for comparison/assignment block to be consistent with edit window
regarding adaptive feed and the limitation of 0.0 to 1.0....
if we allow >1.0, where do we draw the line? if someone asks for 1000, we're gonna be violating constraints all over the place
or at least pegging to the vel/acc limits
like FO it wouldn't violate constraints
hm, got my nut back together, still .0012 backlash
much better than .0036 though
it might need more than reballing. but this makes it a lot more acceptable.
and, the broken balls are out, so maybe it won't deteriorate now
cradek: have you tried hm2 pdm lately? ;-)
no, I'm happy with the old driver now, sorry to say
I'd like to switch sometime but I can't, without index mask
well it's good the old driver's working for you
yes it's working very well. jepler fixed the watchdog and added index mask for me.
well it was there, it was just hooked up to the wrong pins or something
for index mask you use an additional input pin to the quadrature counter? and sort of replace the old Index input with (Index && IndexMask)?
jepler brought that out to some inputs on the dio card
i think that will be easy to support in hm2, but first i'd really like to have some way to configure the driver that's better than the current modparam config string...
another approach would be to use an external AND gate... but ick.
yeah that's sure complicated.
seems like it *should* be easy! just pass a structured object to the driver!
paul never came through with his suggestions did he. he seemed to think it was obvious but didn't care to share his thoughts.
one thing i was thinking about was to put all the config options in /proc or /sys or something, structured by dirs & files
"you're doing it stupidly" are a dime a dozen; "here's a great way" are priceless
let the users poke the right stuff into the config files there
then poke a "1" into the "go" file, and have it register everything with hal then
something in halcmd could do the poking for you?
"halcmd loadusr echo 1 > /proc/hm2/5i20/0/num_encoders"
halcmd sysctl -w ...
i think this sacrifices the nice feature that's there now, which is that if the config doesnt match the firmware, the insmod/loadrt fails
halcmd sysctl -p /etc/emc2/configs/.../my-firmware-config
seems like sysctl gives you all the capabilities that you would probably otherwise go write
oh, it only works on /proc/sys/...
though there'd be some cryptic error message if the user-specified firmware doesnt match the user-specified sysctl config
that seems kind of stupid
seb_kuzminsky: yeah some later thing would fail I guess. those kinds of failures are always a pain.
I'm off to bed - goodnight
how can I measure time spent in HAL module main function ?
rtapi_get_time or simmilar ?
EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/ladder/classic_ladder.lyx: update description of editor window to match and other edits
micges, I think rtapi_get_time should work. if you're just monitoring, then there's already a parameter in HAL (called <function-name>.time)
and <function-name>.tmax has the max time
I want to add tmax to my function
is this something that runs in a servo thread, while there's a base thread active?
oh I see that there are time and tmax
they are added automagically ?
remember they are in cpu cycles though
they are also just (end_time-start_time), so if a base thread executes during execution, you'll get the whole base thread time (plus context switches)included
I see why it oscillate so much
there is no thread sync in hal ?
base thread can be executed while servo-thread func is running ?
yes of course, maybe even several times
that behavior isn't create bad behavior ?
on the contrary, I think the behavior is required
how else could you meet the timing requirement of the base thread?
if the base thread needs to be executed each 200 nsec, and the servo thread takes 1 msec to execute..
you can't do it otherwise
it does have the potential to cause problems, but it's unavoidable
hey cradek, did you ever get one of those cheap motherboard/memory/CPU combos from NewEgg?
(the Goal3+ board)
SWPadnos: no, I never really intended to get one, I just thought it was interesting.
ok. I may get one soon - wasn't sure if anyone else had jumped on the bandwagon first
I have so much old hardware that I really never buy anything.
but this would be new hardware! :)
often I find that old hardware is better...
the nice thing about that board is that you can easily run it from a picoPSU, so you can have a system that runs off 12V or 24V DC
yeah, especially if it's still running
that sounds nice
I had to put a whole PC supply in the lathe - it took up a lot of room.
yeah. they're noisy and relatively large
(electrical noisy at least)
I did buy a few of these for work.. http://www.newegg.com/Product/Product.aspx?Item=N82E16813135091
I have not tested realtime though
at the time they where 79.99
yep, that's the one
too bad you only get 1 rebate per address
when I bought them - (I think you pointed them out) they where 79.99 - no rebate.
I should power one up.
yeah, there was a rebate when I first saw them, but I guess that was gone for a couple of weeks
you must have gotten lucky ;)
yah - I paid $319.96 for 4
how terrible! ;)
[14:55:16] <skunkworks> http://imagebin.org/27829
cool. how's the latency? :)
not that far yet.. ;)_
almost, it seems
I just went right to install...
rebooting right now.
what graphics chipset? hope it's the intel
unichrome I think
heh - the manual says 'high performance and hight quality 3d graphics accellerator'
I guess the authors were high
well - they did spell correctly though..
video is very noisy.. I don't know if it is the monitor or the fact I don't have it in a case.
[15:14:38] <skunkworks> http://imagebin.org/27832
you don't see the noise in the screenshot.. so maybe it is radiation.. gets worse when you run glxgears.
hmmm. sounds like you have bad caps or something
is it still there if you unplug the LCD?
no - visual noise
up to 6456
still excellent though
it locked up on me when I plugged in my usb drive.. but I might have zapped it. ;)
it has been running for 15min or more now.
next is to get the network setup and all updates and see what happens.
well, I guess it's time for me to get a few then :)
8 USB ports too - could be useful for other stuff
yah - I just took it out again.. I have it setting I a large ungrounded metal case - I grounded myself on the case and the thing went dead.. ;)
it's also on conductive anti-static packaging, which isn't ideal (especially if some pins punch through)
I think we have another winner http://www.electronicsam.com/images/KandT/testing/athlon64-3200ECSGoal3.png
is that using i386?
maybe you can try amd64 if you feel like testing :P
is there a livecd setup for that? or can I just download the 64bit version of ubuntu and run the script?
ok - hmm - I wonder if I have it downloaded already...
I bet you'll find it _after_ you finished the new download
hmm - I have the beta
lots of updates though
* skunkworks gets a blank cd
huh - my beta version has to do a 'package upgrade'
distribution package upgrade
is there nml message to change vel/acc of axis ?
or this is setable directly by ini ?
I think there's a message to init an axis, which means to read the config from the ini file
how do I know if I have the 64bit kernel
skunkworks: 'uname -m' will print x86_64 instead of i686
is there a separate install script for 64?
no, I think it's the same install script
hmm - then I think I may need to just install from the livecd. I installed the only copy I had which was hardy64 beta. This then updated but said something about not being able to udate all 'partial update'. after that it said it was up-to-date. I ran the install script and rebooted again - latency-test doesn't run.
heh - wrong kernel
nope - still doesn't work.
what does EMC_TRAJ_SET_ACCELERATION message do ?
I think this is borked. I have the latest 64bit version..
skunkworks: hm, uh oh
what's in dmesg?
there is EMC_AXIS_SET_MAX_VELOCITY message but there is no acc related msg
jepler: thanks - but I am installing the latest 64 and go from there. the beta version I had was from quite a while ago.
eh, we're only ~3 weeks from 8.10, so why bother? :)
SWPadnos: planning on supporting 8.10 ?
err, well no, not me personally
* SWPadnos whistles away quietly
hmm.. maybe PC will
ok, I've just started holding my breath
let me know when to stop
you can stop.. it's pointless
meh.. kitchens are really expensive :/
kittens? I love kittens!
[21:19:34] <cradek> http://www.dailykitten.com/archives/2181-minion.html
Minion! what a great name!
indeed it is
uh, it's 4:20, and I'm still at work
what am I thinking!?
"I should go home.."
* alex_joni is a world famous mind reader
* skunkworks reads the latest email on the list..
I'd suspect a memlock issue (out of the blue..)
heh - mine only has 512mb. But I am installing and updating the latest ubuntu64
I will let you guys know.
I meant something else with memlock :P
EMC: 03cmorley 07TRUNK * 10emc2/src/hal/classicladder/edit_gtk.c: change editor window tooltips text for object selector