#robotics Logs

Nov 30 2015

#robotics Calendar


16:59 adam789654123 hey anonnumberanon
17:11 anonnumberanon hi adam789654123
17:11 anonnumberanon what are you up to?
17:12 adam789654123 considering making a new kind of branching macro to clean up the codebase for my interprer a bit
17:12 adam789654123 branching is like, if then, cond, case, etc....
17:12 adam789654123 as in, one branch gets executed while the others are ignores
17:12 adam789654123 ignored
17:12 adam789654123 you?
17:16 adam789654123 note that branching functions are a fundamentally important yet distinct class of functions
17:20 adam789654123 anonnumberanon:
17:20 adam789654123 anonnumberanon: the above is addressed to you
17:23 adam789654123 awsome.... i just found out i dont even need to make this new thing, as the old thing already has this functionality inbuilt
17:23 anonnumberanon that's cool you're staying busy!!
17:23 anonnumberanon me , just programming hardware right now, debouncing buttons
17:24 adam789654123 what is "debouncing"?
17:26 adam789654123 anonnumberanon: never heard of debouncing before
17:26 anonnumberanon It's kinda like slowing down the program's response time to the human touch of the button, since we can't touch buttons really fast, the computer things you pressed it many times.
17:26 adam789654123 ahhhh
17:26 adam789654123 yes
17:26 SpeedEvil It's not really to do with that
17:26 SpeedEvil Buttons are crap.
17:26 adam789654123 so do you time the read operations or such?
17:27 SpeedEvil If you press them - even smoothly and fast - the contacts open and close multiple times before coming to rest
17:27 adam789654123 ohhhh
17:27 adam789654123 ahhhhh
17:27 adam789654123 that makes *perfect* sense SpeedEvil
17:27 adam789654123 ive got a shot at remembering
17:27 SpeedEvil One approach is for example, to ignore any changes of state until x00ms has passsed without a change of state.
17:27 anonnumberanon adam789654123, yeah i just measured the fastest time it took me to hit the button (80 milliseconds)
17:27 adam789654123 because thats *very* interesting
17:27 adam789654123 hmmm....
17:28 adam789654123 SpeedEvil: anonnumberanon: very interesting
17:28 anonnumberanon if the program sees a button press that lasts shorter it doesn't register a press
17:28 adam789654123 so i guess you can go at it from both ends
17:28 adam789654123 SpeedEvil for the initial read, then an interval to the next read
17:29 SpeedEvil sampling is somewhat problematic as you can miss bounces, or bounces can mean you misread the state
17:37 robotust1a robotustra.ca/my-robot-done
17:37 robotust1a small update
17:37 adam789654123 hey robotust1a
17:37 robotust1a hi
17:37 adam789654123 great to hear
17:37 adam789654123 :D
17:38 robotust1a I mean http://robotustra.ca/my-robot-done
17:39 adam789654123 lets see what W3M finds there
17:39 adam789654123 :P
17:39 robotust1a www.robotustra.ca should work also
17:40 adam789654123 SpeedEvil anonnumberanon: i was wrong, you want to do the initial read immediately, then wait a certain time for a stable state
17:40 adam789654123 :D
17:41 SpeedEvil It depends on if you're polling or interrupt driven
17:42 adam789654123 yeah
17:42 Snert_ robotust1a: that looks like a heli swashplate :)
17:42 adam789654123 this would be the interupt model i guess?
17:42 adam789654123 contact -> read -> wait Xms -> do-something-if-still-contacting
17:43 anonnumberanon adam789654123, ill hook mine up to interrupts, and I found a way to keep it from messing with my timing critical operations
17:43 anonnumberanon ;)
17:43 adam789654123 yeah.... interupts are in a certain fundamental respect far supperior to polling
17:43 robotust1a Snert_: what do you mean?
17:44 anonnumberanon adam789654123, actually they work together
17:44 Snert_ the eyeball swivel thing - looks like a heli swashplate.
17:44 adam789654123 ahh.....
17:44 adam789654123 anonnumberanon: like the clock end is the polling end?
17:44 adam789654123 if you have a processor
17:44 anonnumberanon adam789654123, you turn on interrupt if you see the button press, and in the interrupt you poll it to see if it was really a press
17:44 robotust1a it's yeah, it's just a Cardano's joint
17:45 adam789654123 ahhh..... i see
17:45 robotust1a used everywhere
17:45 robotust1a 2 DOF suspension
17:45 adam789654123 ever read "I Woz"?
17:46 adam789654123 its a fun easy to read book by Steve Wozniak where he talks about gowing up, hepling start apple, and his life after apple
17:46 anonnumberanon yeah it's probably a lot better for us doers than the book on Jobs
17:46 adam789654123 haha
17:46 anonnumberanon the "talker"
17:47 adam789654123 i definely love the vibe of Wozniak
17:47 adam789654123 Jobs never really interested me too much
17:47 adam789654123 he seemed more the corporate culture guy
17:48 robotust1a he is just a junkie
17:48 adam789654123 when he was a kid, he would look at the design of computers and figure out ways to design the same computer using fewer components
17:48 robotust1a burned his brain with asid
17:48 adam789654123 who?
17:48 robotust1a Jobs
17:48 adam789654123 oh
17:48 robotust1a LSD I mean
17:48 adam789654123 ic
17:48 Snert_ Steve ripped off Woz - Woz made a board using 1 less chip. Steve kept the bonus $.
17:49 orlock thats what businesspeople do
17:49 orlock cisco stole the original router concept/design
17:49 adam789654123 Woz also said Jobs paid Woz 50 bucks (i think) for writting Breakout, for which he make something like thousands
17:49 adam789654123 on just the contract
17:50 adam789654123 he lied to Woz about how much the contract was for
17:50 adam789654123 pretty sh*tty thing to do
17:50 Snert_ and they didnt curt in the hardware guy that made the appleII PSU.
17:52 adam789654123 Snert_: can you rewrite that. i dont understand.
17:52 Snert_ the guy that designed the AppleII PSU - they did not cut him in on the shares of Apple.
17:53 robotust1a I see today are business talks?
17:53 robotust1a better go do something
17:53 robotust1a like me
17:53 robotust1a drilling bolting etc
17:54 adam789654123 cya robotust1a
17:54 adam789654123 Snert_: yeah... i see.... typical corporate, imo
17:55 Snert_ yea, but this was before they were even out of the garage
17:55 Snert_ Steve was a jerk.
17:55 Snert_ One that I admire quite alot.
17:56 adam789654123 yeah... i just dont think i would be able to stand the man personally
17:56 adam789654123 genius i guess is not my only qualitifaction for acceptability
17:58 robotust1a to be succsessful you need just to be sociopatic enough
17:58 robotust1a it's simple
17:59 adam789654123 well... even sociopaths need luck
17:59 adam789654123 many of them wind up in prison and such
17:59 robotust1a and knowledge
18:00 anonnumberanon Hey your robot rolls now.
18:00 anonnumberanon :)
18:00 anonnumberanon My robot will be able to ride your robot soon,
18:01 robotust1a I'm boing a box right now
18:01 robotust1a bada base
18:01 robotust1a wheeled base
18:03 anonnumberanon can it go faster than that video you have?
18:04 robotust1a no
18:04 anonnumberanon and i know it only drives two whells right now
18:04 robotust1a I did slow speed
18:04 anonnumberanon what is the drill video you put on the page?
18:04 anonnumberanon with the drill
18:04 robotust1a to not ruin everything in appartment
18:05 robotust1a linear speed ia about 1 m/s it's 3.6 km/hour
18:05 robotust1a it's more than enough for home mooving
18:05 anonnumberanon it's okay i didn't say your robot is a slow poke :)
18:05 robotust1a The ronot Loki runs even slower
18:05 robotust1a robot Loki
18:06 anonnumberanon i haven't seen that one yet
18:06 robotust1a http://www.dshinsel.com/loki/
18:06 robotust1a this one
18:06 robotust1a https://www.youtube.com/watch?v=kxlHr75BJAw
18:07 robotust1a big acceleration means big waste of energy
18:09 anonnumberanon Hey he has a ROBONOVA!!!!!!!
18:10 anonnumberanon https://www.youtube.com/watch?v=VOMWU9hhshM
18:18 robotust1a actually I can increase the speed of my robot either replasing pulleys on wheels, or just pullint motor with reductor 180 rpm for instance
18:19 anonnumberanon yours looks a bit more fast than loki
18:22 anonnumberanon i gotta go back and write some code
18:22 anonnumberanon and solder
18:22 robotust1a :)
20:24 adam789654123 im wondering of the pause in the computer recognizing a press and hold operation has to do with switch bouncing at the hardware level
20:24 adam789654123 or... the way that the software deals with such switch bouncing
20:25 adam789654123 or some such
20:25 adam789654123 more to the point, it would be cool if the computer recognized a press and hold much faster
20:26 adam789654123 for example, if you open a text editor and press and hold x, i get something like: print 'x', [pause for a split second], print 'x', print 'x', etc...
20:26 adam789654123 it would be awsome to get rid of the pause
20:26 adam789654123 or at least make it much shorter
20:27 adam789654123 im willing to bet that each key is pressed down for a *much* smaller amount of time when typing than this inbuilt pause
20:36 anonnumberanon wow yes, buttons really are shit
20:38 anonnumberanon adam789654123, yeah you can change the speed in the source code of course, you could change it to writing one page worth of Xes in a fraction of a second from hitting the x key
20:40 adam789654123 as a user of emacs, i often use the text editor as if a joystick
20:40 adam789654123 it would be *awsome* to get this joystick to work better
20:40 adam789654123 :D
20:41 anonnumberanon i don't u;nderstand
20:41 adam789654123 because i am using the directional keychords to navigate to some position
20:41 adam789654123 for example
20:42 adam789654123 [ctrl] + n at the same time moves me to the next charater
20:42 adam789654123 *character
20:42 adam789654123 if i hold it down in order to traverse a larger area, i would like the response time to be faster
20:43 adam789654123 this might be analogous to you pressing the right arrow
20:44 rue_mohr you do?
20:45 anonnumberanon yeah just like when you set the coook time on an oven, if you press longer the minutes go up faster
20:45 anonnumberanon can you change the source to maek it happen adam789654123 ?
20:46 adam789654123 hey rue_mohr
20:46 adam789654123 long time no see
20:46 adam789654123 :D
20:46 rue_mohr I C all the time!
20:46 adam789654123 haha
20:46 adam789654123 :D
20:46 rue_mohr but I dont c++
20:46 adam789654123 me neither
20:46 adam789654123 i think C is awsome, but C++ seems confusing
20:47 adam789654123 too many edge cases
20:47 adam789654123 im gonna look into this further some time
20:47 anonnumberanon adam789654123, i finished the button i wish you could try it
20:47 anonnumberanon heh
20:47 anonnumberanon it makes this cool beep
20:47 adam789654123 i wish i could too
20:47 adam789654123 :D
20:48 adam789654123 i have an appreciation into the care that went into it
20:48 adam789654123 :D
22:44 _moon hay rue
22:48 rue_shop3 hey
22:48 rue_shop3 did you bring the helmet!?
22:48 rue_shop3 _moon,
22:56 rue_shop3 _moon
23:17 rue_mohr theBear,
23:18 rue_mohr you alive?
23:18 adam789654123 hey rue_mohr
23:18 e_mohr pokes theBear with a s
23:18 adam789654123 ill talk to you
23:18 adam789654123 :P
23:18 adam789654123 :D
23:18 rue_mohr I want thebear
23:18 e_mohr jabs theBear harder to see if he's a
23:18 am789654123 scurries off cr
23:18 e_mohr tires just poking theBear repeat
23:19 rue_mohr arg
23:19 rue_mohr adam789654123, do you do company webpages?
23:19 adam789654123 no
23:19 rue_mohr well then what good are you?
23:19 adam789654123 ive just done basic html
23:19 e_mohr pokes theB
23:19 Tom_itx rue_mohr do you ned somebody?
23:19 adam789654123 good for somethnig else i hope
23:20 rue_mohr adam789654123, :) your fine
23:20 adam789654123 :D
23:20 rue_mohr Tom_itx, company needs a new webpage
23:20 rue_mohr what it needs is someone with knowledge, lots of time, and not much required wage
23:22 adam789654123 too bad its not much knowledge
23:22 adam789654123 :P
23:23 adam789654123 to bad it isnt.... "with little knowledge"
23:23 adam789654123 XD
23:25 rue_mohr hmm who is the dummer in the band "kick axe"
23:26 rue_mohr Larry Gillstrom
23:26 rue_mohr perfect
23:30 adam789654123 kick axe eh?
23:30 adam789654123 any good
23:30 adam789654123 the name sounds metal
23:30 adam789654123 2me
23:30 rue_mohr yea
23:31 rue_mohr I know larry, he might do web pages
23:31 adam789654123 awsome
23:31 adam789654123 now im required to check it out, since you know Larry
23:31 adam789654123 then i can say, i know a guy that knows Larry
23:31 adam789654123 :P
23:34 adam789654123 ill check it out later though
23:34 adam789654123 dont expect a quick review or anything
23:34 adam789654123 :)