#linuxcnc-devel | Logs for 2013-09-07

Back
[00:00:08] -!- PCW has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]]
[00:06:10] -!- Nick001-shop has quit [Remote host closed the connection]
[00:26:15] -!- BJfreeman has quit [Quit: had a good time]
[00:28:18] -!- rob_h has quit [Ping timeout: 264 seconds]
[01:06:38] -!- asdfasd1 has quit [Ping timeout: 240 seconds]
[01:08:21] -!- morlenxus [morlenxus!~morlenxus@enlightenment/developer/morlenxus] has joined #linuxcnc-devel
[01:11:02] -!- morlenxus_ has quit [Ping timeout: 240 seconds]
[01:16:46] -!- andypugh [andypugh!~andy2@cpc16-basl9-2-0-cust685.20-1.cable.virginmedia.com] has parted #linuxcnc-devel
[01:18:28] -!- Valen has quit [Quit: Leaving.]
[01:18:30] -!- skorasaurus has quit [Quit: Elvis has left the building.]
[01:21:26] -!- c-bob has quit [Ping timeout: 240 seconds]
[01:55:56] -!- tjb11 has quit [Quit: Leaving.]
[02:03:39] -!- joe9 has quit [Remote host closed the connection]
[02:05:43] -!- morlenxus has quit [Disconnected by services]
[02:05:49] -!- morlenxus_ [morlenxus_!~morlenxus@f055100086.adsl.alicedsl.de] has joined #linuxcnc-devel
[02:06:57] -!- Servos4ever has quit [Quit: ChatZilla 0.9.90.1 [SeaMonkey 2.20/20130803195701]]
[02:10:07] <kwallace1> It looks like for BBB there is a component [PRUCONF](Driver) that has functions in it for stepgen, pwm and others? Then a GPIO component for setting pins. How does one figure out how the physical pins are mapped?
[02:13:03] <kwallace1> I guess the GPIO is set according to this: http://letsmakerobots.com/files/userpics/u19048/B_3PinOut3.png
[02:51:15] -!- AR_ has quit [Ping timeout: 240 seconds]
[03:09:50] -!- tmcw has quit [Ping timeout: 264 seconds]
[03:18:16] -!- i_tarzan has quit [Ping timeout: 240 seconds]
[04:05:07] -!- someone972 has quit [Ping timeout: 250 seconds]
[04:10:20] -!- FinboySlick has quit [Quit: Leaving.]
[04:11:15] -!- tmcw has quit [Ping timeout: 245 seconds]
[04:42:30] -!- tmcw has quit [Ping timeout: 264 seconds]
[04:59:50] -!- djinni` has quit [Ping timeout: 240 seconds]
[04:59:50] -!- KyleYankan has quit [Ping timeout: 240 seconds]
[04:59:50] -!- mattswe has quit [Ping timeout: 240 seconds]
[04:59:51] -!- toastydeath has quit [Read error: Connection reset by peer]
[05:01:02] -!- krusty_ar has quit [Quit: No Ping reply in 180 seconds.]
[05:01:27] <KGB-linuxcnc> 03john 05unified-build-candidate-3 755c41f 06linuxcnc 10src/ 10Makefile 10hal/Submakefile 10rtapi/.gitignore 10rtapi/Submakefile * Fix make -j16 build breakage caused by multiple problems
[05:02:57] -!- Fox_Muldr has quit [Ping timeout: 276 seconds]
[05:10:57] -!- zeke__ has quit [Quit: Page closed]
[05:13:09] -!- tmcw has quit [Ping timeout: 256 seconds]
[05:14:16] <linuxcnc-build> build #1309 of hardy-amd64-sim is complete: Failure [4failed install-missing-build-dependencies] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/hardy-amd64-sim/builds/1309 blamelist: dummy, John Morris <john@zultron.com>
[05:14:27] <linuxcnc-build> build #1305 of hardy-i386-realtime-rip is complete: Failure [4failed install-missing-build-dependencies] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/hardy-i386-realtime-rip/builds/1305 blamelist: dummy, John Morris <john@zultron.com>
[05:14:55] <linuxcnc-build> build #1307 of hardy-i386-sim is complete: Failure [4failed install-missing-build-dependencies] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/hardy-i386-sim/builds/1307 blamelist: dummy, John Morris <john@zultron.com>
[05:27:19] -!- gimps has quit [Ping timeout: 240 seconds]
[05:47:10] -!- kwallace1 [kwallace1!~kwallace@smb-160.sonnet.com] has parted #linuxcnc-devel
[05:52:52] <linuxcnc-build> build #1303 of checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/checkin/builds/1303 blamelist: dummy, John Morris <john@zultron.com>
[06:14:01] -!- tmcw has quit [Ping timeout: 240 seconds]
[06:46:14] -!- rob_h [rob_h!~rob_h@94.8.129.239] has joined #linuxcnc-devel
[07:15:43] -!- tmcw has quit [Ping timeout: 260 seconds]
[08:17:19] -!- tmcw has quit [Ping timeout: 260 seconds]
[08:19:18] -!- uw has quit [Ping timeout: 264 seconds]
[08:48:30] -!- tmcw has quit [Ping timeout: 264 seconds]
[09:07:26] -!- malgar has quit [Ping timeout: 264 seconds]
[09:29:42] -!- KimK_1 has quit [Remote host closed the connection]
[09:31:16] -!- pjm_ has quit [Read error: Connection reset by peer]
[09:42:33] -!- malgar has quit [Read error: Connection reset by peer]
[09:58:57] -!- toastyde1th has quit [Read error: Connection reset by peer]
[10:20:17] -!- tmcw has quit [Ping timeout: 256 seconds]
[11:13:50] -!- Lathe_newbie has quit [Ping timeout: 240 seconds]
[11:18:50] -!- Lathe_newbie| has quit [Ping timeout: 264 seconds]
[11:24:29] -!- dosas has quit [Quit: Leaving]
[11:52:47] -!- tmcw has quit [Ping timeout: 260 seconds]
[12:23:51] -!- stsydow has quit [Remote host closed the connection]
[12:53:45] -!- tmcw has quit [Ping timeout: 245 seconds]
[12:59:38] -!- dosas has quit [Remote host closed the connection]
[13:08:32] -!- Thetawaves_ has quit [Quit: This computer has gone to sleep]
[13:23:55] -!- cevad has quit [Read error: Connection reset by peer]
[13:35:27] -!- arvind_khadri has quit [Read error: Connection reset by peer]
[13:36:40] -!- gimps has quit [Changing host]
[13:56:02] -!- tmcw has quit [Ping timeout: 264 seconds]
[14:11:15] -!- dosas has quit [Client Quit]
[14:18:55] -!- kwallace1 [kwallace1!~kwallace@smb-175.sonnet.com] has joined #linuxcnc-devel
[14:26:16] -!- tmcw has quit [Ping timeout: 264 seconds]
[14:48:59] -!- zzolo has quit [Quit: zzolo]
[14:53:52] -!- Lathe_newbie has quit [Ping timeout: 264 seconds]
[14:57:25] -!- kwallace1 has quit [Read error: Connection reset by peer]
[14:58:06] -!- kwallace [kwallace!~kwallace@smb-152.sonnet.com] has joined #linuxcnc-devel
[15:16:15] -!- klick0 has quit [Ping timeout: 245 seconds]
[15:16:52] -!- mle has quit [Excess Flood]
[15:32:07] -!- syyl has quit [Ping timeout: 260 seconds]
[15:35:02] -!- andypugh [andypugh!~andy2@cpc16-basl9-2-0-cust685.20-1.cable.virginmedia.com] has joined #linuxcnc-devel
[16:06:32] -!- ktchk [ktchk!~eddie6929@n219078190079.netvigator.com] has joined #linuxcnc-devel
[16:10:37] <pcw_home> andypugh: how about a bigger string like:
[16:10:39] <pcw_home> bits34unused2graycount12unused2binturns12statusa1crc5
[16:12:05] -!- malgar has quit [Ping timeout: 245 seconds]
[16:12:23] <andypugh> The only problem I see with that is that the hm2 config string tends to end up quite long anyway, and I don't think it can wrap. I admit that isn\t aparticularly strong reason.
[16:13:25] <andypugh> As a first step along this road, the smart-serial encoder counters maybe about to grow a simulated index
[16:14:26] <andypugh> (the other option is that I invent a new smart-serial pin type.
[16:15:10] <andypugh> Version 1.8 of the 8i73 manual doesn't mention DATA_TYPE 0x08 (encoder) by the way, despite the 7i73 having ome.
[16:15:19] <andypugh> (some)
[16:16:08] <pcw_home> We will have an encoder index on some remotes as well
[16:16:24] -!- MarkusBec has quit [Remote host closed the connection]
[16:16:39] <andypugh> Is that a different DATA_TYPE code?
[16:16:53] <pcw_home> It probably will have to be
[16:17:15] <andypugh> Any spec?
[16:17:41] <andypugh> Shall I assume DATA_TYPE 0x09 or is that taken?
[16:17:49] <pcw_home> not yet but we have a remote spindle control sserial thingy that has encoder built in
[16:18:29] <andypugh> Any plans for smart-serial absolute-encoder interfaces?
[16:19:11] <pcw_home> 0x09 is likely but we have to decide what to do about index.latched count,index enable and crew
[16:19:57] <andypugh> Indeed.
[16:20:26] <pcw_home> probably, Smart serial thats built into cards can run at 10 MB/s or higher so more data is possible
[16:22:47] <pcw_home> we are aslo adding new RX and TX RPCs so the RX data phase can be separate from the TX phase
[16:22:48] <pcw_home> this allows more up-to-date RX data since the RX transfer cycle can now be started by the timer
[16:22:50] <pcw_home> (same situation fo SSI, BISS,SPI etc)
[16:22:52] <andypugh> If I want to re-use the smart-serial bit-stream parsing and variable pin creation scheme for the absolute encoders (and that seems to make a lot of sense) then either the existing encoder gains a simulated index, or we have a different DATA_TYPE for abs encoders (and then a different one again for encoders with an actual index)
[16:23:39] <pcw_home> well there are lots (255-8) of available data types...
[16:24:01] <andypugh> Indeed, we just need to agree on them :-)
[16:24:50] -!- TheFinalTac has quit [Ping timeout: 264 seconds]
[16:25:31] <pcw_home> It is a nice way to request special handling though i wish we had spilt the dat format from the driver data handling hint
[16:25:47] <andypugh> absolute encoders need a simulated index for LinuxCNC to undestand them (for spindle-synchronised moves and index-homing).
[16:25:55] <pcw_home> Yes
[16:26:26] <pcw_home> and simulated index is a nice add on for all encoders as long as you understand the limitations
[16:26:32] <andypugh> I might as well add a simulated index to the existing encoders
[16:26:40] <pcw_home> Ha
[16:26:50] <andypugh> It actually makes my life easier.
[16:26:58] <andypugh> Pin, Param or hidden?
[16:27:39] -!- klick0 has quit [Ping timeout: 240 seconds]
[16:28:54] <pcw_home> param to enable?
[16:30:24] <andypugh> I have an unused param in the generic sserial structure, I will use that and pre-load it with data_length^2 in sserial. For abs encoders I can't decide if folk need to set the param themselves or whether the loadrt string parser should tweak it afterwards.
[16:30:51] <andypugh> Sorry, to set how often the index is triggered.
[16:31:32] <andypugh> As in how many counts per index
[16:32:22] <andypugh> The sserial encoder is also going to have to gain a scale parameter too, though that is no bad thing.
[16:40:03] root is now known as Guest35589
[16:47:00] -!- tjb1 has quit [Ping timeout: 240 seconds]
[16:47:23] -!- Guest35589 has quit [Ping timeout: 250 seconds]
[16:47:31] <pcw_home> Yeah no reason they should be different
[16:48:38] -!- Loetmichel has quit [Disconnected by services]
[16:48:40] Cylly is now known as Loetmichel
[16:50:03] <pcw_home> encoder bit fields specifiers should be useable for almost all absolute encoder types
[16:50:04] -!- ve7it [ve7it!~LawrenceG@S01060014d19d0b68.pk.shawcable.net] has joined #linuxcnc-devel
[16:52:31] <andypugh> I think this is one of those things that might have to be released then we can see how folk break it.
[16:53:21] <pcw_home> I have this disturbing thought that we are slowly re-implementing CAN :-)
[16:54:35] -!- Guest35589 has quit [Ping timeout: 245 seconds]
[16:58:55] -!- tmcw has quit [Ping timeout: 260 seconds]
[17:05:28] -!- zlog has quit [Ping timeout: 256 seconds]
[17:06:40] -!- zlog [zlog!~zlog@ip68-102-199-165.ks.ok.cox.net] has joined #linuxcnc-devel
[17:31:55] -!- ktchk has quit [Quit: ktchk]
[17:41:14] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 20.0/20130329043827]]
[18:20:38] -!- mozmck has quit [Quit: Leaving.]
[18:22:04] -!- mozmck [mozmck!~moses@client-204.235.45.143.wcfltx.partnershipbroadband.com] has joined #linuxcnc-devel
[18:28:41] -!- PetefromTn has quit [Remote host closed the connection]
[18:31:40] -!- tmcw has quit [Ping timeout: 264 seconds]
[18:33:12] -!- skorasaurus has quit [Quit: Elvis has left the building.]
[18:43:45] -!- tjb11 has quit [Ping timeout: 245 seconds]
[18:47:32] -!- mozmck has quit [Quit: Leaving.]
[18:48:39] -!- mozmck [mozmck!~moses@client-204.235.45.143.wcfltx.partnershipbroadband.com] has joined #linuxcnc-devel
[18:53:10] root is now known as Guest62026
[19:02:16] -!- tmcw has quit [Ping timeout: 264 seconds]
[19:28:51] -!- TheFinalTac has quit [Ping timeout: 260 seconds]
[19:39:51] -!- Guest62026 has quit [Ping timeout: 268 seconds]
[19:43:52] -!- adb [adb!~IonMoldom@47-122.1-85.cust.bluewin.ch] has joined #linuxcnc-devel
[19:50:10] -!- stsydow has quit [Remote host closed the connection]
[19:57:10] -!- grummund has quit [Ping timeout: 256 seconds]
[20:02:56] -!- grummund has quit [Remote host closed the connection]
[20:03:20] -!- tmcw has quit [Ping timeout: 245 seconds]
[20:09:02] -!- rob_h has quit [Quit: Leaving]
[20:15:30] <andypugh> pcw_home: Do you see any problems with over-riding the data direction on type 0x08 devices? Is it fair to assume that an encoder will always supply a value to HAL and that index-enable is IO and scale is a param?
[20:15:58] <andypugh> ie, do you imagine there ever being an _output_ version of the encoder?
[20:22:46] <pcw_home> I dont think we've dealt with bidirectional signals yet
[20:24:15] <pcw_home> not that theres anything wrong with them
[20:27:15] -!- andypugh has quit [Read error: Connection reset by peer]
[20:27:35] -!- andypugh [andypugh!~andy2@cpc16-basl9-2-0-cust685.20-1.cable.virginmedia.com] has joined #linuxcnc-devel
[21:28:12] -!- chillly has quit [Quit: Leaving]
[21:35:52] -!- tmcw has quit [Ping timeout: 264 seconds]
[21:50:30] -!- DJ9DJ has quit [Quit: bye]
[22:20:04] -!- stsydow has quit [Quit: Leaving]
[22:20:16] -!- joe9 has quit [Read error: Connection reset by peer]
[22:28:33] -!- bedah has quit [Quit: Ex-Chat]
[22:35:52] -!- adb has quit [Ping timeout: 264 seconds]
[22:38:54] -!- davec__ has quit [Ping timeout: 264 seconds]
[23:07:55] -!- tmcw has quit [Ping timeout: 245 seconds]
[23:10:51] -!- Laremere has quit [Ping timeout: 240 seconds]
[23:12:37] -!- toner has quit [Ping timeout: 248 seconds]
[23:27:14] -!- afiber__ has quit [Quit: Konversation terminated!]
[23:32:11] -!- zzolo has quit [Quit: zzolo]
[23:34:52] -!- asdfasd has quit [Ping timeout: 240 seconds]
[23:48:37] <andypugh> Does anyone have a favoured way to spot encoder wrap? I am thinking of using:
[23:48:38] <andypugh> if ((i - old_i) * (old_i % 1000 - i % 1000) > 0)
[23:49:04] <andypugh> But perhaps that is computatuonally inefficient.
[23:50:20] <andypugh> (this is the case where the counts are already promoted from an arbitrary bit length into a 64 bit accumulator, and the nominal index is every N counts, 1000 in the example)
[23:52:54] <andypugh> Checking abs(old_i % N - i % N) > N/2 is probably more common.
[23:53:26] <andypugh> And I guess an abs is easier than a multiply.