If I have a branch off of an old Master, and want to update to a new Master, what's the process?
I suspect not checkout master ; pull ; checkout branch?
* jepler has arrived in wichita. yay.
andypugh: in case you see this later, git fetch; git rebase origin/master
"git fetch" gets any updates to origin/master since you last fetched or pulled. "git rebase origin/master" will move your local commits from where they were to being on top of "origin/master". (if your branch was originally based on something else, like v2.4_branch, the result of this operation will be undesired!)
ries_ is now known as ries
mshaver: did you have a link to that cad program you where talking about?
hold on a sec...
[14:44:07] <mshaver> http://www.mattshaver.com/setupIcad.exe
the password at installation time is 'madison'
mshaver: thanks a lot!
check your wine version -I have 1.01, later version gave me trouble a while back
if you can't get it going, I'll help - I've been using this for years & years now
skunkworks: What we really need to do is to get Heeks to make an acad compatible command line!
the we can type 'line' and get back the comfortable 'From point:'
Like I say - I have been corupted by the fact that autocad was my first real cad program.
me too - 1987 - it's probably too late for me to change now
grow out of acad!
heh - I started with acad 11 probably around 92
2.6 for dos
(actually my first real paying job)
archivist: I'd love to - but the rest of the engineering world insists on it
I hated acad and when I got to try solid edge and solidworks I never looked back
I can draw simple tool paths in acad so quick it hurts for me to change.
yes, and a lot of the firms I work with use this now - but it's too much $$$ for me personally & it's Win only
I started working on a schematic like program to visually configure the HAL. Here's a screenshot so far.. anyone interested in helping out?
[14:59:53] <cblack> http://www.powerautomation.net/mainpage/images/stories/HalSchematic.png
someone had did a schematic drawer within eagle..
cblack: That's really nice! Is it a "from scratch" program specifically for this purpose, or an adaptation of an existing EDA tool?
From scratch...made for Emc from ground up...
wow - neat!
Still needs lots of work.
so, uh.. Can I try it! Can I! Can I! Can I! Can I! Can I! Huh?
Sure. It uses Qt, dono if just the binary will work... might have to compile
I can try to get it to compile on my Lucid system
I'll upload it in a sec.
[15:19:35] <cblack> http://www.powerautomation.net/download/
cblack: cool stuff!
It's buggy as hell and doesn't do a lot, but it's a start
have you thought about how to keep the components in sync (between the actual source and the GUI configurator)?
If it has to read an old hal file and keep them in sync it gets really tricky. I was planning on forcing the user to recreate there entire config in the gui and then export the .hal file so there is no syncing.. Might have mixed views on that tho
I guess I was thinking more about how to make a configuration on a machine that doesn't have the hardware attached (so you can't load the drivers)
As for the components that create different pins on loading, I was thinking about using an scipting which will create the component based on the arguments.
or in sim even
Not entirely sure how I'm going to tackle all this yet. You should be able to recreate core_sim.hal simulated_home.hal and all the other sim components in the gui which will then export a proper .hal file..
It's some of the hardware components that don't stay constant that are going to be trouble..
binary runs for me after installing libqt4-xml
It's a little too big of a project to take on alone. but think it would really help newbies.. Wraping your head around a .hal text file can be fun at times.
mshaver: Did the docs show up when you click on a component?
so, I can't really do anything, like place a component on the canvas
You can connect pins with the line tool at the top.
the UI comes up, but pointing, clicking, double clicking doesn't do anything
how do I get something on the canvas?
Click one of the components on the left, then click on the canvas
it all seems to work, but I cant connect a single output to multiple inputs
no, wait, it works if I satrt with an unconnected pin
I still have to make it so the wires arn't so hard to click.
right click a wire to break it.
I assume the colors of the pins relate to their type - in, out, bidir maybe?
segfaulted on deleting a wire - but really cool!
yeah it's a start..
parsing existing hal configs will be tough
oh, no docs show up when a comp is selected for me
You need man2html and the path is hardcoded right now.
Have you ever used qt?
not as a programmer - my opinion is that it is very pretty, probably the prettiest widget set of all, but too big and too encumbered by the controversy over it's license model that occurred early on - personally, whatever its technical merits, I would never use it for anything unless it was specifically required by a customer
Yeah fair point. I really started using it because it has just about everything you ever need but mainly it's still cross platform.
it's a _great_ toolkit, plus cross platform which I value highly - it will be interesting to see where it goes now that nokia owns it
Yeah, at least it's a toolkit thats going to keep going for quite a few years..
greetings to buildbot's shepherd!
JT-Work_ is now known as JT-Work
micges: I am sorry that I didn't review your M61 patch right away. do you realize that you pushed it to v2.4_branch?
micges: anyway, the patch is wrong, beacuse the load_tool function takes a "pocket" number, not a tool number. (and on nonrandom machines, the "pocket" isn't the P number either, it's related to the order in the tbl file and that's all)
so if you have the first line of your .tbl as T2 and the second as T1 ... then M61 Q2 will actually load T1!
* jepler reverts it for now
EMC: 03jepler 07v2.4_branch * rfcb9870c8155 10/src/emc/iotask/ioControl.cc: Revert "iotask: Fix M61 Qn not loading tool in toolTable"
micges: which sample config is the one that's set up for ja3?
micges: with sim/axis. I'm getting velocity 1 and low acceleration (also 1?) but the joint vel/acc are higher in the ini
cradek: what are you driving the gantry with?
a little mesa 7i30
it's enough to move the motors, but not much more
is there a preferred name for a configuration modparam? I have noticed that they tend to be rather variable from component to component
do you mean for a count?
EMC: 03cradek 07joints_axes3 * ra2e2807acd83 10/src/emc/motion/motion.c: fix typo in index-enable pin name
jepler: sorry didn't notice that problem
No, I want a bit-flag to turn on/off hall sensors, encoder, index, explicit offset inputs and bit/float 3/6 outputs.
How's the weather in Wichita?
cradek: use sim/gantry_mm config
micges: I notice the jog speed slider doesn't work
andypugh: rainy and cold
For some reason I have always visualised Wichita as rainy and cold. I think I have only ever heard of it in the context of tornados/hurricaines.
micges: any idea why?
simple_tp is harder to maintain
I'm looking at it now
give me few minutes
what are you using with ja3?
a little gantry machine I made for testing
it is quick fix to jog slider works, no idea what it will broke
thanks, Iwill try ti
wow, I fali at typing
micges: that didn't fix it...?
did you mean <
Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emcdevel/2010-11-12.txt
EMC: 03seb 07master * r5a687d536090 10/docs/man/man9/hostmot2.9: Note defaults for pwmgen scale and pwm & pdm freq
seb_kuzminsky: you at the fest too?
i am festering
yeck - I don't need that visual
cradek: sorry I'm unable to locate this bug tonight
micges: if I change it to <, it works, still testing to see if it breaks anything else.
thanks for looking at it
will look at this tomorrow morning so you can test it tomorrow morning
does anyone remember the name of the Pascal-based reconfigurable EMC GUI that's in pseudo-development?
there was thread today on forum regarding USB FTDI chip in bitbang mode
i've digged a bit into documentation and it seem that both chip and usb stack may live in 1ms (not us) limits
is there any problems with USB host interface that block using usb for control?
and it's likely that there will be more than one cycle per "message"
it's so high?
I admit I have been egging that guy on.
theoretically as low as 2 ms or so, practically (from what I've heard) more like 4 ms
Currently the system runs from a VB package with a 20Hz refresh rate.
it's rtt latency for sync command or just USB latency?
andypugh: yes, i'm about that thread
I suspect that there will be no latency at the drive end, there is no feedback, so if there is a way to send data to the USB port then it might actually work OK.
It's a nasty drive that runs at a fixed step-rate anyway.
(As far as I have been able to make out)
that case is solvable even with userspace comp
but i'm asking about a bit more general question
ok, if you want "set it and forget it" mode, then USB could work
FTDI chips are very cheap (FT232BM is sold for ~3$) and provides 8 pins for bitbang
[22:35:17] <SWPLinux> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Emc2HardwareDesign
a USB microcontroller is about the same price, and provides 20 pins or so
but you have to program it or at least find appropriate microcode
and even then you'll get same problem as with FTDI chips in bitbang mode
there are pretty good libraries for the AVR USB chips
such as http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=ATMEGA8U2-AU-ND
i know that programming microcontrollers is not that difficult but just strange for first time :)
not much worse than programming an FTDI chip to act the way you want ;)
i've 3 atmega chips waiting for spare time :)
yeah, not much of that around
but problem is not in chip configuration
but in interacting with it from emc
yep, that's a problem
emcAxisSetMinPositionLimit(2, -999999999999999967336168804116691273849533185806555472917961779471295845921727862608739868455469056.0000) returned 0
i've digged a bit docs of linux usb stack and there are enought functions for async communication with usb devices
there is a possibility using mostly existing code
you would have to write the code that sends commands to the USB device, of course
for slow devices you may just ensure that previous command was sent and only then continue sending
and the USB device would have to be capable of buffering commands
you could conceivably connect the motion controller joint position outputs to halsampler, and then pipe the halsampler output to your USB communication\ program
that's too difficult :)
cradek: doesn't sound like such a "small" gantry then :P
that's in Planck units
i need first to win battle with my laziness, buy FT232BM and solder it :)
and than it may be routed to parport's input pins and tested with halscope
a question on hal_manualtoolchange.py - is there any hard axis-related reason to use the nf and tcl stuff through rs274.options? or could it be just a wxPython app just as well?
you can write a program in any language that can communicate with HAL, which at this point is C, python, tcl, and pascal (AFAIK)
btw there is no guis using wxpython now?
so let it be first! :)
since the program has to detect a change in the tool-change HAL pin, do its thing, and then signal emc that the change is done by changing another HAL pin (connected to tool-changed)
it's not about wx or not - I just find the nf.* / tcl stuff inpenetrable, so I'd rather avoid it if I can
i'm not confident but on first look hal_manualtool is not tied to axis
only common python code to load tcl code
it's a standalone program
the only requirement for a standalone program like it is that it must be a HAL-connected program
ok, thanks - so it could be a tab in a pyvcp or pyglade extension just as well. I just wasnt sure wether there's something going on at the tcl level where I fall off the cliff.
sorry for dumb question but how hal_manualtoolchange prog looks like?
EMC: 03seb 07master * re89557d6d4e1 10/docs/man/man9/hostmot2.9: Oops, kilohertz is spelled kHz, not KHz
KHz is a heating/cooling rate :-)
andypugh: we've already given him a hard enough time...
psha: Can you rephrase the question?
That's fun, you can run manualtoolchange in halrun through SSH. I just made a tool change dialog pop up on my Mac.
halrun ; loadusr hal_manualtoolchange ; setp hal_manualtoolchange.change true
EMC: 03cradek 07joints_axes3 * r8e78b2d8453c 10/src/emc/motion/control.c: fix jog speed slider
Is it OK to start a filename with a numeral?
Or perhaps m_8i20 or Mesa8i20 would work.
someone should tell Peter to name his products with letters at the beginning
I decided on mesa_8i20, similarly to pluto_stepper and opto_ac5