#robotics Logs

Nov 22 2018

#robotics Calendar

12:39 AM Jak_o_Shadows: hey, cool veverak
12:43 AM Jak_o_Shadows: I really should think about trying to understand some of the crazy stuff you do at some point
12:54 AM rue_mohr: wtf is wrong with the internet
12:54 AM Jak_o_Shadows: rain
12:54 AM rue_mohr: I have code in a book thats not on the internet
12:55 AM rue_mohr: damn well have to type it out!?
12:55 AM rue_mohr: WHY DOES THIS BOOK NOT SUPPORT COPY AND PASTE
12:56 AM rue_mohr: zhanx, you got arpa access?
12:56 AM Jak_o_Shadows: arpa?
12:58 AM rue_mohr: wtf these arpa aren't arpa
12:58 AM rue_mohr: arpa as in darpa
01:00 AM rue_mohr: arg, I need to think
01:00 AM rue_mohr: option a) figure out how to override the initialize method of a bulletinboard motif widget, b) hack into arpa
01:01 AM rue_mohr: motif is a hack damnit
01:02 AM * rue_mohr stands at the crossroads evaluating....
01:03 AM * rue_mohr googles "how to hack into darpa"
01:12 AM rue_mohr: ... wait... callbacklist....what?
01:13 AM rue_mohr: XmNcascadingCallback
01:13 AM rue_mohr: Specifies the list of callbacks that is called just prior to the mapping ...
01:13 AM rue_mohr: OMG!
01:13 AM rue_mohr: is that it!?
01:14 AM rue_mohr: WILL THIS FIX IT!?!?!?
01:18 AM rue_mohr: XmNmapCallback XmAnyCallbackStruct XmCR_MAP
01:21 AM rue_mohr: oh well crap its easier than that
01:22 AM rue_mohr: XtOverrideTranslations (bboard, XtParseTranslationTable ("<Map>: resize()"));
01:22 AM rue_mohr: I think that just took 4 hours to find
01:22 AM rue_mohr: lets see if it works
01:23 AM rue_mohr: hah, kinda...
01:23 AM rue_mohr: ah, my seam is missing a stitch
01:30 AM mrdata__: darn!
01:32 AM rue_mohr: I need to figure out how to request the parent widget to resize
01:32 AM rue_mohr: so far its basing its size on the leaf widgets
01:32 AM rue_mohr: which I havn't positioned yet
06:53 AM veverak: Jak_o_Shadows: thanks
07:41 AM z64555: Give the children a callback, or a function to call to resize the parent
07:42 AM z64555: hm, although really, I think the resize direction should go top down, only when doing the first layout do you go backwardds
08:29 AM rue_mohr2: yea, the only thing I could find happens after the system has already worked out its sizes
08:33 AM rue_mohr2 is now known as rue_bed
08:33 AM z64555: have you looked at things like Qt or wxWidgets for inspiration?
08:56 AM rue_mohr: qt is c++, (and junk)
08:56 AM rue_mohr: dont recall wx details
08:57 AM rue_mohr: that said, motif is a complete hack, it looks like lots of the devs didn't understand objects and inheritance
08:58 AM rue_mohr: there seems to be a way I can override a method that will let me size the object, but I cant quite work out how to hook it
08:58 AM rue_mohr: almost nobody does this
08:58 AM Tom_L: kinda figures ehh?
08:59 AM Tom_L: what you doin up already?
08:59 AM rue_mohr: almost nobody ever has done it
08:59 AM rue_mohr: its morning
08:59 AM * Tom_L pulls the covers over his head..... nnaaaawww
09:00 AM rue_mohr: I'd love to go back to sleep
09:00 AM rue_mohr: hopefully we can finish wiring the medical clinic today...
09:00 AM Tom_L: workin today?
09:00 AM rue_mohr: then its just friday and I'm free to sleeep
09:00 AM rue_mohr: yuppers
09:01 AM Tom_L: everybody thinks i should eat too much today
09:01 AM rue_mohr: :)
09:02 AM rue_mohr: I think we moved everything to mondays
09:02 AM Tom_L: they leave it on thursday here so the shops can take all your money on friday
09:19 AM rue_mohr: hmm, that worked...
09:46 AM z64555: wxWidgets is C/C++, but it has ports to other languages
09:46 AM z64555: its... not the greatest
09:47 AM z64555: but then again, cross-platform GUI libs have their own hurdles to deal with
09:53 AM veverak: NICE
09:53 AM veverak: robot works across entire uni corridor
09:53 AM veverak: uni wifi is nice thing to have :)
09:55 AM z64555: today really does feel like a "sleep in" day
11:05 AM allibgbg: Hello
11:05 AM allibgbg: Is anybody using bCNC ? i m having some troubles getting started
11:13 AM Tom_L: may have to wait for an answer
11:34 AM allibgbg: sure, thank you
01:59 PM veverak: hmm
01:59 PM veverak: tracked robot
01:59 PM veverak: any tips for decent odometry?
02:08 PM deshipu: no chance
02:08 PM deshipu: the tracks will slip when turning
02:09 PM deshipu: dead reckoning maybe?
02:22 PM veverak: thought about that too
02:22 PM veverak: actually thought about multiple nonprecise stuff and kalman
02:23 PM veverak: I was considering the idea of some camera mounted at the bottom of the robot
02:23 PM veverak: afaik it can be hacked to estimate change of position :)
02:23 PM veverak: + IMU
02:30 PM deshipu: mouse sensor :)
02:33 PM veverak: thought about that too :)
02:33 PM veverak: but even the uni grounds got a lot of different surfaces, I've got the feeling that cam would be better
02:34 PM deshipu: in any case, "optical flow" is what you want there
02:36 PM veverak: that's it!
02:36 PM veverak: I figured ros could have something for that
02:40 PM veverak: yep, it does :)
02:49 PM deshipu: you can also point it at the ceiling
02:49 PM deshipu: vacuum cleaners do that
02:51 PM veverak: bottom seems somehow more practical
02:52 PM veverak: deshipu: have you seen the video?
02:52 PM veverak: https://www.youtube.com/watch?v=lSrKH6ttxWI
02:52 PM veverak: it's not clear, but it has a lot of space under it
02:56 PM deshipu: veverak: omg, make a Johnny #5!
02:56 PM veverak: the robot kit was a Johnny 5
02:56 PM veverak: but the body sucked :)
02:57 PM deshipu: hehe
03:08 PM Tom_L: mount a spring loaded ball mouse on the bottom
03:08 PM Tom_L: track any direction
03:09 PM Tom_L: except in snow or mud or ....
03:09 PM deshipu: or just nail it to the floor, then you will always know where it is
03:09 PM deshipu: works for industrial robots very well
03:09 PM Tom_L: until they rip the floor out
03:10 PM veverak: Tom_L: I am not sure it would work
03:10 PM Tom_L: i'm not sure either
03:10 PM veverak: (in various terain and over various obstacles)
03:12 PM deshipu: positioning is so much easier with rigid legs :)
03:12 PM deshipu: veverak: are you going to fosdem?
03:13 PM veverak: nope
03:13 PM veverak: but it sounds tempting
03:13 PM veverak: !!!
03:13 PM Tom_L: johnny 5 was rc
03:13 PM veverak: deshipu: but
03:13 PM veverak: deshipu: I want to go to switzerland next year
03:13 PM veverak: to CERN
03:13 PM deshipu: oh, that's far
03:14 PM deshipu: but let me know if you are ever near Zurich
03:14 PM deshipu: we have a coach and all
03:14 PM veverak: it's a work placement as part of uni
03:15 PM veverak: and I believe it is in Zurich :)
03:19 PM veverak: deshipu: https://jobs.smartrecruiters.com/CERN/743999679513970-technical-studentships-it-mathematics-and-robotics?trid=c3270850-b100-4fd2-8aad-40a973eec45a
03:45 PM deshipu: Geneva
03:46 PM deshipu: that's basically France already
03:52 PM veverak: hmm
03:52 PM veverak: well, close enough to visit anyway
03:52 PM veverak: *for
04:13 PM deshipu: 8h by train :)
04:14 PM deshipu: compared to 10h to Brno
04:28 PM veverak: ah
04:28 PM veverak: I see
04:28 PM veverak: :)
04:28 PM allibgbg: hello
04:28 PM allibgbg: Is anybody using bCNC ? i m getting some troubles
06:30 PM veverak: deshipu: the optical flow sensor looks itneresting
06:30 PM veverak: deshipu: problematic is, rpi3 does not have infinite slots for camera
06:30 PM veverak: hmm
06:30 PM veverak: but I've got a feeling that 'zero' could be used
06:31 PM veverak: but multiple-cpu robot seems as a pain a bit
07:02 PM patr0clus is now known as s3nd1v0g1us
07:27 PM rue_mohr: bcnc sucks
07:32 PM Tom_L: nobody seemed to know in lcnc so i sent him here
07:32 PM Tom_L: i knew you would at least know what it was
07:42 PM rue_mohr: bcnc
07:42 PM rue_mohr: its one of the things that prove there are no linux cam programs
07:43 PM Tom_L: what i saw didn't indicate it generated gcode
07:44 PM Tom_L: got a dos box?
07:44 PM rue_mohr: heh
07:44 PM Tom_L: i got one for dos
07:44 PM rue_mohr: speaking of making a good cam processor...
07:44 PM rue_mohr: lets see
07:44 PM rue_mohr: I want to hook the function thats called when a child is added
07:44 PM Tom_L: i got mine tuned to where i don't need to edit the output at all
07:44 PM rue_mohr: ... you shouldn't have to...
07:45 PM Tom_L: well it takes a bit of time to get it all
07:45 PM rue_mohr: wreck of a day
07:45 PM rue_mohr: we didn't finish the network install, we didn't even get all the track up
07:45 PM Tom_L: i had a z clear move that repeated sometimes
07:46 PM rue_mohr: turns out a bunch of the walls have blocking
07:46 PM Tom_L: fire block?
07:46 PM rue_mohr: horizontal wall blocking
07:46 PM rue_mohr: aka, you can fish a wire
07:47 PM rue_mohr: we installed 170 feet of size 10 panduit and a couple feet of size 3
07:47 PM rue_mohr: got the two network panels put up
07:48 PM rue_mohr: I opened the van to get the personal tools out that we took with us, my toolbag fell out of the van and spilled all over the driveway, raining, dark as all hell
07:48 PM rue_mohr: its supposed to ahve a strap on it
07:48 PM Tom_L: fun day
07:48 PM rue_mohr: so, then I went to the mailbox to see if anything arrived...
07:48 PM rue_mohr: they changed the boxes, and the old keys dont fit
07:48 PM rue_mohr: so, at some point I need a new key, but their on strike, so, hows that work????
07:49 PM Tom_L: we had to put in street boxes recently because one neighbor wouldn't keep his dog in
07:49 PM Tom_L: so the whole area had to add boxes due to one person
07:49 PM Tom_L: who probably shouldn't be here anyway
07:51 PM Tom_L: they suggested using a thin pipe to hold it up, i used a 4" thickwall steel pipe just hoping somebody backs into it
07:51 PM rue_mohr: :)
07:52 PM rue_mohr: kat filled hers with concrete and they still knocked it out
07:52 PM Tom_L: so now we have the problem of mail theft since they're on the curbside now
07:52 PM Tom_L: i caught one trying to do it
07:52 PM rue_mohr: send to cops?
07:53 PM Tom_L: confronted her and she took off quick
07:53 PM Tom_L: i told them about it
07:53 PM rue_mohr: tell them he was trying to use your mailbox to traffic drugs?
07:53 PM Tom_L: they don't give a shit
07:53 PM rue_mohr: tell them she was trying to use your mailbox to ___traffic drugs__?
07:53 PM Tom_L: no, hte neighbor is the drug dealer
07:53 PM rue_mohr: hah, hmm
07:54 PM Tom_L: she's been raided once and they tried to serve her papers the other day and she wouldn't answer the door
08:03 PM rue_mohr: hmm
08:42 PM z64555: just waiting for that meth lab explosion
09:32 PM rue_bed: just find out who's buying the acetone
09:48 PM rue_mohr: damnit
09:48 PM rue_mohr: I'm gonna try to make a widget
10:08 PM Tom_itx: we had one of those up the street a few years back
10:08 PM Tom_itx: flames were well above the phone poles
10:10 PM Tom_itx is now known as Tom_L
10:19 PM rue_mohr: any good colours?
10:35 PM rue_mohr: only 2 more pages of typing
10:40 PM z64555: *10 pages later*
10:45 PM rue_mohr: the evil thing about doing this back in the apple II days was that one line of code would be like 300 characters long, and the typo would inevitably be, if you could find it, in the middle
10:45 PM rue_mohr: this shouldn't be hard, I'm going to take the bulletinboard widget and inherite everything straight across
11:10 PM rue_mohr: so it turns out that a bulletinboard, aside from having a bunch of junk in it that it shouldn't, doesn't even do it own work
11:11 PM rue_mohr: the purpose of it is to be like a pinboard for other objects (buttons, text, whatever) and it just calls another fn that screws things all up
11:14 PM rue_mohr: haha none of this is documented