#linuxcnc-devel Logs

Mar 04 2020

#linuxcnc-devel Calendar

12:50 AM fjungclaus1 is now known as fjungclaus
01:31 AM Centurion-Dan2 is now known as Centurion_Dan
11:48 AM cerna: Hi, before I make my own, does anybody have a LinuxCNC RIP Dockerfile?
11:58 AM cerna: So far what I have found: https://github.com/jeffersonjhunt/linuxcnc-docker/blob/master/Dockerfile and https://github.com/FirstWithThisName/linuxcnc-docker/blob/master/Dockerfile -> I will be able to assemble my own from it, but if somebody is maintaining master, then it is less work...
02:42 PM pcw_mesa: Strange bug in halshow, looks like corrupted data
02:42 PM pcw_mesa: or messed up numeric formatting
02:54 PM pcw_mesa: http://freeby.mesanet.com/hsbug.png
02:55 PM pcw_mesa: (halmeter is correct)
02:57 PM pcw_mesa: the watch pane of halshow is broken, the show pane works
02:58 PM pcw_mesa: whats weird is the bug seems specific to the signal name
06:16 PM andypugh: That is very odd
06:17 PM andypugh: -1 and 255 I could almost explain, but 255 and 0 is rather odd. In the past I have seen things like this (but not exactly this) when Pythin has been too clever.
06:18 PM pcw_mesa: its really weird, it not a bug I have ever tripped on despite using halshow for years and years
06:18 PM pcw_mesa: also only seen with 7I87 and only analog in pins 4 through 7
06:19 PM pcw_mesa: halmeter works fine on those pins
06:21 PM andypugh: I wonder what the actual bit pattern in the shared memory is?
06:21 PM andypugh: They should both be looking at the same bytes in memory.
06:26 PM pcw_mesa: you would think so
06:26 PM pcw_mesa: halcmd show pin works, halmeter works, halshows "show" pane works, halshows watch pane fails
06:27 PM andypugh: What’s the type?
06:28 PM pcw_mesa: float
06:28 PM andypugh: Not that it should matter. 0 is 00000000 and 255 is 11111111, it’s really hard to find a way through that.
06:28 PM andypugh: Ah.
06:29 PM andypugh: it’s coming in on sserial? I seem to recall that sserial tries to support a lot more floats than normal. (including the 8-bit float, I think)
06:29 PM andypugh: (it’s been several years)
06:43 PM pcw_mesa: Yeah but none of that should be exposed (and the 7I87 doesn't use FP anyway)
06:44 PM pcw_mesa: other than the generated hal pins
06:46 PM CaptHindsight: anyone heard of the next LCNC release will be all Python3?
06:46 PM CaptHindsight: of/if
06:46 PM CaptHindsight: https://github.com/LinuxCNC/linuxcnc/issues/403
06:46 PM CaptHindsight: Python 2 EOL Roadmap? #403
06:47 PM andypugh: I think 2.9 will have to be. Or maybe Pythin 4, the way releases are going.
06:50 PM CaptHindsight: https://forum.linuxcnc.org/24-hal-components/37697-hal-and-python3
10:51 PM CaptHindsight: pcw_mesa: is one using a B rather than what should be an 8?
10:52 PM CaptHindsight: Watch to me looks like: hm2_7i96.0.7iB7.0.0.analogin7
10:53 PM CaptHindsight: HAL Meter looks like: hm2_7i96.0.7i87.0.0.analogin7
10:54 PM CaptHindsight: I've been making these sorts of typos lately in my code :(
10:54 PM CaptHindsight: nevermind upon zooming in they are both 8's