#emc-devel | Logs for 2011-01-05

[13:13:19] -!- logger[psha] [logger[psha]!~loggerpsh@] has joined #emc-devel
[13:23:07] <mhaberler> hm, I'd assume Axis lloks at the HOME environment vairable so
[13:23:09] <mhaberler> export HOME=/new/dir axi
[13:23:53] -!- qq- [qq-!~Moldovean@] has joined #emc-devel
[13:23:53] -!- qq- has quit [Changing host]
[13:23:53] -!- qq- [qq-!~Moldovean@unaffiliated/qq-] has joined #emc-devel
[13:30:24] <mhaberler> jthornton: looked at the axis source, I'm pretty sure this works
[13:31:17] <mhaberler> this will warp .axisrc ad .axis_preferences to the new HOME as well
[13:31:42] -!- Valen has quit [Quit: Leaving.]
[13:39:15] <jepler> of course, setting HOME will influence ANY program that uses HOME for any purpose. For instance, if in your emc session you launch gedit, and gedit uses HOME for any purpose, it'll see the wrong HOME
[13:45:13] -!- Dallur has quit [Quit: Leaving.]
[13:49:14] <jthornton> yea, that's not a good idea to change that
[13:49:49] <jthornton> I think what he has is one of those mill/lathe machines where he swaps back and forth
[13:49:52] <jepler> I can see where some users would desire these items to be per config-directory
[13:50:03] <jepler> I'd sure look at a patch if somebody wrote one
[13:50:33] <jepler> I just spent a few minutes looking into it and the obvious first step -- moving reading the mdi history below reading the inifile -- broke for some reason I don't immediately understand
[13:50:41] <jepler> (it appears to read the file, but no lines appear in the mdi history box)
[13:51:08] <jepler> bbl
[13:51:13] <jthornton> ok, thanks
[14:12:06] -!- TonnyG has quit [Ping timeout: 260 seconds]
[14:17:00] -!- isssy has quit [Quit: Visitor from www.linuxcnc.org]
[14:34:19] -!- emcrules_ has quit [Read error: Connection reset by peer]
[14:39:11] -!- skunkworks [skunkworks!447329d2@gateway/web/freenode/ip.] has joined #emc-devel
[14:40:37] <jepler> imo, ~/.axisrc (user-written python to customize the gui), ~/.axis_preferences (autosaved preferences like "show program rapids") and ~/.axis_mdi_history should all be moved by the same inifile preference
[14:41:33] <mhaberler> one way is to suffix the DISPLAY/MACHINE name from the inifile to the .axis* files
[14:42:01] <mhaberler> so each config gets it own space
[14:42:08] <jepler> I'd rather that the choice be to put them in ~ or .
[14:42:28] <jepler> and I'd like to preserve the present behavior as the default for users who may prefer it
[14:43:43] <jepler> (. being the directory with the inifile; scripts/emc always changes to the directory containing the inifile and so axis starts with the config directory as the working directory)
[14:50:11] -!- qq- has quit [Ping timeout: 255 seconds]
[14:51:07] <mhaberler> I'm nearly done with the revised iocontrol toolchanger support, need to cleanup and finish docs
[14:51:09] <mhaberler> I'd be interested if http://www.youtube.com/watch?v=5-SgA8Z79kU is considered usefule (4:33 sales video ;-)
[14:51:19] -!- TonnyG has quit [Ping timeout: 240 seconds]
[14:59:59] <skunkworks> mhaberler: one thing I came across is that I do not know that a tool change has been initiated (m6) until after the machine has moved to the tool change position. Example - I want to orient the tool while it moving to the tool change location.. if that makes sense..
[15:01:04] <mhaberler> what would you want, a HAL pin signal before moving to toolchange pos?
[15:03:10] <skunkworks> I would think that would work - Just some way to know that m6 started.
[15:04:12] <mhaberler> let me think about it a bit
[15:04:13] <mhaberler> the move is done in milltask before iocontrol notices it, but that can be fixed with an extra message
[15:05:27] <skunkworks> I can always do something in gcode - to pre-orient the spindle - but I thing it would be a benifit for other machines also... This is how it works now http://www.youtube.com/watch?v=KplU8hkI0AQ
[15:05:37] <skunkworks> *think
[15:07:32] <mhaberler> re. video - that would allow you to open the tool lock simultaneously with the move?
[15:08:06] <mhaberler> looks like a lock to me, maybe its what you call pre-orient
[15:08:09] <skunkworks> right
[15:08:41] <skunkworks> well - more generic i think. Like I say - just a way to know that the tool change has been initiated.
[15:08:44] <mhaberler> I see
[15:08:45] <mhaberler> how's is that operation called?
[15:10:08] <skunkworks> right now the the toolchange hal bit goes high -> goes though the spindle hal comp I wrote to orient -> then ladder does the actual change and sets the toolchanged hal bit.
[15:10:38] <mhaberler> well, I'll call it move-to-change-position or something, I think I know what you want. returning to coding mode ;-)
[15:11:37] <skunkworks> heh - thanks a lot for looking at that - I figured you already had your toolchange thinking cap on ;)
[15:12:09] <mhaberler> by now, yes - thanks to a wonderful boot camp session on this channel
[15:18:32] <mhaberler> there's a global in EMC which'd use named HAVE_TOOL_CHANGE_POSITION
[15:18:34] <mhaberler> is it ok to toggle this tentative pin only if this is set? I'd guess -yes
[15:28:09] -!- qq- [qq-!~Moldovean@] has joined #emc-devel
[15:28:10] -!- qq- has quit [Changing host]
[15:28:10] -!- qq- [qq-!~Moldovean@unaffiliated/qq-] has joined #emc-devel
[15:37:14] -!- pcw_home has quit [Ping timeout: 260 seconds]
[15:41:49] -!- e-jones has quit [Quit: Ex-Chat]
[15:45:10] <CIA-53> EMC: 03cradek 07master * rba30aa547dbe 10/debian/changelog: clarify this
[15:52:59] -!- TonnyG has quit [Ping timeout: 260 seconds]
[15:53:09] -!- Vq has quit [Quit: ISP trouble]
[16:03:32] -!- izua has quit [Changing host]
[16:09:34] -!- pcw_home has quit [Ping timeout: 246 seconds]
[16:14:42] <mhaberler> cradek: wrt v2_5_branch: what'sthe timeline?
[16:14:43] <mhaberler> I'll clarify with psha for the gladevcp todo list; IMO Pavel's latest and greatest widgets and proper lyx documentation; my wanted-feature list has a single entry currently
[16:14:45] <mhaberler> for myself, I'd like to slide in the iocontrol-v2 updated toolchanger - currently as an alternative (separate binary) but eventually replacing iocontrol
[16:15:41] <cradek> mhaberler: I'm trying to gather more information before I try making a timeline
[16:15:51] <mhaberler> ok
[16:17:20] <cradek> mhaberler: it's true a replacement io could be in the release separately. I had not thought of doing it that way.
[16:18:00] <mhaberler> it is such a massive rewrite that I rather not force it on people day one
[16:18:15] <cradek> yes that's pretty much right out, I agree
[16:18:32] <cradek> especially if it requires changes in ladder/hal
[16:19:11] <mhaberler> no ladder/hal changes. one extra nml message, some changes in task/*
[16:27:04] <mhaberler> oh I see what you mean wrt ladder changes. Well iov2 has a bug-compatible v1 mode. Still.. its a crucial component and it needs exposure
[16:30:38] -!- TonnyG has quit [Ping timeout: 240 seconds]
[16:32:31] -!- Dallur has quit [Quit: Leaving.]
[16:34:38] <mhaberler> sliptonic:: around?
[16:34:51] <mhaberler> oh, sorry, I meant skunkworks
[16:36:52] -!- drill has quit [Ping timeout: 240 seconds]
[16:37:56] <skunkworks> sure
[16:38:55] <mhaberler> skunkworks; I looked at M6 cnversion in the interpreter
[16:38:57] <mhaberler> it first stops the spindle if turning, then a potential quill up, then the moves
[16:39:34] <mhaberler> I would assume the spindle_stop should go first, then the start:change, then the rest
[16:39:51] <skunkworks> sounds good to me
[16:40:42] <mhaberler> the question is really before or after spindle stop - potential time gain vs potentially unusable ;-)
[16:43:11] <skunkworks> Honestly - I think it should be before the spindle stop - as that is the start of the tool change sequence...
[16:43:25] <mhaberler> fair enough
[16:43:32] <skunkworks> and - as you say - the most flexable.
[16:45:16] <skunkworks> or somebody said ;)
[16:45:25] -!- TonnyG has quit [Ping timeout: 272 seconds]
[16:55:51] <CIA-53> EMC: 03jepler 07master * r87e55f106ba9 10/docs/man/man1/gs2.1: fix copy and paste error
[16:55:54] <CIA-53> EMC: 03jepler 07master * r73eb96150ea1 10/src/emc/usr_intf/axis/scripts/axis.py: axis: notification button command corrected
[16:55:55] <CIA-53> EMC: 03jepler 07master * r19a96247ce8c 10/src/emc/usr_intf/stepconf/stepconf.py: Fix stepconf to change spaces in configuration names to underscores
[16:55:56] <CIA-53> EMC: 03jepler 07master * r49e3964d66de 10/docs/src/gcode/main.lyx: add rigid tapping example
[16:55:58] <CIA-53> EMC: 03jepler 07master * rbfd1bdc1f950 10/src/emc/usr_intf/pncconf/pncconf.py: fix failure to load config: nameless 'addf' command in HAL file
[16:56:00] <CIA-53> EMC: 03jepler 07master * rc23470a9387f 10/src/emc/usr_intf/pncconf/pncconf.py: Have pncconf immediately change spaces to underscore in path text
[16:56:01] <CIA-53> EMC: 03jepler 07master * rf3d04768c08f 10/docs/src/hal/basic_hal.lyx: spellos
[16:56:03] <CIA-53> EMC: 03jepler 07master * rfedcba70b7d5 10/docs/src/hal/rtcomps.lyx: add missing stepgen.n.enable pin
[16:56:05] <CIA-53> EMC: 03jepler 07master * re62faebb4efe 10/src/emc/usr_intf/pncconf/pncconf.py: fix the firmware names for 3i20 and 7i43-4
[16:56:07] <CIA-53> EMC: 03jepler 07master * rc4d071f48516 10/src/emc/usr_intf/pncconf/pncconf.py: fix 7i43 firmware array - connectors not in right order
[16:56:08] <CIA-53> EMC: 03jepler 07master * r43b6a6aa5dbf 10/src/emc/usr_intf/pncconf/pncconf.py: fix 3i20 firmware connector order didn't follow logical order
[16:56:09] <CIA-53> EMC: 03jepler 07master * r7e0c82767984 10/src/emc/usr_intf/pncconf/pncconf.py: fix scale calculation
[16:56:19] <CIA-53> EMC: 03jepler 07master * r2accb222629a 10/ (7 files in 6 dirs): Merge remote branch 'origin/v2.4_branch'
[17:01:56] -!- micges has quit [Ping timeout: 250 seconds]
[17:02:23] -!- micges [micges!~micges@adga225.neoplus.adsl.tpnet.pl] has joined #emc-devel
[17:03:44] -!- tom3p [tom3p!~tomp@74-93-88-241-Illinois.hfc.comcastbusiness.net] has joined #emc-devel
[17:13:04] <cradek> 30 contributors - that's awesome
[17:13:46] <jepler> I think it's 3 high -- andy pugh vs Andy Pugh. Jeff Epler vs jepler, and John vs (which john was that again?)
[17:13:54] <jepler> but still, 27 is amazing to me
[17:13:58] <cradek> yes, still
[17:19:09] <psha> inspecting ohloh page? :)
[17:20:52] <jepler> git log --pretty=format:%aN origin/v2.4_branch..origin/master | sort -u | wc -l
[17:21:04] -!- TonnyG has quit [Ping timeout: 260 seconds]
[17:21:41] <psha> git log --pretty=format:%aN origin/v2.4_branch..origin/master | sort | uniq -c | sort -nr
[17:21:44] <psha> is more funny :)
[17:22:15] <jepler> clearly somebody needs a hobby
[17:24:08] <Jymmm> swarf art (as a hobby)
[17:26:55] <psha> jepler: btw, have you some time for merge?
[17:27:20] <jepler> psha: do I have to think very hard about it?
[17:27:32] <psha> no :) nothing important this time
[17:27:34] <psha> http://psha.org.ru/cgit/psha/emc2.git/log/?h=gladevcp
[17:27:57] <psha> sourceview widget, filechooser widgets, and home/unhome actions
[17:28:28] <psha> i think i'll add gaxis.ui next time
[17:28:37] <psha> it's already nearly usable
[17:29:52] <jepler> probably some Makefile change will be needed to install and package ngc.lang, and a debian/emc2.files.in change to put it in the package..
[17:30:04] <psha> ah, sure... missed that
[17:30:22] <psha> will add them in a minutes
[17:30:32] <jepler> do you have the capability to test that?
[17:31:05] <psha> yes, but that'll take some time
[17:35:34] <CIA-53> EMC: 03jepler 07master * r591c37bc6718 10/lib/python/hal_glib.py: hal_glib: Make GStat static
[17:35:38] <CIA-53> EMC: 03jepler 07master * rd3a13070380e 10/lib/python/gladevcp/hal_gremlin.py: gladevcp: Use GStat in gremlin
[17:35:39] <CIA-53> EMC: 03jepler 07master * r370d47b9a9cd 10/lib/python/hal_glib.py: hal_glib: Add file-loaded and line-changed signals
[17:35:44] <CIA-53> EMC: 03jepler 07master * r3afb26fcf0fb 10/lib/python/gladevcp/hal_actions.py: gladevcp: Use static GStat in actions
[17:35:46] <CIA-53> EMC: 03jepler 07master * rce239932d917 10/lib/python/gladevcp/ (hal_filechooser.py hal_python.xml hal_pythonplugin.py): gladevcp: Added filechooser widgets
[17:35:47] <CIA-53> EMC: 03jepler 07master * r420e391897be 10/lib/python/gladevcp/ (hal_python.xml hal_pythonplugin.py hal_sourceview.py): gladevcp: Add sourceview widget
[17:35:50] <CIA-53> EMC: 03jepler 07master * r286736e1d15a 10/share/ (2 files in 2 dirs): Add syntax goodies for gedit/gtkviewsource based apps
[17:35:51] <CIA-53> EMC: 03jepler 07master * r4d3021ac306d 10/lib/python/gladevcp/hal_sourceview.py: gladevcp: Fix search path for EMC_SourceView widget
[17:35:52] <CIA-53> EMC: 03jepler 07master * r1dd6a679eccd 10/lib/python/gladevcp/ (hal_actions.py hal_python.xml): gladevcp: Added Home actions
[17:35:54] <CIA-53> EMC: 03jepler 07master * r814dc5babe27 10/ (9 files in 4 dirs): Merge remote branch 'psha/gladevcp'
[17:42:37] -!- nullie has quit [Quit: Ex-Chat]
[17:44:34] <psha> jepler: place for mime type package was choosed incorrect...
[17:45:02] <psha> there is 'dh_installmime' command that installs mime files from debian/PACKAGE.sharedmime or debian/PACKAGE.mime files
[18:00:21] -!- emcrules_mobile has quit [Quit: Chatmosphere - IRC for Blackberry]
[18:13:29] <mhaberler> skunkworks: how about that? http://www.youtube.com/watch?v=kHx6ptnlVo0
[18:15:49] <psha> after 'toolchanged' click tool disappear! :)
[18:16:05] <mhaberler> this is one thing I dont understand yet
[18:16:20] <mhaberler> looking at tool table
[18:23:21] -!- LawrenceG [LawrenceG!~LawrenceG@S0106009027972e37.pk.shawcable.net] has joined #emc-devel
[18:26:22] <mhaberler> psha: the sim_mm.tbl isnt in mm, it is in inches, which explains instant evaporation of tools
[18:26:39] <mhaberler> or near-evaportation
[18:27:25] <mhaberler> actually this should be fixed, I'll include it in the next round
[18:29:33] <psha> hey, that was not bug report ;)
[18:29:36] -!- andypugh [andypugh!~andy2@cpc2-basl1-0-0-cust1037.basl.cable.virginmedia.com] has joined #emc-devel
[18:30:09] <mhaberler> well, it should confuse all users of sim/axis_mm.ini so it would be a legit fix
[18:32:55] <skunkworks> mhaberler: that looks awesome - then normal configs would just need a loopback
[18:33:04] <mhaberler> exactly
[18:35:28] <mhaberler> I added a new canon command (START_CHANGE()) to implement this, in all the obvious places needed to get it to run including saicanon
[18:35:29] <mhaberler> are there any other incantations one needs to follow ? I could imagine the new command might break some test
[18:37:26] <CIA-53> EMC: 03seb 07master * r29ab1ff9dffe 10/configs/ (18 files in 2 dirs): add FILTER section to hm2 .ini files
[18:46:50] <mhaberler> psha: can I squash commits with git-gui somehow?
[18:47:23] <psha> mhaberler: don't know... try :)
[18:47:35] <mhaberler> how do you do it?
[18:47:42] <mhaberler> cmd line?
[18:48:45] <psha> with git gui? :) click-click-click! it's gui!
[18:49:01] <mhaberler> teco rulez
[18:49:04] <psha> with command line - 'git rebase -i'
[18:49:19] <mhaberler> ah, tnx
[18:49:21] <psha> then edit actions for commit (squash, etc...)
[18:49:34] <andypugh> Just watched the first video mhaberler. Looks good. Interesting that the YouTube captioning system does a lot better with your accent than mine.
[18:49:56] <mhaberler> never tried that
[18:50:35] <mhaberler> is that automatic subtitles from voice or what?
[18:50:36] <mhaberler> IS MY ENGLISH THUS HORRIBLE?
[18:51:59] -!- fatpandas has quit [Quit: leaving]
[18:53:21] <mhaberler> ;_)
[18:54:31] <andypugh> For a laugh, click the same button with my hobbing video. I am not sure it gets any words right (crinkled popes?) whereas with you it makes no sense, but gets half the words. http://www.youtube.com/watch?v=ZhICrb0Tbn4
[18:55:56] <psha> sorry for dumb question but where is that button? :)
[18:56:17] <andypugh> red (cc) in the bottom bar
[19:00:08] <mhaberler> that's a riot..
[19:01:59] <mhaberler> psha; on a different front, when this iov2 is done: can you help me across the MDI street with the gcode-based toolchange?
[19:02:27] <psha> sure
[19:03:38] <psha> jepler: http://psha.org.ru/cgit/psha/emc2.git/log/?h=mime-install
[19:03:38] -!- SWPLinux has quit [Read error: Connection reset by peer]
[19:04:28] -!- SWPLinux [SWPLinux!~ChattyOne@wsip-70-165-184-41.lv.lv.cox.net] has joined #emc-devel
[19:07:22] -!- awallin_ has quit [Remote host closed the connection]
[19:11:28] <mhaberler> the iocontrol-v2 patch will affect ca 20 files in task, rs274 and a few new ones.
[19:11:30] <mhaberler> How am I supposed to prepare it for a merge - lump together in a single commit?
[19:12:54] <cradek> you don't need to do that, especially if the separate commits make sense as-is
[19:13:20] <mhaberler> ok, then I'll make it a few logically grouped ones
[19:28:00] <CIA-53> EMC: 03jepler 07master * rb1ab9de31b72 10/ (4 files in 2 dirs): mime: Install emc mime types package
[19:28:01] -!- motioncontrol has quit [Quit: Sto andando via]
[19:28:17] <CIA-53> EMC: 03jepler 07master * r47d7a72aedea 10/ (debian/emc2.files.in src/Makefile): makefile: Install NGC syntax defs
[19:28:24] <CIA-53> EMC: 03jepler 07master * r02d9bfa0d7ff 10/ (6 files in 3 dirs): Merge remote branch 'psha/mime-install'
[19:28:42] <andypugh> emc mime-types?
[19:29:59] -!- micges has quit [Ping timeout: 260 seconds]
[19:30:10] <jepler> andypugh: it has something to do with syntax highlighting in vim
[19:30:13] <jepler> er, in gedit
[19:30:24] <jepler> being firmly stuck in the 1980s when it comes to text editors, I have no idea what that even means
[19:32:28] <Jymmm> andypugh: text/plain
[19:33:33] <andypugh> Ah, neat.
[19:33:33] -!- SWPLinux has quit [Read error: Connection reset by peer]
[19:33:56] <jepler> .. of .ngc files
[19:34:20] <Jymmm> andypugh: if you are writing a gcode highlighter, then you mght need to create your own custom mime type as I'm unaware of any that currently exist.
[19:34:28] -!- SWPLinux [SWPLinux!~ChattyOne@wsip-70-165-184-41.lv.lv.cox.net] has joined #emc-devel
[19:36:43] -!- motioncontrol has quit [Quit: Sto andando via]
[19:38:22] <Jymmm> MIME types primarily tell a web browser how to handle certain content. The mime type "application/pdf" associates a .pdf file to an application,
[19:38:51] <andypugh> Yeah, got it.
[19:39:12] <Jymmm> Thee are things like text/html, text/xml, etc
[19:39:47] <andypugh> jthornton: It occurs to me that http://www.linuxcnc.org/docview/html/hal_drivers.html is oddly named, and oddly linked from the http://www.linuxcnc.org/docview/html/ page
[19:41:41] <andypugh> It seems that it should be listed in the realtime components at the bottom, and if it does need to be listed in the HAL section then perhaps should be named "parallel port". I suspect that the current link dates back to when parport was the only hardware interface?
[19:43:33] <cradek> there ought to be a commandline pastebin submitter
[19:43:53] <cradek> % dmesg|pastebin
[19:43:57] <cradek> http://pastebin.com/12345
[19:45:10] <Jymmm> cradek: curl
[19:48:35] <Jymmm> cradek: http://www.vim.org/scripts/script.php?script_id=2298
[19:49:04] <Jymmm> cradek: https://github.com/ruediger/emacs-codepad#readme
[19:56:29] <jepler> cradek http://pastebin.com/GGL84SYf
[19:56:50] <cradek> wooo
[19:57:59] <cradek> sweet
[19:58:04] <cradek> % dmesg|tail -3 |pastebin
[19:58:05] <cradek> http://pastebin.com/F9FzrQ4v
[19:59:26] <andypugh> So, all we need now is for EMC2 to automatically pastebin dmesg files and send a link to #emc and we will be able to answer questions before the hapless users even ask them.
[20:02:18] <jepler> shorter, but I'm pretty sure that the commandline 'curl' is not in stock ubuntu, while python+urllib is. http://pastebin.com/ZSrrQpc2
[20:02:39] <cradek> alex_joni: can you put 2.4.6 on sourceforge?
[20:03:56] <jepler> ah it can fit in 80 chars and still take stdin: curl --data-urlencode paste_code@${1--} http://pastebin.com/api_public.php; echo
[20:05:10] <cradek> haha, pick "Show: Thumbs Down" on the stupid "Ratings and Reviews"
[20:13:18] <tom3p> pastebinit? http://www.stgraber.org/2008/06/10/pastebinit-now-debian/
[20:17:35] droid is now known as Guest67395
[20:20:54] -!- JT-Shop [JT-Shop!~chatzilla@216-41-143-50.semo.net] has joined #emc-devel
[20:31:01] -!- mhaberler has quit [Read error: Operation timed out]
[20:31:21] -!- tom3p [tom3p!~tomp@74-93-88-241-Illinois.hfc.comcastbusiness.net] has parted #emc-devel
[20:32:14] -!- mhaberler [mhaberler!~chatzilla@extern-181.stiwoll.mah.priv.at] has joined #emc-devel
[20:36:41] -!- Dannyboy has quit [Ping timeout: 264 seconds]
[20:38:02] -!- TonnyG has quit []
[20:51:52] <psha> andypugh: emc mime types file is 'package' file describing different specific mime types
[20:53:12] <psha> i've added ngc.lang file from wiki so syntax highlight is available in gedit and sourceview gladevcp widget
[21:02:13] -!- isssy has quit [Client Quit]
[21:03:37] -!- TeslaTony has quit [Quit: Leaving]
[21:05:21] <psha> by the way with defined mime types it's possible to install 'open in emc' handler for ngc files :)
[21:05:51] <psha> so user plugs some external media, nautilus (thunar) pops up and he just selects .ngc file from it
[21:06:01] <psha> bb
[21:06:05] <psha> logger[psha]: here?
[21:06:16] <psha> at leat logger is back again :)
[21:08:35] -!- psha has quit [Quit: leaving]
[21:15:02] -!- mhaberler has quit [Ping timeout: 240 seconds]
[21:26:48] -!- mhaberler [mhaberler!~chatzilla@extern-181.stiwoll.mah.priv.at] has joined #emc-devel
[21:36:49] -!- SWPLinux has quit [Changing host]
[21:36:49] -!- SWPLinux [SWPLinux!~ChattyOne@emc/developer/SWPadnos] has joined #emc-devel
[21:39:41] -!- WalterN has quit [Ping timeout: 255 seconds]
[21:43:30] <mhaberler> using emacs for EMC source editing: I'd appreciate a .emacs donation
[21:43:52] <cradek> what specifically do you want it to do? EMC is like any other code
[21:44:27] <mhaberler> same c style settings - I'm lacking the PhD required to do the .emacs myself
[21:44:44] <cradek> the defaults for C mode are probably fine
[21:44:53] <cradek> we don't really have a standard throughout the code anyway.
[21:45:09] <mhaberler> my emacs default here is 2 chars indent
[21:45:35] <cradek> hm, that probably won't match up with much of EMC's code
[21:45:46] <mhaberler> thats why I'm asking
[21:46:14] <cradek> is that the default or did you set it that way somehow?
[21:46:21] <cradek> (I use xemacs - maybe you are using gnu emacs)
[21:46:57] <mhaberler> yes - it is configurable alongside a gazillion other options, the art is to hit the right one
[21:48:08] <mhaberler> ok, I'll sign up for CS942 - Emacs Esoterica ;-)
[21:54:16] <andypugh> There is a style guide somewhere in the source.
[21:54:28] <cradek> heh
[21:54:46] <cradek> those are always good for a little laugh, if you're feeling down
[21:55:38] <cradek> holy crap, there is one
[21:56:14] -!- Dannyboy has quit [Read error: Connection reset by peer]
[21:56:32] <cradek> it should all be replaced with 'match surrounding style when you change stuff' and 'for gods sake don't reformat stuff you don't touch, because you'll screw up revision control'
[21:58:12] <mhaberler> where's the style guide?
[21:58:49] <cradek> src/StyleGuide
[21:58:55] <mhaberler> ah
[22:01:28] <mhaberler> src/CodingStyle
[22:02:38] -!- n2diy has quit [Ping timeout: 255 seconds]
[22:06:54] <andypugh> I wish Seb was more communicative, I would rather like to get this driver put away and submitted.
[22:08:18] fatpandas is now known as fatpandaway
[22:12:35] -!- qq- has quit [Ping timeout: 240 seconds]
[22:15:32] -!- fatpandaway has quit [Ping timeout: 240 seconds]
[22:26:18] -!- qq- [qq-!~Moldovean@unaffiliated/qq-] has joined #emc-devel
[22:30:49] -!- grommit has quit [Ping timeout: 260 seconds]
[22:33:10] -!- skunkworks has quit [Ping timeout: 265 seconds]
[22:33:10] -!- motioncontrol has quit [Quit: Sto andando via]
[22:42:09] -!- mendelbuild has quit [Read error: Connection reset by peer]
[22:43:37] -!- Valen has quit [Quit: Leaving.]
[22:54:28] -!- Fox_Muldr has quit [Ping timeout: 276 seconds]
[23:02:03] -!- SWPLinux has quit [Read error: Connection reset by peer]
[23:03:06] -!- Bridgeport2 has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.13/20101203075014]]
[23:03:16] -!- e3m has quit [Quit: Relax, its only ONES and ZEROS!]
[23:04:33] -!- SWPLinux [SWPLinux!~ChattyOne@wsip-70-165-184-41.lv.lv.cox.net] has joined #emc-devel
[23:04:54] -!- SWPLinux has quit [Changing host]
[23:04:54] -!- SWPLinux [SWPLinux!~ChattyOne@emc/developer/SWPadnos] has joined #emc-devel
[23:10:50] -!- skunkworks [skunkworks!~chatzilla@str-bb-cable-south2-static-6-412.dsl.airstreamcomm.net] has joined #emc-devel
[23:14:50] <mhaberler> skunkworks: isnt really what you want an M19 spindle orientation?
[23:14:57] <mhaberler> skunkworks: isnt really what you want an M19 spindle orientation?
[23:15:04] <mhaberler> oops
[23:16:33] <andypugh> I think spindle orientation is likely to be too machine-specific to be usefully G-coded. All I can imagine it doing is taking an "orient now" pin high, and waiting for a "done" pin.
[23:18:43] <mhaberler> just imagining what you'll do:
[23:18:44] <mhaberler> take the start-change pin as start-spindle orientation signal to some angle, and release the spindle orientation together with tool-changed?
[23:24:41] <roberth_> being in Gcode can speed up your tool change so can command on say Z to change postion, or give access to postion a spindle on a lathe for exsample, for drilling/milling, where no C axis is an option
[23:27:08] -!- SWPLinux has quit [Read error: Connection reset by peer]
[23:28:24] <andypugh> roberth_: Except that the G-code can't actually position the spindle, that needs to be handled by an external mechanism and control scheme.
[23:28:29] -!- SWPLinux [SWPLinux!~ChattyOne@wsip-70-165-184-41.lv.lv.cox.net] has joined #emc-devel
[23:31:11] <roberth_> where M19 carrys a postion output with it also, ie, M19 P(angle) code waits for done back from the drive, or what ever does the potion,
[23:31:56] -!- servos4ever has quit [Quit: ChatZilla 0.9.85 [SeaMonkey 2.0.11/20101206162726]]
[23:33:08] <roberth_> i know right now u can do with coustom Mcode which is what i do, on G91 G29 Z0 M119 and i get the spindle there ready on way to do change, saves quite abit of time
[23:33:42] <mhaberler> no, but the m19 could convey both angle and orientation signal to HAL pins
[23:35:03] <skunkworks> mhaberler: with your 'start-change' hal bit - I can do whatever I want. What I would do then is run that loop though my spindle comp to start the orient sequence - and then send the tool-change-ack instantly so it can start moving to the tool change location. (because I don't allow the tool-change sequence to start until the spindle is oriented)
[23:35:09] <roberth_> problem with costom Mcode a spindle M03 M04 can not cnacel that cosutom code so take s abit of PLC or hal trickery
[23:35:52] <skunkworks> (if that made sense)
[23:37:26] <skunkworks> (actually - spindle orient probably isn't right - more like spindle lock)
[23:37:31] <mhaberler> I dont get it either
[23:37:32] <mhaberler> the m6 will turn off the spindle after start.change is sent, is that too late
[23:38:30] * JT-Shop likes the "touch off to fixture" choice in 2.5 Axis :)
[23:38:48] <mhaberler> me too
[23:39:17] <skunkworks> ? I guess I don't see that as a problem. My spindle comp will handle all of that. either emc telling the spindle to shut off - or my spindle lock code. makes no difference to me.
[23:40:08] <skunkworks> the spindle lock code will also turn the spindle off in effect.
[23:40:17] <mhaberler> I see
[23:40:49] <skunkworks> I just need to know that the tool change has started. (now I don't until it is in the tool change position)
[23:42:37] <mhaberler> skunkworks: if you want to give it a spin, pull http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/iocontrol-v2-candidate
[23:46:05] <roberth_> skunkworks, start-change is requested on a M6 right, will you not be at change location already from the gcode? so your changer will still be waiting for spindle to postion for the arm to work, dont u want to send machine to postion in the code, while going there postion spindle? so at the M6 arm comes right in taking away the spindle postion delay?
[23:46:46] <roberth_> sorry bad habbit of watching machines all day finding ways to tweak and speed programs up lol
[23:50:30] -!- wobblybootie has quit [Ping timeout: 265 seconds]
[23:51:55] -!- bootnecklad has quit [Ping timeout: 246 seconds]
[23:52:00] -!- SWPLinux has quit [Read error: Connection reset by peer]
[23:54:34] -!- SWPLinux [SWPLinux!~ChattyOne@wsip-70-165-184-41.lv.lv.cox.net] has joined #emc-devel
[23:54:36] <mhaberler> re: emacs/emc source code style - it seems
[23:54:37] <mhaberler> (setq c-default-style
[23:54:39] <mhaberler> '((other . "linux")))
[23:54:40] <mhaberler> (setq c-basic-offset 4)
[23:54:42] <mhaberler> provides visually pleasing results
[23:55:21] <mhaberler> to use, put in the $(HOME)/.emacsrc file
[23:59:08] <andypugh> I want a Mac XCode style!