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

Back
[02:24:23] <KGB-linuxcnc> 03john 05unified-build-candidate-3 fbaf546 06linuxcnc 10src/ 10Makefile 10rtapi/Submakefile * UB Makefile: fix recursive make -j2
[02:24:23] <KGB-linuxcnc> 03jepler 05unified-build-candidate-3 6ccf7ee 06linuxcnc 10docs/src/common/UnifiedBuild.txt * docs: Fix 'empty section' error
[02:31:30] <linuxcnc-build> build #1300 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/1300 blamelist: dummy, Jeff Epler <jepler@unpythonic.net>, John Morris <john@zultron.com>
[02:33:13] <linuxcnc-build> build #1304 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/1304 blamelist: dummy, Jeff Epler <jepler@unpythonic.net>, John Morris <john@zultron.com>
[02:33:40] <linuxcnc-build> build #1302 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/1302 blamelist: dummy, Jeff Epler <jepler@unpythonic.net>, John Morris <john@zultron.com>
[03:05:13] <linuxcnc-build> build #400 of precise-x86-rtpreempt-rip is complete: Failure [4failed apt-get-update compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/precise-x86-rtpreempt-rip/builds/400 blamelist: dummy, Jeff Epler <jepler@unpythonic.net>, John Morris <john@zultron.com>
[03:05:39] <linuxcnc-build> build #384 of precise-amd64-rtpreempt-rip is complete: Failure [4failed apt-get-update compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/precise-amd64-rtpreempt-rip/builds/384 blamelist: dummy, Jeff Epler <jepler@unpythonic.net>, John Morris <john@zultron.com>
[03:10:19] <linuxcnc-build> build #504 of precise-i386-realtime-rip is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/precise-i386-realtime-rip/builds/504 blamelist: dummy, Jeff Epler <jepler@unpythonic.net>, John Morris <john@zultron.com>
[03:11:06] <linuxcnc-build> build #384 of precise-amd64-xenomai-rip is complete: Failure [4failed apt-get-update compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/precise-amd64-xenomai-rip/builds/384 blamelist: dummy, Jeff Epler <jepler@unpythonic.net>, John Morris <john@zultron.com>
[03:11:11] <linuxcnc-build> build #1303 of lucid-i386-realtime-rip is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/lucid-i386-realtime-rip/builds/1303 blamelist: dummy, Jeff Epler <jepler@unpythonic.net>, John Morris <john@zultron.com>
[03:13:30] <linuxcnc-build> build #410 of precise-x86-xenomai-rip is complete: Failure [4failed apt-get-update compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/precise-x86-xenomai-rip/builds/410 blamelist: dummy, Jeff Epler <jepler@unpythonic.net>, John Morris <john@zultron.com>
[03:13:30] <linuxcnc-build> build #1298 of checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/checkin/builds/1298 blamelist: dummy, Jeff Epler <jepler@unpythonic.net>, John Morris <john@zultron.com>
[14:10:22] <KGB-linuxcnc> 03jepler 05unified-build-candidate-3 cccadca 06linuxcnc 10docs/src/common/UnifiedBuild.txt * docs: Fix 'empty section' error
[14:10:22] <KGB-linuxcnc> 03john 05unified-build-candidate-3 a6a142f 06linuxcnc 10src/ 10Makefile 10rtapi/Submakefile * Fix make -j16 build breakage caused by multiple problems
[14:11:18] * zultron sighs
[14:19:18] <linuxcnc-build> build #1305 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/1305 blamelist: dummy, John Morris <john@zultron.com>, Jeff Epler <jepler@unpythonic.net>
[14:19:51] <linuxcnc-build> build #1303 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/1303 blamelist: dummy, John Morris <john@zultron.com>, Jeff Epler <jepler@unpythonic.net>
[14:20:00] <linuxcnc-build> build #1301 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/1301 blamelist: dummy, John Morris <john@zultron.com>, Jeff Epler <jepler@unpythonic.net>
[14:24:30] <linuxcnc-build> build #1304 of lucid-i386-realtime-rip is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/lucid-i386-realtime-rip/builds/1304 blamelist: dummy, John Morris <john@zultron.com>, Jeff Epler <jepler@unpythonic.net>
[14:25:12] <linuxcnc-build> build #505 of precise-i386-realtime-rip is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/precise-i386-realtime-rip/builds/505 blamelist: dummy, John Morris <john@zultron.com>, Jeff Epler <jepler@unpythonic.net>
[14:26:51] <linuxcnc-build> build #385 of precise-amd64-xenomai-rip is complete: Failure [4failed apt-get-update compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/precise-amd64-xenomai-rip/builds/385 blamelist: dummy, John Morris <john@zultron.com>, Jeff Epler <jepler@unpythonic.net>
[14:29:45] <linuxcnc-build> build #411 of precise-x86-xenomai-rip is complete: Failure [4failed apt-get-update compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/precise-x86-xenomai-rip/builds/411 blamelist: dummy, John Morris <john@zultron.com>, Jeff Epler <jepler@unpythonic.net>
[14:30:47] <linuxcnc-build> build #1300 of lucid-rtai-i386-clang is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/lucid-rtai-i386-clang/builds/1300 blamelist: dummy, John Morris <john@zultron.com>, Jeff Epler <jepler@unpythonic.net>
[14:33:39] <linuxcnc-build> build #1301 of lucid-i386-sim is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/lucid-i386-sim/builds/1301 blamelist: dummy, John Morris <john@zultron.com>, Jeff Epler <jepler@unpythonic.net>
[14:52:17] <linuxcnc-build> build #1299 of checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/checkin/builds/1299 blamelist: dummy, John Morris <john@zultron.com>, Jeff Epler <jepler@unpythonic.net>
[20:26:23] <andypugh> Baffled.
[20:26:28] <andypugh> (happens a lot)
[20:26:53] <andypugh> *enc->hal.pin.count = (enc->accum - enc->offset);
[20:26:53] <andypugh> *enc->hal.pin.position = ((float)(enc->accum - enc->offset)) / enc->hal.param.scale;
[20:27:10] <andypugh> the count pin says 2882.
[20:27:28] <andypugh> hal.param.scale is 1.0 (float param)
[20:28:02] <andypugh> "position" is 1.073742e+12
[20:28:21] <andypugh> I wonder what I am missing?
[20:30:56] <andypugh> accum and offset are s64. Is that the problem?
[20:33:47] <archivist> one line with a cast and the other not, is there a conversion available rather than a cast
[20:35:36] <andypugh> Maybe :-)
[20:36:09] <andypugh> I wouldn't actually expect to need a cast. int / float should just be float AFAIK.
[20:36:09] <micges> try casting each s64
[20:36:32] <archivist> cast to me says the take the content as float, it does not say convert it to a float
[20:37:12] <andypugh> True.
[20:37:36] <andypugh> But then this is what another guy did to make it work (I only got some SSI stuff yesterday)
[20:42:37] <archivist> yet the C standard disagrees with me :)
[20:44:34] <andypugh> micges: You mean cast the scale to s64?
[20:45:29] <andypugh> halrun
[20:45:41] <micges> andypugh: *enc->hal.pin.position = ((float) enc->accum - (float) enc->offset) / enc->hal.param.scale;
[20:46:30] <andypugh> I don't like that
[20:47:28] <andypugh> both accum and offset might be very large, and then subtracting after a cast to float will be inexact
[20:48:29] <micges> hmm is it working wthout cast?
[20:48:53] <andypugh> No.
[20:49:05] <andypugh> Nor if multiplied by 1.0
[20:49:16] <andypugh> I suspect that the problem may not be arithmetic at all.
[20:51:18] <andypugh> Individually casting to float is no help.
[20:51:28] <archivist> there is an undefined where "if the value being converted is outside the range of values that can be represented the behavior is undefined"
[20:51:31] <andypugh> More cargo-cult programming to come.
[21:02:02] <andypugh> Well, I remain baffled. Looks like a problem to sleep on.
[21:35:46] <cradek> andypugh: hal pins are doubles, not floats. you should never have a cast to float.
[21:43:51] <cradek> but I have no idea whether that's the full answer to your problem...
[23:59:07] <KGB-linuxcnc> 03chrisinnanaimo 05master 6f4b1df 06linuxcnc 10src/emc/usr_intf/gscreen/gscreen.py * gscreen -tell gscreen to look for skins in skin folder
[23:59:07] <KGB-linuxcnc> 03chrisinnanaimo 05master 7b327b9 06linuxcnc 10(94 files in 8 dirs) * gscreen config -add skin folder and files, remove skin files from sample configs
[23:59:11] <KGB-linuxcnc> 03chrisinnanaimo 05master be6380d 06linuxcnc 03configs/sim/gscreen_custom/9axis.ini * gscreen config -rename gscreen_custom to 9_axis
[23:59:17] <KGB-linuxcnc> 03chrisinnanaimo 05master d2a201a 06linuxcnc 10debian/linuxcnc.files.in * debian -add gscreen folders and files to be installed
[23:59:24] <KGB-linuxcnc> 03chrisinnanaimo 05master 0e42347 06linuxcnc 10lib/python/gladevcp/calculatorwidget.py * gladevcp -have the calculator show only integers when switch is on