#robotics Logs
Sep 13 2018
#robotics Calendar
12:12 AM flav0r: hey hey !
01:59 AM Jak_o_Shadows: Wait, where's Tom. Either way, yeah, I have the square/rectangular type
01:59 AM Jak_o_Shadows: Pretty good I think
02:04 AM veverak: /buffer MonikaSuchovska
02:04 AM veverak: fuuu
02:33 AM flav0r: SQUARE TYPE WHAT ??
02:49 AM Jak_o_Shadows: breakway micro-usb magnetic cable
02:52 AM veverak: C is evil
02:52 AM veverak: made me use macro functions !
02:52 AM Jak_o_Shadows: aha
02:52 AM Jak_o_Shadows: I tend to avoid them
02:53 AM veverak: I too, but it was only option in this case
02:54 AM veverak: I had functions that set registers which I also keep in memory -> 'store old value from memory, set new value to memory, try to set it over i2c, if that fails restore old value'
02:54 AM Jak_o_Shadows: What case?
02:55 AM Jak_o_Shadows: ah
02:55 AM Jak_o_Shadows: Why a macro though?
02:55 AM veverak: simple mechanics, in normal case I could write function to do that
02:55 AM veverak: BUT
02:55 AM veverak: struct EnableReg { uint8_t PON : 1; uint8_t AEN : 1; ... };
02:56 AM veverak: with this, I can't pass enable_reg.AEN as parameter
02:57 AM Jak_o_Shadows: ah
02:57 AM Jak_o_Shadows: because C
02:57 AM veverak: I think C++ would have same problem with 1bit parameters
02:57 AM veverak: I believe that using that struct to store registers may not be the best idea i had
02:57 AM veverak: :)
02:58 AM Jak_o_Shadows: umm. I'
02:58 AM Jak_o_Shadows: ve seen taht befre
02:58 AM Jak_o_Shadows: I don't think I can find/show an example
02:59 AM veverak: https://paste.vpsfree.cz/fRXbxIrp/
02:59 AM veverak: the macro is quite clear tbh
03:00 AM Jak_o_Shadows: yeah
03:00 AM Jak_o_Shadows: multiline helps
03:01 AM veverak: clang-format helps too
03:01 AM veverak: :)
03:03 AM veverak: TRY_SET_APDS_RETURN(uint8_t, apds->registers.enable.AIEN, val == ON ? 0x01 : 0x00, APDS9960_writeEnableReg(apds));
03:03 AM Jak_o_Shadows: I should get that VL53L0x thingy working
03:03 AM veverak: that is typical usage
03:03 AM veverak: I think I like it
03:11 AM veverak: on the more positive thought
03:11 AM veverak: APDS9960 const * apds
03:11 AM veverak: const pointers to non-const data makes me feel that it is almost references from C++ :)
03:12 AM Jak_o_Shadows: I have no logical problem with that
03:32 AM flav0r: hey is there such a thing as thermal paste GLUE ??
03:32 AM flav0r: i suppose i could google it !
03:32 AM flav0r: but i liek to involve people !!
03:44 AM polprog: looking for it as well. i guess ill just go to the shop and ask
03:46 AM flav0r: get me some too
05:00 AM flav0r: dudes
05:00 AM flav0r: my projects are BACK ON TRACK !
05:00 AM flav0r: https://imgur.com/a/IOPAp50
05:18 AM flav0r: You have a new message from AliExpress supplier orange Wang.
05:24 AM Triffid_Hunter: flav0r: yeah it's called thermal adhesive
05:25 AM flav0r: yeah i assumed it had to exist
05:25 AM flav0r: now that i think about it … ive seen it before !
05:25 AM flav0r: and thermal tape
05:26 AM flav0r: you workign on anything INTERESTING dude ???
05:28 AM Triffid_Hunter: flav0r: always, but can't say much more than some of the things listed at http://kickstarter.com/hax and similar :P
05:30 AM flav0r: i thought thats a lot
05:30 AM flav0r: then i read that its not just you !
05:31 AM flav0r: cool tho
05:31 AM flav0r: i really should make some PRODUCTS !
05:31 AM flav0r: hope youre not workign on this one
05:32 AM flav0r: https://www.kickstarter.com/projects/teamosa/teamosa-your-personal-tea-brewing-master?ref=b9x1eo
05:32 AM flav0r: coz its just retarded :)
05:32 AM Triffid_Hunter: you'd be surprised.. china has a massive tea drinking culture, and more internet users than the entire population of USA
05:32 AM flav0r: oh yeah i dont doubt it
05:32 AM flav0r: i see them when i travel
05:33 AM flav0r: all carrying a tea bottle
05:33 AM flav0r: they smoke a lot too !
05:33 AM flav0r: im just saying its just bullshit !
05:33 AM flav0r: that particular gadget
05:34 AM flav0r: im actually a tea drinker !
05:35 AM flav0r: i do like that looking glass thing tho
05:36 AM flav0r: from time to time i look at holographic solutions
05:36 AM flav0r: id have to see one tho
05:36 AM veverak: the material looks cool
05:36 AM flav0r: coz the video presentation looks like its in a room with a favorable ambient light level
05:36 AM flav0r: and a favorable camera angle
05:36 AM veverak: and I kind of like the 'sea'
05:36 AM veverak: or what is the name of the thing the set should be on
05:37 AM flav0r: the material of the tea thing ?
05:37 AM veverak: yup
05:37 AM flav0r: yeah its not bad
05:37 AM veverak: it looks nice on the picture
05:37 AM veverak: :)
05:37 AM flav0r: still a bullshit concept tho !
05:37 AM flav0r: hah
05:37 AM veverak: yeah, just estetically pleasing on my side
05:37 AM flav0r: yeah
05:38 AM flav0r: but you better get one
05:38 AM flav0r: 20% more anti oxidants !
05:38 AM veverak: tbh
05:38 AM veverak: lately I am really thinking about getting one of these big ass sets
05:39 AM veverak: https://www.aliexpress.com/item/Yixing-Purple-sand-tea-set-black-red-ceramic-kung-fu-Teapot-handmade-Purple-sand-teapot-teacup/32881821915.html
05:39 AM veverak: not that I would use entire set, I drink tea with at most two people at once
05:39 AM veverak: it's just that I really like the look of it :)
05:40 AM flav0r: yeah watching real tea ceremonies etc is pretty cool
05:40 AM veverak: exactly
05:40 AM flav0r: water
05:40 AM flav0r: stone
05:40 AM flav0r: etc
05:40 AM flav0r: all that stuff
05:40 AM veverak: (I have same relationship with LP )
05:40 AM flav0r: but for some hipster fool trying to tell me about ultrasonic extraction ??
05:41 AM flav0r: no thanks !
05:41 AM veverak: yeah
05:41 AM veverak: true to that
05:41 AM flav0r: yah i listen to some vinyl on occasion
05:42 AM veverak: I like the way it hangs on my wall :)
05:43 AM flav0r: gold and platinum ?
05:44 AM veverak: unfortunetly only one piece now, but I am waiting for some local 'selling old things' thingie
05:44 AM veverak: and I think it's just a record of Smurgs
05:44 AM veverak: *Smurfs
05:45 AM flav0r: oh you dont listen to albums ?
05:45 AM flav0r: you just put them on your wall ?
05:46 AM veverak: yup
05:46 AM flav0r: do you have a honda scooter nailed to the wall too ?
05:47 AM veverak: nope, that does not seem appealing to me ;)
05:47 AM flav0r: dude help me understand
05:47 AM flav0r: what motivated you to stick a smurfs album to the wall ?
05:50 AM veverak: it looks cool
05:50 AM veverak: it's purely 'esthetic' choice
05:51 AM veverak: hmm
05:51 AM veverak: flav0r: to put it differently, some people put pictures on they wall, I like LPs
05:51 AM flav0r: yeah im not knocking it
05:51 AM flav0r: just trying to figure it out !
05:52 AM veverak: yeah :)
08:55 AM rue_mohr: do you have one of the translucent red beatles LPs?
09:58 AM Tom_itx is now known as Tom_L
11:08 AM Tom_L: =