#robotics Logs

Nov 30 2018

#robotics Calendar

12:02 AM rue_mohr: the system says that all the children are being drawn
12:09 AM rue_mohr: there is a hint, their heirarchy functions cannot parse down more than one level
12:10 AM rue_mohr: I ran into this problem trying to use the unique names they have you make for objects, to track down an object instead of trying to save a handle to it
12:10 AM rue_mohr: but I cant find anything in any of the source code for other managemnt objects that might do somnething like this
12:11 AM rue_mohr: it makes sense that the children would not be drawn by default, the manager object might be trying to hide then
12:11 AM rue_mohr: which the tab object does
12:39 AM rue_mohr: I'm breaking it, I forced it to show an object...
12:46 AM rue_mohr: WOW
12:46 AM rue_mohr: WTF
12:47 AM rue_mohr: childName:entSet 113 -2945
12:47 AM rue_mohr: childName:Finish Depth 37 -5890
12:47 AM rue_mohr: childName:text_0 113 -5891
12:47 AM rue_mohr: childName:Feed Rate 55 -8838
12:47 AM rue_mohr: childName:text_1 113 -8839
12:47 AM rue_mohr: childName:Jog Height 49 -11786
12:47 AM rue_mohr: childName:text_2 113 -11787
12:47 AM rue_mohr: childName:Jog Speed 55 -14734
12:47 AM rue_mohr: childName:text_3 113 -14735
12:47 AM rue_mohr: childName:Start Height 37 -17682
12:47 AM rue_mohr: the last two numbers are the x,y locations for the widgets
12:51 AM rue_mohr: childName:text_4 113 -17683
12:51 AM rue_mohr: r_height 62588, child->core.height 62588, child->core.border_width 0
12:51 AM rue_mohr: wtf
12:52 AM rue_mohr: Height Feed Rate: 62586
12:52 AM rue_mohr: Height text_1: 62588
12:52 AM rue_mohr: Height Jog Height: 62586
12:52 AM rue_mohr: Height text_2: 62588
12:52 AM rue_mohr: Height Jog Speed: 62586
12:52 AM rue_mohr: Height text_3: 62588
12:52 AM rue_mohr: WTF
12:53 AM rue_mohr: Height text_2: 62588, core_height is: 62588
12:53 AM rue_mohr: Height Jog Speed: 62586, core_height is: 62586
12:53 AM rue_mohr: Height text_3: 62588, core_height is: 62588
12:53 AM rue_mohr: Height Start Height: 62586, core_height is: 62586
12:54 AM rue_mohr: this reeks of uninitialized values
12:54 AM rue_mohr: ok, well, I know where the problem stems from
12:54 AM rue_mohr: for context, when its not in another layout widget, I get values like
12:54 AM rue_mohr: Height text_2: 19, core_height is: 19
12:54 AM rue_mohr: Height Jog Speed: 17, core_height is: 17
12:54 AM rue_mohr: Height text_3: 19, core_height is: 19
12:54 AM rue_mohr: Height Start Height: 17, core_height is: 17
12:54 AM rue_mohr: Height text_4: 19, core_height is: 19
12:54 AM rue_mohr: Height Peck Depth: 17, core_height is: 17
12:54 AM rue_mohr: childName:Jog Speed 55 101
12:54 AM rue_mohr: r_height 19, child->core.height 17, child->core.border_width 0
12:54 AM rue_mohr: childName:text_3 113 100
12:55 AM rue_mohr: r_height 19, child->core.height 19, child->core.border_width 0
12:55 AM rue_mohr: childName:Start Height 37 120
12:55 AM rue_mohr: r_height 19, child->core.height 17, child->core.border_width 0
01:00 AM rue_mohr: ok, if I hardcode everyone to a height of 21, its ok
01:03 AM rue_mohr: ... if I dont add in the draw area...
01:03 AM rue_mohr: ugh
01:05 AM rue_bed: somewhere, there is a function called 'getprefferedsize'
01:05 AM rue_bed: my guess is that its not being called
01:05 AM rue_bed: as, I noticed in the widget I made, its never called
01:05 AM rue_bed: ever
01:06 AM rue_bed: so I dont know how the standard widgets usually set their default sizes
01:07 AM rue_bed: but I know when I put my manager widget in another manager widget, it doesn't work
01:09 AM rue_bed: that said, I could made an intermediate test case
01:09 AM rue_bed: and I could make a basic reporting widget that just said what was called
06:09 AM tsglove2 is now known as tsglove
09:07 AM OpenSorc_ is now known as OpenSorceress
09:13 AM rue_mohr: I said something new
09:14 AM rue_mohr: something thats never been said before, by anyone
09:15 AM polprog: base64encode("16:11 < rue_mohr> something thats never been said before, by anyone")
09:15 AM polprog: same
09:16 AM rue_mohr: }:], maybe the recret message was when you base64 DECODE what I said!
09:20 AM polprog: c3VyZSB0aGluZw==
09:22 AM rue_mohr: ZG9uJ3QgZ28gY3JlYXRpbmcgYmluYXJ5IG15c3Rlcmllcwo=
09:23 AM polprog: :P
09:23 AM rue_mohr: bXkgdW5pcXVlIHN0YXRlbWVudCB3YXMgICBJJ20gdGhlIHN0cmFnZ2xlciB3aG8gaXMgYWhlYWQgb2YgdGhlIGN1cnZlCg==
09:24 AM rue_mohr: so, in motif, how does query_geometry work
09:37 AM rue_mohr: r_height 19, child->core.height 19, child->core.border_width 0
09:37 AM rue_mohr: childName:Peck Pullout Speed 1 177
09:37 AM rue_mohr: r_height 19, child->core.height 17, child->core.border_width 0
09:37 AM rue_mohr: childHeight:text_7 19
09:37 AM rue_mohr: childName:text_7 113 176
09:37 AM rue_mohr: r_height 19, child->core.height 19, child->core.border_width 0
09:37 AM rue_mohr: childName:Bottom Dwell 37 196
09:37 AM rue_mohr: r_height 19, child->core.height 17, child->core.border_width 0
09:37 AM rue_mohr: childHeight:text_8 19
09:37 AM rue_mohr: childName:text_8 113 195
09:37 AM rue_mohr: r_height 19, child->core.height 19, child->core.border_width 0
09:37 AM rue_mohr: ChangeManaged!
09:37 AM rue_mohr: childName:Enabled 34 3
09:37 AM rue_mohr: r_height 62590, child->core.height 62586, child->core.border_width 0
09:37 AM rue_mohr: childName:enable 113 1
09:37 AM rue_mohr: r_height 62590, child->core.height 62590, child->core.border_width 0
09:37 AM rue_mohr: childName:entShow 33 -2945
09:37 AM rue_mohr: r_height 62590, child->core.height 62590, child->core.border_width 0
09:37 AM rue_mohr: childName:entSet 113 -2945
09:37 AM rue_mohr: r_height 62590, child->core.height 62590, child->core.border_width 0
09:37 AM rue_mohr: childName:Finish Depth 37 -5890
09:38 AM rue_mohr: r_height 62588, child->core.height 62586, child->core.border_width 0
09:38 AM rue_mohr: childHeight:text_0 62588
09:38 AM rue_mohr: childName:text_0 113 -5891
09:38 AM rue_mohr: r_height 62588, child->core.height 62588, child->core.border_width 0
09:38 AM rue_mohr: childName:Feed Rate 55 -8838
09:38 AM rue_mohr: r_height 62588, child->core.height 62586, child->core.border_width 0
09:38 AM rue_mohr: it happens after a managment change
09:38 AM rue_mohr: wtf
04:16 PM patr0clus is now known as s3nd1v0g1us
07:07 PM rue_mohr: ok, next round
07:14 PM Tom_L: is this the knockout round?
07:14 PM rue_mohr: I'm doing good already
07:15 PM rue_mohr: oh yea
07:15 PM rue_mohr: default sizes need work, but yea
07:18 PM rue_mohr: http://ruemohr.org/~ircjunk/images/cam_30Nov2018.png
07:18 PM rue_mohr: :)))
07:19 PM rue_mohr: the object is working, i just need to stitch in the values
07:19 PM Tom_L: looks good
07:20 PM rue_mohr: the order that I have to build it in is making a number of funny states of it, but this is working
09:44 PM rue_bed: hmm
09:45 PM rue_bed: I dont know, if I can make inherited gui objects for all the different parts of the program
09:45 PM rue_bed: I mean, I know a lot more than I did
09:45 PM rue_bed: and if I could inherite everything, It'd clean up the code a lot
09:46 PM zhanx: rue_bed, check #garfield
11:28 PM rue_mohr: I wonder
11:28 PM rue_mohr: if
11:28 PM rue_mohr: I can
11:28 PM rue_mohr: not
11:28 PM rue_mohr: hit enter
11:28 PM rue_mohr: so
11:28 PM rue_mohr: much
11:28 PM rue_mohr: .