#robotics Logs

Aug 25 2017

#robotics Calendar

12:05 AM rue_shop3: anniepoo_, I'm not sure log sorting of screw weights is the right way to go
12:07 AM rue_shop3: the differences between two types of large screws might be the same as two types of small ones
12:07 AM rue_shop3: I'm curious, gonna have to get it running and play
01:03 AM rue_shop3: if (((reply[0] << 8)|( reply[1])) == 'OK') {
01:03 AM rue_shop3: oh thats a new level of abuse all togethor
01:03 AM rue_shop3: (and it works)
02:23 AM rue_shop3: yay!
02:24 AM rue_shop3: I did a sequenced command with just deliverToBin(&cartbot, 5) ;
02:26 AM rue_shop3: yay! I delivered a screw to bin 5!!!!
02:26 AM rue_shop3: WHICH WAS NOT SUCCESSFULL
02:27 AM rue_shop3: there is no __BOTTOM__ on the bin!!?
02:27 AM rue_shop3: where did the endcap go!?
02:40 AM rue_shop3: ok, so, while I print 4 more of those...
02:51 AM rue_house: ok step 1 is to get system to put screw on tray
02:51 AM rue_house: then robot takes tray and puts it on scale
02:51 AM rue_house: program works out the bin number
02:51 AM rue_house: robot takes tray and pours it onto the cart
02:52 AM rue_house: cart delivers screw while robot goes for another screw
02:52 AM SpeedEvil: So it's purely weight-sorting ATM?
02:52 AM SpeedEvil: I guess magnetism is another easy one after that
02:52 AM rue_house: yup
02:52 AM rue_house: well, colour too
02:52 AM SpeedEvil: Colour is a bit harder alas.
02:52 AM rue_house: I could have this sort smarties if I wanted
02:52 AM SpeedEvil: Brass can be green.
02:53 AM rue_house: na, just make sure the background is white and the chroma only is read, not he intensity
02:54 AM SpeedEvil: I mean not allmetal is bright and shiny
02:54 AM rue_house: no, but colour is colour
02:55 AM SpeedEvil: yes, but corrosion (or surface treatment) does other things than change the saturation
02:55 AM SpeedEvil: err
02:55 AM SpeedEvil: hue
02:57 AM rue_house: then its a different colour disn't it?
02:58 AM rue_house: green could be a corroded brass screw or a screw painted green
03:04 AM rue_house: ok, so....
03:04 AM rue_house: I dont know if I involve the arm next or not
03:04 AM rue_house: maybe I should be the arm
03:04 AM The_Jester_: darn it
03:04 AM rue_house: ok, I'm the arm
03:05 AM rue_house: hi The_Jester_
03:05 AM The_Jester_: all windows irtc client suck
03:05 AM rue_house: hexchat should be free
03:05 AM The_Jester_: Hi Rue, hows it?
03:05 AM rue_house: its xchat with a different name
03:05 AM Jak_o_Shadows: I wonder if you could sort by lengtgh.
03:05 AM rue_house: Jak_o_Shadows, dont need to, got weight
03:05 AM Jak_o_Shadows: The_Jester_, i'm using quassel. Admittedly I am going through a computer.
03:05 AM Jak_o_Shadows: yeah, true
03:05 AM Jak_o_Shadows: How are you dispensing just the one to weigh it?
03:06 AM The_Jester_: will look into hex chat, might just have to become a more powerful jedi and write my own
03:06 AM rue_house: so, my job as the arm
03:06 AM rue_house: The_Jester_, it'll absorb the xchat settings
03:06 AM rue_house: developer dispute
03:06 AM rue_house: I forgot when I suggested xchat
03:07 AM rue_house: so, my job as the arm is to move the screw to the scale, tell the scale to get a number
03:07 AM The_Jester_: just very erritated that xchat endud being payware
03:07 AM rue_house: take the screw to the cart and tell it to do the delivery, which it knows where cause it got it from the scale
03:07 AM The_Jester_: nut if like you say hexchat is a fork it should be cool
03:08 AM rue_house: The_Jester_, I got another potential hacker
03:08 AM Jak_o_Shadows: ah, so the sorting bit is automatic, the putting it there in the first place aint
03:08 AM rue_house: board with a tripple blob-top
03:08 AM rue_house: its a talking clock
03:08 AM The_Jester_: Rue sounds like you are sending assorted srews for a ride in the little plasic cart you build for them
03:08 AM rue_house: one of the 3 blobs is the talker, and I think its serial
03:09 AM rue_house: The_Jester_, I just got it programmed up so that with 1 command it'll home, deliver the screw, and return
03:09 AM The_Jester_: Prob very similoar to the Ti chipset
03:09 AM rue_house: deliverToBin(&cartbot, 5) ;
03:09 AM rue_house: to bin 5
03:09 AM The_Jester_: scews still falling out?
03:10 AM rue_house: so far I think the miss rate is <30%
03:10 AM rue_house: I'll fix that later
03:10 AM The_Jester_: I know what you need buddy
03:10 AM rue_house: a dropgate bucket
03:11 AM The_Jester_: a divided troff thst slopes inward to the tubes along the whole length
03:11 AM rue_house: ?
03:12 AM The_Jester_: can i render one quickly, how long/wide is the deliver area?
03:12 AM rue_house: I did consider pneumatic jets in pipes as the screws fall thru them
03:12 AM rue_house: its 150cmwide by infinite long
03:12 AM rue_house: casue I just get more ribbon and a longer 2x4
03:13 AM rue_house: you done work? or just taking a break?
03:13 AM The_Jester_: 150cm, 1.5m?
03:13 AM rue_house: not even 1am
03:13 AM rue_house: sure
03:14 AM The_Jester_: break time, got till 7am afterall... feeling crummy still
03:14 AM rue_house: I got rid of two of the tv's today
03:14 AM rue_house: the old one from you and the one in the front livingroom
03:14 AM SpeedEvil: rue_house: Where do you buy your infinite length 2*4s?
03:14 AM rue_house: still have the projector one...
03:15 AM rue_house: SpeedEvil, the restraunt at the end of the universe, they have hardware too
03:15 AM rue_shop3: but they dont deliver :(
03:16 AM The_Jester_: ggod call, they are getting alot more comon, most of them i see die from smashed panels though :(
03:16 AM rue_shop3: mmmmm, not gonna regret it.... have too much stuff!
03:17 AM rue_shop3: cleared out lots of the storage tent behind the shop today too
03:17 AM rue_shop3: I want to store the lead-acid batteries there
03:17 AM rue_shop3: I got battiereis everywhere
03:17 AM rue_shop3: need to work out a charger system
03:18 AM rue_shop3: ok, so the scale program waits for you to say the screw is ready to be weighed
03:18 AM rue_shop3: it take the weight and works out the bin number
03:18 AM Jak_o_Shadows: Then a robot arm comes and grabs it
03:19 AM rue_shop3: so I tell the scale I'm ready, and then when its done, I tell the cart when the screw is loaded
03:19 AM rue_shop3: the robot arm part is a thing I can deal with later
03:20 AM rue_shop3: I dont have a place to fixed-set-up this all just yet, and the arm will need that
03:22 AM Jak_o_Shadows: ok. Coding time
03:23 AM rue_shop3: did you hear I got the m328 doing 16 servos with full timing and the 4017's?
03:23 AM rue_shop3: I'm going to get that working with the stm32 'next'
03:23 AM The_Jester_: no but thats really good news
03:24 AM rue_shop3: funny thing to, I'm using the stm32 for two reasons, a) excersize my stm32 b) expansion for the 18 servos the hexapod needs
03:24 AM rue_shop3: *but*, the m328 CAN be set up for an extra 2 servos
03:25 AM rue_shop3: so I *COULD* do the 18 servos with the m328 controller
03:26 AM Jak_o_Shadows: But I'm using the stm32
03:26 AM * Jak_o_Shadows flutters eyelashes
03:26 AM rue_shop3: yea yea
03:26 AM rue_shop3: :)
03:26 AM rue_shop3: you need a servo controller too dont ya?
03:26 AM rue_shop3: iirc timer 1 has 4 subchannels
03:27 AM rue_shop3: and is 16 bits,
03:27 AM rue_shop3: thats my target hardware
03:27 AM rue_shop3: I can put 1x 4017 on each channel
03:27 AM The_Jester_: im sure you could get into all sorts of flame wars with ppls who dont belive you can control 16 servos...l
03:27 AM rue_shop3: 8 servos ea
03:27 AM Jak_o_Shadows: Yeah.
03:28 AM rue_shop3: well, see, I can do 16 servos with 12000 counts of poisiton
03:28 AM The_Jester_: now fast will you be able to bank switch?
03:28 AM rue_shop3: between the 0.5 and 2.5ms
03:28 AM rue_shop3: thats the neat thing, I have the hardware doing all the important edges
03:28 AM rue_shop3: cause the 4017 is rising edge triggered
03:29 AM rue_shop3: I ahve the hardware do that, and then "when the interrupt handler get around to it" I set the pin back low
03:29 AM rue_shop3: I checked and found an interrupt collision, everything worked out perfect
03:29 AM The_Jester_: http://imgur.com/a/YJY5V
03:30 AM Jak_o_Shadows: a surround for the bin
03:30 AM The_Jester_: crude doodle, but you could prob make something from black card of similar and acheave similar results on zero time/budget
03:30 AM rue_shop3: The_Jester_, I dont get it...
03:30 AM rue_shop3: oh I see
03:30 AM Jak_o_Shadows: makes the effective size of the bins bigger
03:30 AM rue_shop3: yea
03:30 AM rue_shop3: I was considering funnels
03:30 AM Jak_o_Shadows: rue, how far did you get with the python servo controller thing?
03:30 AM rue_shop3: not
03:31 AM Jak_o_Shadows: ok
03:31 AM The_Jester_: less cnace of the screw bounding off the adge though
03:31 AM rue_shop3: I built a loading dock in my driveway
03:31 AM The_Jester_: free ewaste depot?
03:31 AM rue_shop3: hahaha
03:31 AM rue_shop3: yea and got rid of some ewaste
03:31 AM rue_shop3: and used oil...
03:32 AM rue_shop3: back to the servo thing, most controllers end up with less then 128 counts of position control
03:32 AM rue_shop3: esp that "16 bit" chip on ebay
03:32 AM Jak_o_Shadows: aye. I worked out I had max 250 I think with a pca9685
03:33 AM The_Jester_: wish i could say "ill rend a space and pay you $400 a month to have this truck parked here....feel free to take whatever" fill it, highgrade and drive the rest to a scrappers in slurry but you know...
03:33 AM The_Jester_: u have 12000
03:33 AM rue_shop3: yea, where the hell do people take dishwashers, its on marty's nope list
03:33 AM The_Jester_: '?
03:33 AM rue_shop3: yea
03:33 AM The_Jester_: dump bro
03:34 AM rue_shop3: you can control the servo pulse in orders of magnitude more than the servo can actually position.
03:34 AM The_Jester_: mostly plastic unless its a stainless tub bosh or similar
03:34 AM rue_shop3: hmm
03:34 AM rue_shop3: I dont think gibsons recyc takes any appliances anymore
03:34 AM The_Jester_: could dump it in the powerlines :P
03:34 AM rue_shop3: you have to take oil to ESSO
03:35 AM rue_shop3: 8-| are there any up there!?
03:35 AM rue_shop3: I still need about 40 valves
03:35 AM The_Jester_: where, their sales office?
03:35 AM rue_shop3: back behind the extersize shop there by the storage yard
03:35 AM The_Jester_: no, was kidding rue
03:36 AM The_Jester_: would be good to know
03:36 AM The_Jester_: isnt there a chineese marked for used oil, maybe they could bleach it and use it for cooking?
03:37 AM rue_shop3: hehe
03:37 AM rue_shop3: ok I have to set up the scale
03:38 AM The_Jester_: wheres rifraf been, I havent seem him online in well..years
03:38 AM Jak_o_Shadows: So that servo protocol... 3 bytes, start byte of 0xFF, then a servo number, then a servo position?
03:39 AM rue_shop3: yea, its a hack of the old SSC protocol
03:39 AM rue_shop3: Jak_o_Shadows, BUT
03:39 AM rue_shop3: at 9600 you can only update 32 servos
03:39 AM rue_shop3: SO
03:39 AM rue_shop3: servo numbers 32+ are position caches
03:39 AM rue_shop3: and if you address servo "255" it enguages the cached positions
03:40 AM rue_shop3: all at once
03:40 AM rue_shop3: it helps with interpolation when you dont want the update ripple
03:40 AM rue_shop3: you can put 4x8 or 2x16 or 1x32 channel controllers on the same serial port
03:41 AM Jak_o_Shadows: What do you mean by position caches?
03:41 AM rue_shop3: if you write to channel 0, the first servo does an immediate move to that position
03:42 AM rue_shop3: if you write to channel 32, the position is cached for the first servo, when you address 255, its enguaged to the servo
03:42 AM rue_shop3: so you can cache up new positions for all the servos, and enguage them all at once
03:42 AM Jak_o_Shadows: Oh, I follow.
03:42 AM Jak_o_Shadows: Yeah. Ok.
03:42 AM rue_shop3: otherwise there would be a latency between the new servos taking their positions
03:43 AM rue_shop3: 20ms
03:43 AM Jak_o_Shadows: yes.
03:43 AM Jak_o_Shadows: So you only go up to 64 really?
03:43 AM rue_shop3: no
03:43 AM Jak_o_Shadows: Or do you cache multiple positions?
03:43 AM rue_shop3: you can only update 32 servos in 20ms at 9600 baud
03:43 AM rue_shop3: the cache is only 1 deep
03:43 AM Jak_o_Shadows: ok. So there is never a reason to do: 0xFF, 0d80, pos ?
03:44 AM rue_shop3: yes
03:44 AM rue_shop3: the 0xFF is the sync
03:44 AM rue_shop3: the ... oh
03:44 AM rue_shop3: hu?
03:45 AM Jak_o_Shadows: If you can only do 32 servos, and the cache is only 1 deep, you have 0d64->0dFE in the second byte that you aren'tusing
03:45 AM rue_shop3: anything between 64 and 0xFE addresses are invalid
03:45 AM Jak_o_Shadows: cool!
03:45 AM rue_shop3: but its room for another flag or something
03:46 AM Jak_o_Shadows: TBH, I am probably going to shove it straight into usb? So like, 64 bytes at once at some reasonably fast speed.
03:46 AM rue_shop3: so 0-31 is immediate positions, 32-63 are cache positions, and address 255 is a enguage command, the position written dosn't matter
03:46 AM Jak_o_Shadows: cool
03:47 AM rue_shop3: carefull not to plug up the tx buffer or the sync of things will come apart
03:47 AM rue_shop3: I can demonstrate
03:47 AM rue_shop3: ..
03:47 AM Jak_o_Shadows: Clog up tx on the PC?
03:47 AM rue_shop3: https://www.youtube.com/watch?v=3N7DNfg4p9I
03:48 AM rue_shop3: 3 robot arms on different ports, with the data being written too fast, they gradually fall out of sync
03:48 AM rue_shop3: I fixed it after the video
03:48 AM Jak_o_Shadows: Oh, I think I follow.
03:48 AM rue_shop3: after the fix, the always stay in sync
03:48 AM Jak_o_Shadows: um. well. That's mostly a PC side issue yeah?
03:49 AM rue_shop3: but, thats only relivent when you have multiple controllers on multiple ports
03:49 AM rue_shop3: yea
03:49 AM rue_shop3: pc side buffers, evil evil evil
03:50 AM Jak_o_Shadows: ok. The position. That's a proportion of 0-180?
03:50 AM rue_shop3: my interpolator can handle sync'ing 64k axies across as many ports as you want, so I try to make my servo controllers go with it
03:50 AM The_Jester_: if i have a number between 0 and a80 can i invert it?
03:51 AM * Jak_o_Shadows grabs calculator for a80 conversion
03:51 AM The_Jester_: :P
03:51 AM rue_shop3: 0 is 0.5ms, 12000 is 2.5ms, which SHOULD be *just* beyond the stops on any servo available
03:51 AM The_Jester_: 180
03:51 AM The_Jester_: say i wanted to flip a servo position
03:51 AM rue_shop3: 180-angle
03:51 AM rue_shop3: angle = 0
03:52 AM rue_shop3: 180-0 = 180
03:52 AM rue_shop3: angle=180
03:52 AM rue_shop3: 180-180=0
03:52 AM The_Jester_: then change the sign back to a positive if its a neg i guess
03:53 AM The_Jester_: kk i see now
03:53 AM rue_shop3: The_Jester_, you need to see the new setup with that monitor too
03:53 AM rue_shop3: I found a BRAND NEW stand on the deck, that I forgot about
03:53 AM The_Jester_: usefukk if one set of servos is flipped along an axis
03:54 AM The_Jester_: sounds fancy Rue
03:54 AM rue_shop3: http://i.imgur.com/qCO26.jpg
03:54 AM rue_shop3: :)
03:55 AM Jak_o_Shadows: I sorta want one: https://hackaday.com/2017/08/23/diy-electric-beach-luge-is-a-thrill/
03:55 AM Jak_o_Shadows: https://sites.google.com/view/electric-beach-luge/home
03:55 AM rue_shop3: Jak_o_Shadows, unless you have beaches like ours that are 100% blasted rock
03:56 AM Jak_o_Shadows: 'Straya!
03:56 AM rue_shop3: The_Jester_, well, In all fairness there is a sand bar when the tide is REALLY far out!?
03:56 AM The_Jester_: i agree, cine/teeth are at risk
03:56 AM The_Jester_: chin
03:56 AM The_Jester_: okay /me lays down
03:57 AM rue_shop3: hour meter says 121 hours
03:57 AM rue_shop3: (of my vaccation)
03:57 AM rue_shop3: (are over)
03:59 AM rue_shop3: ok I ahve the scale and cart attached
04:01 AM * rue_shop3 shakes head
04:01 AM rue_shop3: fflush does NOT work on linux
04:01 AM rue_shop3: grrrrrr
04:02 AM rue_shop3: you know, I think the problem is that the ioctl's are IGNORING the file handle their given
04:05 AM Jak_o_Shadows: I've been doing stuff in matlab recently
04:05 AM Jak_o_Shadows: Matlab's xml reader adds tags for whitespace
04:06 AM Jak_o_Shadows: It's crazy.
04:06 AM Jak_o_Shadows: Also, when you go to write it back out, you can't diff it
04:09 AM rue_shop3: it modifies all the whitespace?
04:10 AM rue_shop3: xmldiff ?
04:11 AM rue_shop3: haha I was joking, but it does exist
04:11 AM rue_shop3: ok, it dosn't matter how many times I fflush(stdin), scanf keeps falling thru
04:11 AM rue_shop3: grrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
04:12 AM Jak_o_Shadows: I'm just using vim. SOrta toolchain limited there
04:12 AM Jak_o_Shadows: It works a bucket load better than the notepad++ one
04:19 AM rue_shop3: hahahaha
04:19 AM rue_shop3: hahahah
04:19 AM rue_shop3: haha
04:19 AM rue_shop3: I need to make a usb keybaord
04:19 AM rue_shop3: thats NOT an HID device
04:20 AM rue_shop3: ok so
04:20 AM rue_shop3: it seems to operate
04:22 AM Jak_o_Shadows: usb keyboard thats not a hid device...
04:26 AM rue_shop3: haha, the scale isn't working right
04:30 AM Jak_o_Shadows: ok. packet parsing side of things done.
04:30 AM rue_shop3: !?
04:30 AM Jak_o_Shadows: Now I need to get the comms side, then the pc side
04:30 AM rue_shop3: not for the proto I gave you!?
04:30 AM Jak_o_Shadows: Well, it's only like 25 lines of code
04:31 AM Jak_o_Shadows: https://paste.debian.net/982822/ equivalent
04:31 AM rue_shop3: dne
04:31 AM rue_shop3: ?
04:31 AM rue_shop3: equiv for the code I gave ya?
04:31 AM rue_shop3: the state machine parser?
04:32 AM rue_shop3: FFFFFFFFFFFFFF
04:32 AM rue_shop3: everything to do with buffers on this linux machine dosn't work
04:32 AM rue_shop3: I cant flush a buffer, I cant wait for a buffer to empty
04:32 AM rue_shop3: ARG
04:35 AM Jak_o_Shadows: Yeah. I mean, I don't entirely get why you've got posiotnA and a positon B (so caches A and B as well)
04:35 AM Jak_o_Shadows: but meh
04:36 AM rue_shop3: oh I had to split them up cause of the system that uses them
04:36 AM rue_shop3: but yea, you may not need it like that
04:36 AM rue_shop3: I started to change it to one array, but the interrupt service routines got horrid really quick
04:54 AM rue_shop3: ok
04:54 AM rue_shop3: I hand operated it
04:54 AM rue_shop3: I can see issues
04:54 AM rue_shop3: a) I need LOTS MORE bins, the resolution to the bins is too grainy
04:55 AM rue_shop3: b) the misses are more of a problem because most of them land on the track
05:00 AM Jak_o_Shadows: yeah. even if I move to DMA, I can't imagine that I would need to have it separate
05:00 AM Jak_o_Shadows: albeit I would have to have the start pulse time as well probably
05:00 AM rue_shop3: the dma is easy, you just load a memory block with
05:01 AM rue_shop3: b00000001
05:01 AM rue_shop3: b00000010
05:01 AM rue_shop3: b00000100
05:01 AM rue_shop3: b00001000
05:01 AM rue_shop3: b00010000
05:01 AM rue_shop3: b00100000
05:01 AM rue_shop3: b01000000
05:01 AM rue_shop3: b10000000
05:01 AM Jak_o_Shadows: For the PCA9685 I mean
05:01 AM rue_shop3: and every time you get the interrupt for the next channel, you have it write that next memory loc to the io port
05:02 AM rue_shop3: meh, can the 9685 even talk fast?
05:02 AM rue_shop3: isn't it only 100Khz?
05:02 AM Jak_o_Shadows: i2c at 100kHz => 10 uS per bit
05:03 AM rue_shop3: yea
05:03 AM rue_shop3: your better off with a 74595 and 5Mhz spi
05:03 AM Jak_o_Shadows: 400uS to update => 6.4mS to update them all
05:04 AM Jak_o_Shadows: (16)
05:04 AM rue_shop3: hey...
05:05 AM rue_shop3: dude, the '595 is 30MHZ
05:05 AM rue_shop3: hahaha
05:05 AM rue_shop3: you could crank the spi right up and run lots of servos off it
05:05 AM rue_shop3: WAAAAY cheaper than the 9685 too
05:06 AM rue_shop3: https://www.aliexpress.com/item/40035-Free-shipping-10pcs-74HC595-DIP-8-BIT-SHIFT-REGISTERS-WITH-3-STATE-OUTPUT-REGISTERS-SN74HC595N/32399966851.html
05:06 AM rue_shop3: I dont think _DIRT_ is that cheap from china
05:06 AM rue_shop3: 30Mhz
05:08 AM Jak_o_Shadows: The PCA9685's are 1.67 each. Worth it for the board for me
05:08 AM rue_shop3: the spi comes off the 48/72 Mhz bus
05:09 AM rue_shop3: but the 595 is just better...
05:09 AM rue_shop3: its 3000x better
05:09 AM rue_shop3: and its cheaper...
05:09 AM Jak_o_Shadows: aye, i'm not argueing about the whole resolution thing.
05:09 AM rue_shop3: oh right
05:09 AM rue_shop3: I forget people dont care
05:09 AM Jak_o_Shadows: aha.
05:09 AM Jak_o_Shadows: The pca9685 is a temporary thing.
05:10 AM Jak_o_Shadows: But i want to make progress NOW!
05:10 AM rue_shop3: do you remember the prycon avrlib?
05:10 AM Jak_o_Shadows: (cause I failed at finding a rigid body physics library I like)
05:10 AM Jak_o_Shadows: never used avr really
05:10 AM rue_shop3: it had a servo library
05:10 AM rue_shop3: and the jitter was horrid
05:10 AM rue_shop3: no servo that used it could hold still
05:10 AM rue_shop3: the interrupts were all over the place
05:11 AM rue_shop3: horrid timing repeatability
05:11 AM deshipu: the interrupts, the horrible interrupts
05:11 AM deshipu: 'orribel
05:11 AM rue_shop3: deshipu, did you ever use it?
05:12 AM rue_shop3: the prycon libary set was nice otherwise
05:12 AM deshipu: no, I came to the avr/arduino scene some 4 years ago
05:12 AM deshipu: only did programming on unix before that
05:13 AM rue_shop3: can you tell me why fflush(stdin) has no effect?
05:13 AM deshipu: by that time the Servo library was built-in into Arduino
05:13 AM deshipu: no, sorry
05:13 AM rue_shop3: yea, and the arduino was no better than prycon, infact, I think it was
05:14 AM rue_shop3: for (i = 0; i < 400; i++) {
05:14 AM rue_shop3: fflush(input); // fflush isn't doing anything....
05:14 AM rue_shop3: fscanf(input, "%x\n", &value);
05:14 AM rue_shop3: }
05:14 AM rue_shop3: this segfaults
05:14 AM rue_shop3: but if its <200, its ok
05:15 AM rue_shop3: no, now its just screwing me over
05:23 AM rue_shop3: yea, all the signalling in linux for comms from different source is completely screwed up
05:24 AM rue_shop3: its mixing up who its waiting for what from
05:31 AM rue_shop3: ok linux cant tell its go ddamned file handles apart, I'm calling it a night
05:32 AM deshipu: try bsd
05:33 AM deshipu: it's where it all started
05:33 AM rue_shop3: fflush(stdin) should empty stdin, so that scanf will wait for you to type something
05:33 AM rue_shop3: and its not
05:35 AM rue_shop3: FD_SET(0, &rfds);
05:35 AM rue_shop3: AHA, little bugger
05:35 AM rue_shop3: hah, but fflush still didn't work
05:38 AM Jak_o_Shadows: Trying to decide if I want to have the stm32 send stuff over i2c to the pca9685 in the usb interrupt or not
05:42 AM Jak_o_Shadows: ok, lets be real. I'm going to put it in the usb interrupt unless tha breaks things
05:48 AM rue_bed: oh, your making the stm32 do a full usb device?
05:49 AM rue_bed: its not a handoff to a usb-serial adapter?
05:52 AM Jak_o_Shadows: I mean, I could.
05:52 AM Jak_o_Shadows: But a custom usb endpoint aint that much more difficult
05:56 AM Jak_o_Shadows: and also not ath much different
05:56 AM Jak_o_Shadows: the descriptor is a bit different, the function is called different things, but meh
08:04 AM tehBear is now known as theBear
08:07 AM tumdedum_ is now known as tumdedum
10:58 AM robotustra: M
12:00 PM hug_: hi
12:08 PM anniepoo_: howdy
12:08 PM hug_: how are uyou?
12:09 PM anniepoo_: 8cD pretty decent. Going about my little working day.
12:10 PM hug_: a ok
12:10 PM anniepoo_: 8cD How're you doin?
12:10 PM hug_: very good
12:11 PM hug_: where are you from?
12:11 PM anniepoo_: hell, basically, but I'm in Oregon now
12:12 PM hug_: do you speak spanish
12:12 PM hug_: ?
12:12 PM anniepoo_: no, sorry
12:13 PM hug_: where is oregon
12:13 PM anniepoo_: the north west corner of the United States
12:14 PM hug_: a ok
12:14 PM hug_: you study robotic??
12:18 PM hug_: bye
12:25 PM robotustra: I think hug_ was a bot
01:04 PM * The_Jester_ is back
01:05 PM The_Jester_: who knows what the beal was with hug, wierd
01:07 PM The_Jester_: im happy becasue as i was leaving work this morning I found a 2'x4'x2mm sheet of acrylisc still wrapped by the dumpster
01:08 PM The_Jester_: nice, wont have to buy it ans now i can finally finish my xbox360 case mod and have window material for my cnc machine
01:09 PM rue_bed: nice
01:10 PM The_Jester_: I thought it was a good score
01:10 PM The_Jester_: who knows what its actually work but peenies from heaven
01:10 PM The_Jester_: not penis
01:10 PM The_Jester_: 8=========D
01:10 PM The_Jester_: pennies
01:11 PM The_Jester_: run im gonna come down soon bud
01:11 PM rue_bed: I'd say your awake early, but I was up till 4:/
01:11 PM deshipu: rue_bed: have you thought about supplementing magnesium?
01:11 PM rue_bed: not even 11 yet
01:11 PM rue_bed: deshipu, ?
01:11 PM deshipu: rue_bed: lets you fall asleep easier
01:12 PM The_Jester_: was awake at 6:30... omg i have slept though my aralm (did i set one/.) and i have tyo go back to work!!!!!!!!!!!!!!!!!!!
01:12 PM The_Jester_: i am such a shitty typist
01:12 PM The_Jester_: no wonder im a slow coder
01:13 PM The_Jester_: all these years you'd think id have figured it out
01:13 PM The_Jester_: we're talking typing out basic on a timex 81, couldent type then either, atleast i can spell now but geez that was like 30 years ago
01:13 PM deshipu: typing speed doesn't typically affect coding speed
01:14 PM deshipu: because thinking takes more time anyways
01:14 PM The_Jester_: I tend to just barf my works onto the screen faster than i can type
01:14 PM The_Jester_: words
01:14 PM deshipu: does it compile?
01:14 PM The_Jester_: nope
01:15 PM deshipu: you might be doing something wrong then
01:15 PM The_Jester_: goota go back and replace all those l's and 's with ;
01:16 PM deshipu: maybe you need a bigger keyboard
01:16 PM The_Jester_: some sort of untreated learning disability i swear
01:16 PM deshipu: or use your hands and not feet
01:17 PM The_Jester_: I like full sizechicklet keyboards unironicly, big keys and short travel, My long fingers get tied into knots..lol
01:18 PM deshipu: logitech ultrax ftw!
01:18 PM The_Jester_: feel like im typing with a pen in my teeth when i look back and read alot of the crap i post on irc
01:19 PM The_Jester_: http://smg.photobucket.com/user/Paddez/media/keyb_001.jpg.html
01:20 PM The_Jester_: the fug is that... basterds
01:21 PM Snert_: Photofuckit. They don't like my ad blocker.
01:21 PM The_Jester_: was a picture of a ultrax snapped in half anyways
01:22 PM The_Jester_: the hip thing for me to do is convert to apple
01:22 PM The_Jester_: and their crap chiclet keyboards
01:22 PM Snert_: you would never go back.
01:23 PM The_Jester_: would dual boot into xp and never go back...
01:24 PM Snert_: It's easy to make a mac do windows. But it's hard to get a windows box to be a mac.
01:24 PM The_Jester_: its all about which os causes you to pull out the least hair and not which is "better"; linux is to hard, apples are to costly for a long time ive been happy in XP land, before that it was win2k
01:25 PM The_Jester_: I have lappy with win 10 and i hate it, cant find where anything is and updates constantly
01:25 PM Snert_: I'm into total separation. I just prefer the OS to be native. Less hassles that involve cross coupled resources.
01:26 PM The_Jester_: whatever works best for you right?.
01:26 PM Snert_: you betcha.
01:26 PM The_Jester_: there is no right or wrong
01:27 PM Snert_: much as I abhor win10 I still have it. Mainly because my security camera software requires it.
01:28 PM Snert_: It's mainly where does one prefer their simplicity in life.
01:29 PM Snert_: in mine own personal life a mac/iphone/ipad will always be my goto device.
01:29 PM Snert_: cuz certain things I want simple and to work well with no further adieu.
01:30 PM Snert_: And I'll geek right along with the best of them on linux when it's appropriate.
02:43 PM synja: oh the irony Snert_
02:43 PM synja: your security camera requires 10, but you're leaving your entire computer open :)
02:44 PM Snert_: it's all behind a good fwall so no big deal.
02:44 PM synja: that's what they all say
02:44 PM Snert_: but I agree. nonetheless it's required.
02:45 PM synja: i sincerely doubt that
03:37 PM rue_house: it just occured to me that a 72Mhz stm32 processor is enough to make quite a smart AI on, and I should work on it
03:38 PM synja: you must be working on something quite small
03:38 PM synja: btw if you replied to what i said yesterday, it's out of the backlog and i didn't see it
03:47 PM rue_shop3: na, its all in the pool
04:24 PM Snert_: synja: I use a sonicwall. And sonicpoints...so security being a function of threat exposure, I'm very safe.
04:25 PM synja: that's what everyone thinks before shit hits the fan :P
04:25 PM Snert_: there ain't no shit to hit the fan. Nearest house is 500 yards from mine.
04:26 PM synja: i wasn't really talking about LAN-side
04:26 PM Snert_: sure.
04:40 PM anniepoo_: Speed, haven't forgotten aobut the mass snail idea
04:40 PM anniepoo_: going over to see if nana's available now
07:06 PM Jak_o_Shadows: I serisouly don't understand why people don't try to learnign typing.
07:06 PM Jak_o_Shadows: It seems like an annoying thing to live with
07:10 PM Snert_: we non-touch typers pick it up by osmosis
08:25 PM anonnumberanon: Help guys i cant seem to be able to drill through this 1/4" steel
08:28 PM anonnumberanon: Iv bought numerous drill bits too...
08:42 PM synja: anonnumberanon, make sure it's not a wood bit
08:42 PM synja: try a 1/8" hole fist
08:42 PM synja: first
08:46 PM anonnumberanon: Yep i tried cobalt and titanium
08:47 PM Snert__: Maybe some oil and a slow speed.
09:05 PM Tom_L: maybe you've work hardened the spot you're drilling
09:06 PM Tom_L: or maybe the steel is also hardened or surface hardened
09:06 PM Tom_L: ie don't try to drill thru a file. it probably won't happen
09:10 PM anonnumberanon: Its an exhaust plate for a car
09:10 PM Tom_L: stainless steel?
09:10 PM anonnumberanon: No sure about that
09:10 PM anonnumberanon: It is rusted though
09:11 PM Tom_L: that's not helping you
09:11 PM Tom_L: if it's rusted it's not stainless
09:11 PM Tom_L: it is probably hardened from being hot and cold so many times
09:12 PM Tom_L: alot of times it's just a surface hardening
09:12 PM Tom_L: once you cut thru that it gets softer
09:13 PM Tom_L: what's the hole diameter?
09:15 PM Tom_L: if you're using a hand drill i can just about guarantee the rpm is too high
09:16 PM Tom_L: ppl get frustrated because it's not drilling and they pull the trigger more to increase the rpm and that just sets the bit on fire and melts it into the material
09:19 PM Tom_L: i asked about stainless because it work hardenes really easy
09:19 PM anonnumberanon: Yeah i drilled too fast and stuff but i tried slow too
09:19 PM Tom_L: then drilling the hole is like lighing a campfire by spinning a stick
09:20 PM Tom_L: so drilling too fast work hardened it, then you tried slow back in the same spot and it was already hardened
09:21 PM anonnumberanon: Probably yeah
09:21 PM anonnumberanon: I have a trick i can use is to cut the entire thing from the left to reach the hole(sruck rusted bolts in them)
09:22 PM Tom_L: you're trying to get it apart?
09:22 PM anonnumberanon: It will leave enough strength to still use new bts
09:22 PM anonnumberanon: Bolts
09:22 PM anonnumberanon: Yeah trying to take the bolts off
09:22 PM Tom_L: that's always a fun job
09:22 PM anonnumberanon: Heads are gone
09:23 PM anonnumberanon: I grinded them away
09:23 PM anonnumberanon: I think ill do what i said thats my only option
09:23 PM Tom_L: that probably didn't help the material hardness either
09:23 PM Tom_L: did it turn blue where you ground it?
09:23 PM Tom_L: then you hardened it more
09:30 PM anonnumberanon: No
09:30 PM synja: anonnumberanon, thermate
09:30 PM synja: easy to make
09:30 PM synja: :}
09:30 PM anonnumberanon: Tbh maybe ill try again on another project but for this i give up
09:31 PM anonnumberanon: Thermite?
09:31 PM synja: no
09:31 PM synja: therMATE
09:31 PM Tom_L: aww don't give up
09:31 PM anonnumberanon: Heh
09:31 PM synja: adding sulfer
09:31 PM anonnumberanon: Wats that
09:31 PM synja: sulfur
09:31 PM synja: basically iron oxide, aluminum and sulfur
09:31 PM anonnumberanon: It will eat my whole part!
09:31 PM synja: it will melt through basically anything
09:31 PM synja: then don't put it all over it
09:32 PM synja: you'll need something like magnesium to set it off
09:32 PM Tom_L: you sound like a metallica pyro
09:32 PM anonnumberanon: Tom no i need to cut my losses lol
09:32 PM synja: make a graphite donut to put it in
09:33 PM synja: u don't need to cut
09:33 PM synja: u need to burn!!
09:35 PM synja: omg dark matter is on!
09:38 PM anonnumberanon: Is synja a safe user?
09:39 PM synja: depends on who you'd ask, and what you'd define "safe" as
09:42 PM synja: people will either tell you i'm a crackpot/wannabe, or a genius
09:46 PM anonnumberanon: Lets air on the safe side: crack baby
09:47 PM synja: s/air/err
09:50 PM anonnumberanon: Tom I even welded a bolt to what remained of one bolt to use it as a new bolt head for unbolting but the bolt broke. Or my weld
09:50 PM anonnumberanon: Ah thanks ya
09:50 PM anonnumberanon: Its pronounced uhrr?
09:53 PM synja: the idiom is spelled, 'to err on the side of caution'