Back
[00:10:50] -!- FreezingCold has quit [Ping timeout: 252 seconds]
[00:11:45] -!- per_sonne__ has quit [Ping timeout: 256 seconds]
[00:15:29] -!- patrickarlt has quit [Remote host closed the connection]
[00:15:53] <cmorley> mozmck : did you return true? True means not to propagate the signal... can you show the code?
[00:20:46] -!- patrickarlt has quit [Ping timeout: 265 seconds]
[00:22:04] <cmorley> Jepler: grafcet ladder logic worked the last time i tried it (which was a long time ago) It was a bit of a pain to edit IIRC
[00:24:30] -!- eurimer has quit [Quit: Leaving.]
[00:36:06] <cmorley> mozmck: I read down more and see you found the error.
[00:37:36] <cmorley> gscreen does tend to hide errors. I believe there are debug options that will show more (way more)
[00:45:50] -!- Loetmichel has quit [Ping timeout: 246 seconds]
[00:55:52] -!- Stoneanvil [Stoneanvil!~stoneanvi@135-23-254-107.cpe.pppoe.ca] has joined #linuxcnc-devel
[00:59:50] -!- tjb1 has quit [Ping timeout: 246 seconds]
[01:22:01] -!- asdfasd has quit [Ping timeout: 264 seconds]
[01:23:19] -!- nunya has quit [Quit: Leaving]
[01:27:29] -!- tjtr33 has quit [Quit: Leaving]
[01:29:21] -!- Akex_ has quit [Quit: Connection closed for inactivity]
[02:02:40] -!- per_sonne__ has quit [Ping timeout: 252 seconds]
[02:08:01] -!- gromits [gromits!~chatzilla@c-68-49-173-190.hsd1.mi.comcast.net] has joined #linuxcnc-devel
[02:10:56] -!- nunya has quit [Remote host closed the connection]
[02:11:17] -!- gromits has quit [Remote host closed the connection]
[02:12:43] -!- gromits [gromits!~chatzilla@c-68-49-173-190.hsd1.mi.comcast.net] has joined #linuxcnc-devel
[02:24:25] -!- OnkelTem has quit [Ping timeout: 264 seconds]
[02:26:31] <mozmck> cmorley: thanks. I got my jog rates working like I wanted now. I read the MAX_VELOCITY for each axis, and fill a list with that. Then I use the jog slider to set a percentage and multiply each max_velocity by the jog_percent, and then use that rate to jog each axis.
[02:27:06] <mozmck> If you hold down the shift key first it jogs the axis at it's max velocity.
[02:27:42] <Tom_itx> nice
[02:29:15] <mozmck> I couldn't use any of the gscreen jog stuff to do that though. I like how it works. An axis that is substantially slower than the others (Z for instance) does not run at max vel this way.
[02:58:37] -!- OnkelTem has quit [Ping timeout: 264 seconds]
[03:06:10] -!- tinkerer has quit [Quit: Leaving.]
[03:29:14] <pcw_home> looks like Preemt-RT kernel 4.0 has just been imported into the Debian packaging repo:
[03:29:15] <pcw_home> http://www.spinics.net/lists/linux-rt-users/msg13364.html
[03:30:30] -!- AR_ has quit [Ping timeout: 256 seconds]
[03:36:20] <jepler> woo
[03:44:09] -!- Stoneanvil has quit []
[03:48:29] -!- amiri has quit [Ping timeout: 258 seconds]
[03:52:40] -!- per_sonne__ has quit [Ping timeout: 272 seconds]
[04:04:13] -!- Felix29 [Felix29!~coors@c-67-166-12-95.hsd1.co.comcast.net] has joined #linuxcnc-devel
[04:11:49] -!- yusgot has quit [Ping timeout: 264 seconds]
[04:14:36] -!- Stoneanvil [Stoneanvil!~stoneanvi@135-23-254-107.cpe.pppoe.ca] has joined #linuxcnc-devel
[04:23:22] -!- furrywolf has quit [Ping timeout: 255 seconds]
[04:32:49] -!- HSD has quit [Ping timeout: 264 seconds]
[04:53:32] -!- Camaban has quit [Ping timeout: 252 seconds]
[04:57:16] -!- u7654dec has quit [Ping timeout: 272 seconds]
[05:14:37] -!- u7654dec has quit [Read error: Connection reset by peer]
[05:23:19] -!- Felix29 has quit []
[05:28:32] -!- kwallace [kwallace!~kwallace@smb-148.sonnet.com] has parted #linuxcnc-devel
[05:36:50] -!- u7654dec has quit [Read error: Connection reset by peer]
[05:40:59] -!- per_sonne__ has quit [Ping timeout: 256 seconds]
[05:42:01] -!- u7654dec has quit [Read error: Connection reset by peer]
[05:45:21] -!- HSD has quit [Ping timeout: 240 seconds]
[06:02:09] -!- mozmck has quit [Read error: Connection reset by peer]
[06:14:35] -!- ve7it has quit [Remote host closed the connection]
[06:19:01] -!- mozmck [mozmck!~moses@67.210.159.245] has joined #linuxcnc-devel
[06:26:42] -!- f1oat5 [f1oat5!~f1oat@AMontsouris-553-1-29-61.w92-151.abo.wanadoo.fr] has joined #linuxcnc-devel
[06:31:53] -!- moorbo has quit [Remote host closed the connection]
[06:37:07] -!- alex_joni [alex_joni!~alex_joni@81.196.65.201] has joined #linuxcnc-devel
[06:46:20] -!- automata_ has quit [Ping timeout: 272 seconds]
[06:47:17] -!- f1oat5 has quit [Ping timeout: 256 seconds]
[06:58:56] -!- HSD has quit [Ping timeout: 246 seconds]
[07:10:53] -!- quiqua has quit [Quit: quiqua]
[07:24:36] -!- Mr_Sheesh has quit [Remote host closed the connection]
[07:27:18] -!- eventor [eventor!~eventor@p5B254F2F.dip0.t-ipconnect.de] has joined #linuxcnc-devel
[07:30:09] -!- per_sonne__ has quit [Ping timeout: 240 seconds]
[07:37:00] -!- syyl has quit [Ping timeout: 256 seconds]
[07:39:21] <cmorley> mozmck: that's great, I am glad you are winning the good fight :) night
[07:47:10] -!- Camaba has quit [Quit: Leaving]
[08:12:17] -!- HSD has quit [Ping timeout: 256 seconds]
[08:28:10] -!- Nutter has quit [Ping timeout: 255 seconds]
[08:46:40] -!- per_sonne__ has quit [Ping timeout: 272 seconds]
[09:02:42] -!- Mr_Sheesh has quit [Remote host closed the connection]
[09:26:56] -!- HSD has quit [Ping timeout: 256 seconds]
[09:30:17] -!- b_b has quit [Changing host]
[09:44:18] -!- Mr_Sheesh has quit [Ping timeout: 272 seconds]
[09:49:03] -!- per_sonne__ has quit [Ping timeout: 244 seconds]
[09:55:48] -!- tinkerer [tinkerer!~tinkerer@mail.play-pla.net] has joined #linuxcnc-devel
[09:56:00] -!- mhaberler has quit [Quit: mhaberler]
[10:19:22] -!- Akex_ has quit [Quit: Connection closed for inactivity]
[10:36:29] -!- acdha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
[10:38:54] -!- HSD has quit [Ping timeout: 256 seconds]
[10:55:20] -!- f1oat5 [f1oat5!~f1oat@AMontsouris-553-1-29-61.w92-151.abo.wanadoo.fr] has joined #linuxcnc-devel
[10:56:22] -!- u7654dec has quit [Ping timeout: 272 seconds]
[10:58:51] -!- Valen has quit [Remote host closed the connection]
[11:01:34] -!- sumpfralle has quit [Ping timeout: 256 seconds]
[11:28:11] -!- diegocerdan has quit [Read error: Connection reset by peer]
[11:33:18] -!- acdha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
[11:38:00] -!- asd_ has quit [Quit: Page closed]
[11:46:13] -!- Aero-Tec2 has quit [Read error: Connection reset by peer]
[11:48:59] <KGB-linuxcnc> 03John Thornton 052.7_Docs 20fd28b 06linuxcnc 10(5 files in 2 dirs) add collapsing/expanding to html index lists * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=20fd28b
[11:49:07] <jthornton> and now we wait for buildbot to do it's magic
[11:53:03] <linuxcnc-build> build #1302 of 1403.rip-wheezy-amd64 is complete: Failure [4failed compile] Build details are at
http://buildbot.linuxcnc.org/buildbot/builders/1403.rip-wheezy-amd64/builds/1302 blamelist: John Thornton <bjt128@gmail.com>
[11:53:10] <linuxcnc-build> build #1493 of 1404.rip-wheezy-rtpreempt-amd64 is complete: Failure [4failed compile] Build details are at
http://buildbot.linuxcnc.org/buildbot/builders/1404.rip-wheezy-rtpreempt-amd64/builds/1493 blamelist: John Thornton <bjt128@gmail.com>
[11:53:22] <linuxcnc-build> build #1302 of 1400.rip-wheezy-i386 is complete: Failure [4failed compile] Build details are at
http://buildbot.linuxcnc.org/buildbot/builders/1400.rip-wheezy-i386/builds/1302 blamelist: John Thornton <bjt128@gmail.com>
[11:54:01] <linuxcnc-build> build #813 of 1402.rip-wheezy-rtpreempt-i386 is complete: Failure [4failed compile] Build details are at
http://buildbot.linuxcnc.org/buildbot/builders/1402.rip-wheezy-rtpreempt-i386/builds/813 blamelist: John Thornton <bjt128@gmail.com>
[11:54:04] <linuxcnc-build> build #965 of 1401.rip-wheezy-rtai-i386 is complete: Failure [4failed compile] Build details are at
http://buildbot.linuxcnc.org/buildbot/builders/1401.rip-wheezy-rtai-i386/builds/965 blamelist: John Thornton <bjt128@gmail.com>
[11:55:01] -!- f1oat5 has quit [Ping timeout: 264 seconds]
[11:55:09] <linuxcnc-build> build #1332 of 1405.rip-wheezy-armhf is complete: Failure [4failed compile] Build details are at
http://buildbot.linuxcnc.org/buildbot/builders/1405.rip-wheezy-armhf/builds/1332 blamelist: John Thornton <bjt128@gmail.com>
[11:56:04] <linuxcnc-build> build #3144 of 1300.rip-precise-i386 is complete: Failure [4failed compile] Build details are at
http://buildbot.linuxcnc.org/buildbot/builders/1300.rip-precise-i386/builds/3144 blamelist: John Thornton <bjt128@gmail.com>
[11:56:12] <linuxcnc-build> build #3146 of 1306.rip-precise-amd64 is complete: Failure [4failed compile] Build details are at
http://buildbot.linuxcnc.org/buildbot/builders/1306.rip-precise-amd64/builds/3146 blamelist: John Thornton <bjt128@gmail.com>
[11:56:25] <linuxcnc-build> build #3145 of 1200.rip-lucid-i386 is complete: Failure [4failed compile] Build details are at
http://buildbot.linuxcnc.org/buildbot/builders/1200.rip-lucid-i386/builds/3145 blamelist: John Thornton <bjt128@gmail.com>
[11:56:36] <linuxcnc-build> build #3145 of 1201.rip-lucid-rtai-i386 is complete: Failure [4failed compile] Build details are at
http://buildbot.linuxcnc.org/buildbot/builders/1201.rip-lucid-rtai-i386/builds/3145 blamelist: John Thornton <bjt128@gmail.com>
[11:56:52] <linuxcnc-build> build #3145 of 1202.rip-lucid-amd64 is complete: Failure [4failed compile] Build details are at
http://buildbot.linuxcnc.org/buildbot/builders/1202.rip-lucid-amd64/builds/3145 blamelist: John Thornton <bjt128@gmail.com>
[12:00:11] <linuxcnc-build> build #2348 of 1301.rip-precise-rtai-i386 is complete: Failure [4failed compile] Build details are at
http://buildbot.linuxcnc.org/buildbot/builders/1301.rip-precise-rtai-i386/builds/2348 blamelist: John Thornton <bjt128@gmail.com>
[12:01:52] -!- Mourner has quit [Ping timeout: 246 seconds]
[12:09:50] <linuxcnc-build> build #3155 of 0000.checkin is complete: Failure [4failed] Build details are at
http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/3155 blamelist: John Thornton <bjt128@gmail.com>
[12:09:52] -!- gambakufu has quit [Ping timeout: 252 seconds]
[12:12:30] <jthornton> I wonder what I broke
[12:13:14] -!- rob_h [rob_h!~robh@90.206.254.250] has joined #linuxcnc-devel
[12:16:56] -!- FreezingCold has quit [Ping timeout: 256 seconds]
[12:18:01] <jthornton> I think I know what I broke
[12:24:52] -!- skorasaurus has quit [Ping timeout: 255 seconds]
[12:27:40] -!- dan2k3k4 has quit [Ping timeout: 244 seconds]
[13:05:08] -!- BellinganRoy has quit [Quit: Konversation terminated!]
[13:08:53] -!- mhaberler has quit [Ping timeout: 246 seconds]
[13:21:42] -!- mhaberler has quit [Quit: mhaberler]
[13:24:42] <cradek> make: Failed to remake makefile `Makefile'.
[13:24:44] <cradek> hmm
[13:25:14] <cradek> if you build from clean do you not get the error?
[13:25:41] <cradek> jthornton:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?FailedToRemakeMakefile
[13:31:29] -!- fogl has quit [Ping timeout: 245 seconds]
[13:31:59] -!- syyl_ has quit [Ping timeout: 265 seconds]
[13:33:03] -!- kwallace [kwallace!~kwallace@smb-253.sonnet.com] has joined #linuxcnc-devel
[13:44:14] <jthornton> copy and paste error on my part, just building again local before pushing
[13:52:22] <jthornton> crumb, I set my local branch back one commit and fixed the problem and now it won't let me push. Should I delete the 2.7_Docs branch with git push origin :2.7_Docs or is there another way to fix my situation
[13:57:23] <mozmck> --force
[13:57:45] <jthornton> ok, let me test that
[13:58:56] <jthornton> john@cave:~/emc-dev/src$ git push --force --dry-run
[13:58:56] <jthornton> To ssh://jthornton@git.linuxcnc.org/git/emc2.git
[13:58:56] <jthornton> + d861045...fde52dc 2.7 -> 2.7 (forced update)
[13:58:56] <jthornton> + 20fd28b...7158ed2 2.7_Docs -> 2.7_Docs (forced update)
[13:58:56] <jthornton> + 4ef4cb5...e743793 master -> master (forced update)
[13:59:03] <jthornton> not quite what I expeced
[13:59:25] <mozmck> hmm, don't know about that!
[13:59:34] amnesic_away is now known as amnesic
[13:59:53] <mozmck> Do you have changes in 2.7 and master as well?
[13:59:57] <jthornton> I assume it should only do the branch I'm currently on
[14:00:02] <jthornton> no
[14:01:06] <mozmck> I think you can specifiy the branch to push as well, but I'm not a git wizard yet
[14:02:18] <jepler> jthornton: you just did a bad thing
[14:02:34] <jthornton> yes, I know
[14:02:46] <jepler> but if you did it with --dry-run then you didn't *actually* do the bad thing
[14:03:04] <mozmck> :)
[14:03:11] <jthornton> oh that yes --dry-run for sure if I don't know what will happen
[14:03:39] <mozmck> jepler: why would it try to update 2.7 and master?
[14:04:02] <jepler> jthornton: what is your git version (git --version)
[14:04:23] <jthornton> git version 1.7.10.4
[14:05:08] <jepler> jthornton: what, if anything, does this print? git config push.default
[14:05:32] <jthornton> nothing
[14:06:47] <jepler> in git 1.7.10, the default of push is "matching - push all matching branches. All branches having the same name in both ends are considered to be matching. This is the default."
[14:07:05] <jthornton> john@cave:~/emc-dev/src$ git push origin +2.7_Docs --force --dry-run
[14:07:05] <jthornton> To ssh://jthornton@git.linuxcnc.org/git/emc2.git
[14:07:05] <jthornton> + 20fd28b...7158ed2 2.7_Docs -> 2.7_Docs (forced update)
[14:07:20] <jepler> so because you had a local branch called 2.7 and origin has a branch named 2.7, "git push" will push that branch
[14:08:06] <jepler> I prefer the behavior I get by: git config --global push.default tracking
[14:08:16] <jepler> errr "upstream"
[14:08:22] <jepler> git config --global push.default upstream
[14:08:26] <jepler> "upstream - push the current branch to its upstream branch."
[14:08:35] <jepler> (tracking is a 'deprecated synonym for upstream')
[14:09:22] <jthornton> john@cave:~/emc-dev/src$ git config --global push.default upstream
[14:09:22] <jthornton> john@cave:~/emc-dev/src$ git push --force --dry-run
[14:09:22] <jthornton> fatal: The current branch 2.7_Docs has no upstream branch.
[14:09:22] <jthornton> To push the current branch and set the remote as upstream, use
[14:09:22] <jthornton> git push --set-upstream origin 2.7_Docs
[14:09:48] <jepler> yes, in this mode you have to set the upstream of a new branch one time
[14:10:20] <jthornton> so use git push --set-upstream origin 2.7_Docs?
[14:10:40] <jepler> --dry-run it first of course
[14:10:50] <jthornton> nodding
[14:11:11] <jepler> but that will still give you the non-fast-forward error.
[14:11:12] <jthornton> john@cave:~/emc-dev/src$ git push --set-upstream origin 2.7_Docs --dry-run
[14:11:12] <jthornton> To ssh://jthornton@git.linuxcnc.org/git/emc2.git
[14:11:12] <jthornton> ! [rejected] 2.7_Docs -> 2.7_Docs (non-fast-forward)
[14:11:12] <jthornton> error: failed to push some refs to 'ssh://jthornton@git.linuxcnc.org/git/emc2.git'
[14:11:12] <jthornton> hint: Updates were rejected because the tip of your current branch is behind
[14:11:13] <jthornton> hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
[14:11:14] <jthornton> hint: before pushing again.
[14:11:16] <jthornton> hint: See the 'Note about fast-forwards' in 'git push --help' for details.
[14:11:25] <jepler> I assume you deliberately rewrote or amended a commit on that branch?
[14:11:47] <jthornton> yes, I though I reverted it back by one commit to fix my copy and paste error
[14:12:19] <jepler> you can add --force to the rest of the flags
[14:13:49] <jthornton> john@cave:~/emc-dev/src$ git push --set-upstream origin 2.7_Docs --force --dry-run
[14:13:49] <jthornton> To ssh://jthornton@git.linuxcnc.org/git/emc2.git
[14:13:49] <jthornton> + 20fd28b...7158ed2 2.7_Docs -> 2.7_Docs (forced update)
[14:13:49] <jthornton> Would set upstream of '2.7_Docs' to '2.7_Docs' of 'origin'
[14:14:09] <jthornton> is this correct?
[14:15:31] <jepler> if 20fd28b...7158ed2 is intended, then yes
[14:15:48] <jepler> and next time, you won't need to "--set-upstream origin"
[14:18:48] <jthornton> 7158ed2 is the last commit, the one I fixed but I don't see 20fd28b anywhere
[14:19:54] <jepler> 20fd28b no longer is in the history of your branch 2.7_Docs
[14:20:23] <jthornton> so that is the one I reverted locally
[14:21:52] <jthornton> ok, I see 20fd28b on git.linuxcnc.org and yes that is the one to remove
[14:22:17] <jepler> summary of commits being added: git log --oneline 20fd28b..7158ed2
[14:22:29] <jepler> summary of commits being removed: 7158ed2..20fd28b
[14:27:43] -!- MrFahrenheit has quit [Quit: That's all]
[14:29:13] -!- micges has quit [Ping timeout: 264 seconds]
[14:29:58] -!- MrFahrenheit has quit [Changing host]
[14:30:49] -!- gromits has quit [Ping timeout: 256 seconds]
[14:34:52] -!- ivansanchez has quit []
[14:42:28] <mozmck> I'm trying to convert a HAL file to HALTCL. When I run using the HAL file, I get a message like this: hm2_eth: WARNING: Unable to restrict other access to the hm2-eth device.
[14:42:59] <mozmck> But with the HALTCL file it gives me this: {hm2_eth board_ip="10.10.10.10"}: dlopen: /usr/lib/linuxcnc/modules/{hm2_eth board_ip="10.10.10.10"}.so: cannot open shared object file: No such file or directory
[14:45:08] -!- HSD has quit [Quit: Leaving]
[14:50:18] -!- maximilian_h1 [maximilian_h1!~bonsai@dslb-178-010-246-048.178.010.pools.vodafone-ip.de] has joined #linuxcnc-devel
[14:50:59] <cradek> {...} is the way you quote a string in tcl, very much like single quote in bash
[14:51:47] <cradek> clearly something about the quoting is wrong
[14:51:51] <mozmck> Here is the loadrt line: loadrt $::HOSTMOT2(DRIVER) config=$::HOSTMOT2(CONFIG)
[14:52:34] <cradek> that doesn't seem like the guilty line
[14:52:37] -!- maximilian_h has quit [Ping timeout: 264 seconds]
[14:55:06] -!- danylevskyi has quit [Remote host closed the connection]
[14:56:52] <jepler> and I assume the value of $::HOSTMOT2(DRIVER) is hm2_eth board_ip="10.10.10.10"
[14:57:02] <jepler> so Tcl invokes loadrt with two arguments
[14:57:22] <mozmck> Here is a simplified haltcl file that exhibits the same behaviour:
http://pastebin.com/vbRMCYrs
[14:57:41] <jepler> the first argument is supposed to be the name of the component to be loaded, but it is not -- it is actually the name of the component to be loaded and a parameter to pass it
[14:57:46] <mozmck> DRIVER=hm2_eth board_ip="10.10.10.10"
[15:01:08] <mozmck> I see. So I moved the board_ip argument to the config string, and now it gives a different error, but looks like it did try to load hm2_eth this time.
[15:01:49] <jepler> % set command echo
[15:01:50] <jepler> echo
[15:01:50] <jepler> % set argument hi
[15:01:50] <jepler> hi
[15:01:50] <jepler> % exec $command $argument
[15:01:51] <jepler> hi
[15:01:59] <jepler> exec works a bit like loadrt, enough to illustrate the point I'm trying to make
[15:02:06] <jepler> so that works ^^^
[15:02:15] <jepler> % set command {echo hi}
[15:02:15] <jepler> echo hi
[15:02:22] <jepler> % exec $command
[15:02:22] <jepler> couldn't execute "echo hi": no such file or directory
[15:02:31] <mozmck> Ok, that makes sense.
[15:02:32] <jepler> ^^^ this doesn't, because the first argument to 'exec' is expected to be the command itself
[15:02:41] <mozmck> yes
[15:02:44] <jepler> % exec {*}$command
[15:02:44] <jepler> hi
[15:03:08] <jepler> The special notation {*}$foo expands the list $foo into its constituent parts and makes each part a separate argument in the command
[15:03:30] <jepler> % set argument hitoo
[15:03:31] <jepler> hitoo
[15:03:31] <jepler> % exec {*}$command $argument
[15:03:31] <jepler> hi hitoo
[15:03:46] <jepler> other arguments can follow
[15:03:59] <mozmck> Interesting - thanks!
[15:04:14] <jepler> bbl
[15:04:15] <mozmck> tcl is a bit strange starting out
[15:04:27] <jepler> it is a bit strange 20 years later
[15:04:33] <mozmck> :)
[15:04:47] <jepler> it doesn't help that with respect to loadrt and loadusr there are additional layers each of which may also do argument parsing
[15:05:20] <mozmck> do either of those return a value that can be checked in tcl?
[15:12:14] -!- gromits [gromits!~chatzilla@c-107-5-193-94.hsd1.mi.comcast.net] has joined #linuxcnc-devel
[15:22:14] -!- moorbo has quit [Remote host closed the connection]
[15:33:40] -!- dan2k3k4k5 has quit [Ping timeout: 244 seconds]
[15:35:43] -!- norias has quit [Ping timeout: 265 seconds]
[15:35:45] -!- automata has quit [Ping timeout: 240 seconds]
[15:38:08] -!- moorbo has quit [Remote host closed the connection]
[15:38:38] amnesic is now known as amnesic_away
[15:40:42] <jthornton> <jepler> summary of commits being removed: 7158ed2..20fd28b
[15:40:55] <jthornton> are you saying that 20fd28b will be removed? I'm confused now...
[15:41:30] <jthornton> I mean 7158ed2
[15:42:50] <jthornton> I don't understand what this is saying 7158ed2..20fd28b and 20fd28b..7158ed2
[15:59:22] -!- Akex_ has quit [Quit: Connection closed for inactivity]
[15:59:24] -!- radish has quit [Ping timeout: 265 seconds]
[16:03:06] -!- quiqua has quit [Quit: quiqua]
[16:06:48] <jepler> jthornton: those are things you can type to git log
[16:07:29] <jepler> X..Y refers of the range of commits that are in the history of Y, but not in the history of X
[16:07:34] -!- maximilian_h1 has quit [Ping timeout: 256 seconds]
[16:07:38] <jepler> usually that's a lot like saying "commits from X to Y"
[16:08:10] <jepler> so for instance, this is a summary of commits from release 2.6.7 to release 2.6.8: git log --oneline v2.6.7..v2.6.8
[16:08:25] -!- maximilian_h [maximilian_h!~bonsai@dslb-178-002-086-023.178.002.pools.vodafone-ip.de] has joined #linuxcnc-devel
[16:08:38] <jepler> in this case I was suggesting how to use git log to show the commits that would be removed from history when you do this push --force
[16:09:10] -!- podarok has quit [Remote host closed the connection]
[16:17:29] -!- pcw_home has quit [Remote host closed the connection]
[16:23:23] -!- skunkworks_ [skunkworks_!~skunkwork@68-115-41-210.static.eucl.wi.charter.com] has joined #linuxcnc-devel
[16:24:08] <skunkworks_> pcw_home, could a firmware for the 5i25 be made with encoder counters from pins 1 -> 8?
[16:24:31] -!- pcw_home [pcw_home!~chatzilla@c-50-143-148-115.hsd1.ca.comcast.net] has joined #linuxcnc-devel
[16:25:01] -!- rob_h has quit [Ping timeout: 264 seconds]
[16:30:21] -!- per_sonne__ has quit [Quit: Be back later ...]
[16:32:58] -!- md-2 has quit [Quit: Leaving...]
[16:34:48] <skunkworks_> heh
[16:34:50] <skunkworks_> pcw_home, could a firmware for the 5i25 be made with encoder counters from pins 1 -> 8?
[16:35:19] <Tom_itx> don't see why not
[16:35:41] <Tom_itx> unless there's a limit on instances
[16:37:11] <Tom_itx> how many encoders do you need?
[16:37:37] <Tom_itx> there are 3 pins per encoder i think... A B & I
[16:38:46] -!- r0ute has quit [Read error: Connection timed out]
[16:40:29] -!- Tecan has quit [Ping timeout: 265 seconds]
[16:45:14] -!- dirty_d has quit [Quit: Leaving]
[16:45:34] <pcw_home> Sure (encoders could only have 'A' if you just need a counter or just A,B if you dont need index)
[16:47:42] <cradek> skunkworks_: do you mean 2-9?
[16:47:42] -!- syyl_ws has quit [Quit: Verlassend]
[16:49:23] -!- gromits has quit [Ping timeout: 246 seconds]
[16:50:15] <mozmck> yuck, my dc7800 seemed to work great with the testing, but now running real hardware I'm getting realtime errors and watchdog biting
[16:50:34] <Tom_itx> pcw_home is there a limit on instances?
[16:56:51] -!- Computer_barf has quit [Ping timeout: 244 seconds]
[16:58:02] <pcw_home> for most modules the limit is 64 instances
[16:58:12] -!- BellinganRoy has quit [Quit: Konversation terminated!]
[17:01:14] <pcw_home> watchdog biting sounds like communications were lost or something global went bad (power?)
[17:17:15] <skunkworks_> cradek, that would be fine too... I usually start counting at strobe though (1)
[17:17:40] <skunkworks_> for a normal printer port.
[17:17:54] <mozmck> pcw_home: hmm, power glitch? I don't think so but I can check that some more.
[17:18:26] <mozmck> I have a usb->rs485 hub that I'm talking to every 20ms - I wonder if that could be causing problems?
[17:19:29] <skunkworks_> I would need a and b
[17:23:08] -!- moorbo has quit [Remote host closed the connection]
[17:23:37] <pcw_home> yeah almost any pinout is possible
[17:25:24] <pcw_home> I'm using a USB mouse on my DC7800 and that doesn't seem to cause any issues
[17:25:36] <mozmck> Hmm, me too.
[17:26:03] <mozmck> I set up and ran with Axis first without my usb hub traffic, and did not have any realtime delays
[17:27:08] <pcw_home> probably have to bisect the problem
[17:27:15] <mozmck> One difference is that this usb traffic results in a bunch of hal pins getting updated and read, and the the gui responds to them.
[17:27:19] <mozmck> bisect?
[17:27:38] <pcw_home> binary serach
[17:27:43] <pcw_home> search
[17:27:44] <mozmck> isn't that a git thing?
[17:27:55] <pcw_home> its a debug thing
[17:28:03] <mozmck> you mean cut out stuff until it quits faulting?
[17:28:56] <pcw_home> well, yes but that doesn't sound so fancy-dan
[17:29:24] <mozmck> haha! I know how to do that, but don't always know the fancy-dan words for things :)
[17:29:39] <mozmck> guess I'm not completely buzz-word compliant
[17:30:44] <mozmck> Looks like I need to figure out a way to reset the has_bit pin after a watchdog bites when I bring linuxcnc out of estop
[17:34:21] <pcw_home> I would not expect the watchdog to bite unless things have gone very bad
[17:35:18] -!- f1oat5 [f1oat5!~f1oat@AMontsouris-553-1-29-61.w92-151.abo.wanadoo.fr] has joined #linuxcnc-devel
[17:35:49] -!- per_sonne__ has quit [Ping timeout: 250 seconds]
[17:37:19] <mozmck> watchdog.timeout_ns is set to 25000000
[17:37:34] <KGB-linuxcnc> 03John Thornton 052.7_Docs 7158ed2 06linuxcnc 10(5 files in 2 dirs) add collapsing/expanding lists to html docs * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=7158ed2
[17:43:33] <skunkworks_> pcw_home, when you have some time. I want to be able to plug a parallel port into the 5i25 for some logging.
[17:43:48] <skunkworks_> no rush
[17:44:33] -!- skorasaurus has quit [Ping timeout: 240 seconds]
[17:45:12] <pcw_home> sure so a,b starting at 2 probably as cradek suggested to log step/dir?
[17:45:47] <pcw_home> 2 A0
[17:45:49] <pcw_home> 3 B0
[17:45:50] <pcw_home> 4 A1
[17:45:52] <pcw_home> 5 B1 etc
[17:46:17] <skunkworks_> yes
[17:46:20] <skunkworks_> exactly
[17:46:53] <pcw_home> I'll do that when I get a chance
[17:47:06] <skunkworks_> Thank you
[17:48:01] -!- moorbo has quit [Remote host closed the connection]
[18:09:39] -!- BellinganRoy has quit [Quit: Konversation terminated!]
[18:23:26] <cradek> do you mean step/dir or quadrature?
[18:24:01] <cradek> if it's step/dir I think pcw has to match the pinout?
[18:33:09] <jepler> not sure I'm looking at the right vhdl file, but yes I think so
[18:33:36] <skunkworks_> well - I can configure the sending machine to whatever the pinout is.. (step/dir or maybe quadature..)
[18:34:06] <cradek> oh ok
[18:34:21] <cradek> ... we don't know what your sending machine is
[18:34:46] <jepler> fwiw looks like countermode = 1 is up/down mode, with B as direction and A as step (qcountersfp.vhd)
[18:36:14] -!- gromits [gromits!~chatzilla@c-107-5-193-94.hsd1.mi.comcast.net] has joined #linuxcnc-devel
[18:40:03] <skunkworks_> It could be linuxcnc..
[18:40:31] <skunkworks_> most things I would be testing - the printer port pinout is configureable.
[18:41:09] <skunkworks_> right - I have used the mesa encoder counter to count step/dir signals.
[18:41:22] <skunkworks_> works quite well :)
[18:45:29] -!- norias has quit [Quit: Leaving]
[18:45:31] -!- b_b has quit [Remote host closed the connection]
[18:52:06] -!- Computer_barf has quit [Ping timeout: 252 seconds]
[18:59:33] <Tom_itx> so this is just for a test?
[19:06:04] <skunkworks_> yes
[19:06:38] -!- gromits has quit [Ping timeout: 256 seconds]
[19:06:38] <skunkworks_> so I can do stuff like
https://www.youtube.com/watch?v=HfU4uyGgLZw
[19:06:56] <skunkworks_> I was using the 7i80 but that is going to be used for a converstion.
[19:09:20] <mozmck> I found I can cause a realtime delay in axis if I run my utility which talks to my usb hub at the same time.
[19:10:21] <Tom_itx> skunkworks what pin file do you have loaded currently?
[19:10:32] <mozmck> In the BIOS I can set the IRQ number for each PCI device, but it looks like there are only 3 available and the usb and ethernet ports use 2 of them, and sata uses the other.
[19:11:58] <skunkworks_> Tom_itx, I don't know in the 5i25..
[19:12:01] <mozmck> If USB and ethernet are using the same IRQ, couldn't that cause delays?
[19:16:54] <Tom_itx> skunkworks you just need A & B inputs?
[19:17:13] <skunkworks_> On a side note - revisiting the rolling average componant I made. Is there a way to 'smooth out' zero crossing tranissions?
[19:18:28] <skunkworks_> I was calculating accelleration by boxcar averaging over 60us or so..
[19:19:04] <skunkworks_> wait - more like 60ms..
[19:20:03] <skunkworks_> the rolling average looked a lot better Vel -> rolling average -> ddt.
[19:20:25] <skunkworks_> but when the velocity crossed zero you got quite a bump. Let me find a picture.
[19:22:37] Jymmm is now known as MrAsshole
[19:23:25] MrAsshole is now known as Jymmm
[19:24:49] -!- moorbo has quit [Remote host closed the connection]
[19:25:33] -!- per_sonne__ has quit [Ping timeout: 276 seconds]
[19:25:45] <JT-Shop> buildbot seems somewhat happy
[19:27:14] -!- r0ute has quit [Ping timeout: 265 seconds]
[19:27:18] <mozmck> Another thing I'm seeing which seems odd: after a watchdog bite, when I reset estop and set the watchdog has_bit pin to false, if I try to jog I get this error: Cannot unhome while moving, joint 1
[19:27:35] <mozmck> I can only move again by re-starting linuxcnc
[19:27:52] -!- dan2k3k4 has quit [Ping timeout: 255 seconds]
[19:31:15] <skunkworks_> pcw_home, could a firmware for the 5i25 be made with encoder counters from pins 1 -> 8?
[19:31:18] <skunkworks_> heh
[19:31:22] <Tom_itx> skunkworks is 4 encocers enough?
[19:31:32] <skunkworks_> I mean
http://imagebin.ca/v/22PTVKng92NW
[19:31:36] <Tom_itx> AB AB AB AB
[19:31:36] <skunkworks_> yes
[19:31:38] <skunkworks_> yes
[19:31:45] <Tom_itx> starting at 1?
[19:31:46] <skunkworks_> starting at pin 2?
[19:31:55] <skunkworks_> 2 is more standard...
[19:31:58] <Tom_itx> what io is pin 2... i don't have a 5i25
[19:32:09] <skunkworks_> oh. I don't know..
[19:34:04] <skunkworks_> the manual says 2 is io2, 3 is io4, 4 is io6 and so on.
[19:34:31] <skunkworks_> if that is what works
[19:35:38] <Tom_itx> hmm
[19:35:53] <Tom_itx> one sec..
[19:37:40] <Tom_itx> http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/sherline/bitfiles/PIN_7I76_skunktest.vhd
[19:37:48] <Tom_itx> see if that's close to what you want
[19:38:06] <skunkworks_> Cool - thanks. I will try it tomorrow.
[19:38:14] <Tom_itx> i haven't compiled it yet...
[19:38:51] <Tom_itx> you may need a GPIO between each if the pinout is what you say
[19:39:16] <Tom_itx> if you want them pin aligned
[19:39:55] <Tom_itx> i'm not quite done with that btw... just posted for you to view the layout
[19:40:13] -!- eventor has quit [Ping timeout: 256 seconds]
[19:41:17] <skunkworks_> righyt - if I understand it - there would have to be a gpio in the odd io
[19:41:43] <Tom_itx> lemme fix it real quick
[19:41:50] <Tom_itx> then i'll compile it
[19:42:02] <Tom_itx> starting with IO2?
[19:42:32] <mozmck> I still can't get my tcl to work. I tried this: loadrt $::HOSTMOT2(DRIVER) board_ip=$::HOSTMOT2(IPADDR) config=$::HOSTMOT2(CONFIG)
[19:43:07] <mozmck> in my ini file: IPADDR="10.10.10.10"
[19:43:37] <mozmck> and I get an error while executing: "hal loadrt hm2_eth board_ip={\"10.10.10.10\"} {config={"num_encoders=0 num_pwmgens=0 num_stepgens=6"}}"
[19:43:56] <cradek> wow look at all those curlies and quotes
[19:44:07] <cradek> try removing the quotes in the inifile
[19:44:14] -!- Camaban has quit [Read error: Connection reset by peer]
[19:44:36] <mozmck> I know if I do that for the config string it barfs.
[19:44:45] <mozmck> let me try on the ipaddr string
[19:45:06] <cradek> unfortunately I bet you're going to have to understand the problem :-/
[19:45:19] <cradek> and it might take a tcl wizard
[19:45:37] <mozmck> yes, which I'm not even hardly a newbie yet :-(
[19:45:47] <mozmck> hal loadrt hm2_eth board_ip=10.10.10.10 {config={"num_encoders=0 num_pwmgens=0 num_stepgens=6"}}
[19:46:04] <mozmck> after removing the quotes in the inifile
[19:46:14] <mozmck> from IPADDR
[19:46:18] <cradek> jepler's information about {*}$ was both enlightening and offputting
[19:46:25] <mozmck> I'll play with it more.
[19:46:39] <cradek> ok so now that part sure looks right
[19:47:33] <cradek> you were getting tcl-style {} quoting to preserve the quotes, but I don't know why the doublequotes got backslashified
[19:48:00] <Tom_itx> skunkworks, have a look at that one... that puts the qcount on IO2 4 6 8 10 12 14 16
[19:48:02] <cradek> seems like maybe if you add the {*} thing it'll undo one level of tcl-style quoting
[19:48:12] <mozmck> hmm, I'll try that.
[19:48:12] <cradek> <- not a wizard
[19:48:43] <cradek> oh wait, it's hal loadrt, as in hal is a tcl command? maybe you need the tcl-style quoting
[19:49:20] <cradek> I think you're getting tcl-quoted twice and you want it to be once
[19:49:40] <cradek> you're getting one when reading the ini file, and another when constructing the "hal" tcl command
[19:49:53] <mozmck> I don't know. I'm trying to convert a hal file to haltcl, so hopefully I can catch some errors and give a meaningful message.
[19:51:25] <mozmck> I'll play with it some more. tanks.
[19:51:29] <mozmck> thanks even!
[19:51:38] <cradek> tanks!!
[19:51:47] * cradek backs slowly away from texas
[19:52:13] <mozmck> haha! just don't try to come shoot something up here ;)
[19:56:37] -!- skunkworks_ has quit [Read error: Connection reset by peer]
[19:57:19] -!- rob_h [rob_h!~robh@90.206.254.250] has joined #linuxcnc-devel
[20:00:04] <Tom_itx> skunkworks, i'll post the bitfile up there when it's done compiling
[20:02:12] -!- gromits [gromits!~chatzilla@c-107-5-193-94.hsd1.mi.comcast.net] has joined #linuxcnc-devel
[20:06:48] -!- micges [micges!~micges@afr75.neoplus.adsl.tpnet.pl] has joined #linuxcnc-devel
[20:14:22] -!- BellinganRoy has quit [Quit: Konversation terminated!]
[20:16:05] <Tom_itx> skunkworks,
http://tom-itx.no-ip.biz:81/~webpage/cnc/skunkworks/
[20:33:27] -!- fogl has quit [Ping timeout: 265 seconds]
[20:33:34] -!- ve7it [ve7it!~LawrenceG@S01060014d19d0b68.pk.shawcable.net] has joined #linuxcnc-devel
[20:39:05] * JT-Shop thinks jepler is going to beat me over the head with git commands until I quit using git gui :)
[20:53:05] <Tom_itx> ok i think i got it right...
[20:53:47] <Tom_itx> should put the encoders on pins 2 3 4 5 6 7 8 9
[20:57:25] -!- sumpfralle has quit [Ping timeout: 264 seconds]
[20:58:39] -!- sumpfralle1 has quit [Ping timeout: 244 seconds]
[21:05:22] -!- FinboySlick has quit [Quit: Leaving.]
[21:07:17] -!- acdha has quit [Ping timeout: 265 seconds]
[21:14:15] -!- Deejay has quit [Quit: bye]
[21:16:01] <skunkworks> Tom_itx: thank you - will test it tomorrow
[21:16:01] -!- per_sonne__ has quit [Ping timeout: 264 seconds]
[21:19:28] -!- gromits has quit [Ping timeout: 255 seconds]
[21:24:59] -!- gromits [gromits!~chatzilla@c-107-5-193-94.hsd1.mi.comcast.net] has joined #linuxcnc-devel
[21:34:41] -!- XXCoder has quit [Ping timeout: 256 seconds]
[21:35:08] -!- eventor [eventor!~eventor@p5DDD41CE.dip0.t-ipconnect.de] has joined #linuxcnc-devel
[22:00:39] -!- gromits has quit [Ping timeout: 245 seconds]
[22:01:46] -!- fogl has quit [Ping timeout: 255 seconds]
[22:04:09] -!- f1oat5 has quit [Ping timeout: 276 seconds]
[22:07:25] amnesic_away is now known as amnesic
[22:09:08] amnesic is now known as amnesic_away
[22:09:10] -!- Camaban has quit [Read error: No route to host]
[22:11:21] -!- Miner_48er has quit [Quit: Leaving]
[22:11:48] amnesic_away is now known as amnesic
[22:12:47] -!- jvrousseau has quit [Quit: Textual IRC Client: www.textualapp.com]
[22:15:25] -!- shapeoko-noob has quit [Ping timeout: 246 seconds]
[22:19:05] -!- eventor has quit [Ping timeout: 276 seconds]
[22:26:53] -!- mhaberler has quit [Quit: mhaberler]
[22:28:41] -!- moorbo has quit [Ping timeout: 264 seconds]
[22:29:07] -!- gromits [gromits!~chatzilla@c-68-49-173-190.hsd1.mi.comcast.net] has joined #linuxcnc-devel
[22:34:06] <kwallace> I just discovered an almost local maker space in my neck of the woods,
http://myinnovationlab.org/ . I
[22:35:21] <kwallace> I'm thinking it would be nice to have a cheap demo mill to do a presentation. Does anyone favorite base machine to build a mill?
[22:36:01] <kwallace> opps ...have a favorite..
[22:38:26] <JT-Shop> kwallace, did you see the link to the code the other day?
[22:42:42] <kwallace> JT-Shop, yes I did, thank you. It turns out ConfigParser doesn't like leading spaces which my app config files have.
[22:43:19] <JT-Shop> well that sucks
[22:43:49] <kwallace> Cheap but worth it?
http://www.ebay.com/itm/140625033164
[22:45:23] <JT-Shop> I guess that depends on what you expect...
[22:45:52] <kwallace> JT-Shop, I think it might be better if I have a large string that has the base config file contents in my python script, then modify it and write a new file each time.
[22:46:29] <kwallace> Rather than read an existing file, parse and rewrite.
[22:47:03] <JT-Shop> what are you doing?
[22:48:24] <kwallace> The parsing is for adding dxf2gcode to my conversational screen. A lot of the parameters need to be passed in two config files.
[22:48:59] <kwallace> The mill is for showing off LinuxCNC to the maker space people.
[22:49:25] <kwallace> My smallest CNC is 3,000 lbs.
[22:51:23] <JT-Shop> doesn't dxf2gcode just need the file?
[22:55:45] <kwallace> I'm not fully up to speed with dxf2gcode, but I think it goes like - open qcad and draw paths on different layers, the layer title has the tool information, open dxf2gcode and set the path direction and cutter comp and create g-code, the header and footers are controlled by the config files.
[22:56:48] <JT-Shop> ah a bit complicated then
[22:57:05] <kwallace> What I need is a simple one tool with information coming from my app screen with my own header and footer, so it gets complicated.
[22:57:31] -!- mhaberler_ has quit [Client Quit]
[22:57:51] <kwallace> I also need to decide how much effort to put into it.
[22:58:57] -!- mhaberler has quit [Ping timeout: 240 seconds]
[23:00:30] <kwallace> Currently, the dxf2gcode GUI pops up from my screen then returns when I close dxf2gcode, then I use Post to File. It would be better to embed dxf2gcode in my screen.
[23:01:11] <kwallace> With enough effort I think it could be done.
[23:01:18] <JT-Shop> I guess the only reason you need dxf2gcode is the profiles?
[23:02:44] <kwallace> So far we only do circular and rectangular profiles and bosses.
[23:04:51] <kwallace> I have used dxf2gcode in the past to do more complex shapes, but now I have to do it in a way that an average joe can manage without a degree in science.
[23:05:53] -!- per_sonne__ has quit [Ping timeout: 276 seconds]
[23:17:47] -!- patrickarlt has quit [Ping timeout: 265 seconds]
[23:19:11] -!- Rickta59 has quit [Ping timeout: 248 seconds]
[23:20:33] -!- archivist_herron has quit [Ping timeout: 240 seconds]
[23:21:12] <JT-Shop> if your just doing simple shapes then you don't need dxf2gcode it just adds complexity to the job
[23:23:14] amnesic is now known as amnesic_away
[23:27:21] amnesic_away is now known as amnesic
[23:30:35] <kwallace> Here is an example I have been playing with:
http://wallacecompany.com/dxf2gcode/
[23:37:46] -!- gonzo_nb has quit [Remote host closed the connection]
[23:39:22] -!- Akex_ has quit [Quit: Connection closed for inactivity]