#robotics | Logs for 2011-10-22

Back
[00:11:33] <RyanS> Anyone familiar with forced convection heat transfer theory? I'm trying to find a formula for air temperature versus element wattage for this fan heater I'm designing http://clients.rasvisual.com/temp/80mm_heater.pdf
[00:30:32] ifny_ is now known as ifny
[00:33:10] <zhanx> https://lh6.googleusercontent.com/-6k06GiROYZk/TqJTXiHsotI/AAAAAAAACxQ/1X0W7dOKWhw/s640/IMAG0643.jpg
[00:33:22] <zhanx> https://lh4.googleusercontent.com/-rwVG0icTGqw/TqJTbRA-bII/AAAAAAAACxY/roY3qUamagA/s400/IMAG0644.jpg
[06:42:40] Steffann is now known as Steffanx
[08:22:06] Graxe_ is now known as Graxe
[08:28:04] Graxe_ is now known as Graxe
[08:35:00] Graxe_ is now known as Graxe
[08:59:08] <pepsi_> HELLO
[08:59:19] <pepsi_> why am i being publicly logged?
[08:59:20] <pepsi_> that's not nice
[08:59:47] <Tom_itx> big brother is watching you
[09:01:03] <pepsi_> i don't like it
[09:01:07] <pepsi_> hello tom
[09:01:15] <theBear> 'cos we wanna remember our time together
[09:01:23] <pepsi_> sexy
[09:01:27] <Tom_itx> when we sober up?
[09:01:39] <pepsi_> so what goes on in here?
[09:01:40] <pepsi_> cool stuff?
[09:02:01] <Tom_itx> pepsi_ are you into arm?
[09:02:10] <pepsi_> i want to be
[09:02:16] <Tom_itx> want a free one?
[09:02:23] <pepsi_> does it suck?
[09:02:33] <Tom_itx> st micro
[09:02:37] <pepsi_> ok
[09:03:12] <Tom_itx> http://www.st.com/internet/evalboard/product/252419.jsp?WT.ac=p2_bn_sep11_stm32f4discovery
[09:03:19] <pepsi_> tom, im getting surgery in 3 days
[09:03:53] <pepsi_> i have to register :(
[09:03:56] <pepsi_> is it really worth it?
[09:04:05] <Tom_itx> it's got mems etc on it
[09:04:25] <Tom_itx> cortex4
[09:04:55] <Tom_itx> what's not to be worth free?
[09:06:24] <pepsi_> it's pending approval
[09:06:27] <pepsi_> will they approve?
[09:06:40] <Tom_itx> do they know you?
[09:06:40] <pepsi_> no
[09:06:44] <Tom_itx> probably
[09:06:47] <pepsi_> k
[09:35:43] <rue_bed> pepsi!
[09:36:55] <rue_bed> hmmm
[09:37:11] <rue_bed> pepsi_, if you dont want to be logged then dont be here...
[09:38:09] <rue_bed> the idea of a channel is to share information
[09:38:26] <rue_bed> cats woke me uuuuuup
[09:38:44] <Tom_itx> maybe they're hungry
[09:39:11] <rue_bed> prolly
[09:39:17] <rue_bed> two little eating machines
[09:39:32] <Tom_itx> do they eat your carpet and curtains?
[09:49:03] <pepsi_> fuck off rue
[09:49:05] <pepsi_> god dammit
[09:49:10] <pepsi_> who asked you
[09:50:00] <Tom_itx> a little hostility there?
[09:50:08] <pepsi_> a little
[10:14:57] Kevin is now known as Guest13453
[10:19:25] ifny_ is now known as ifny
[10:49:49] Tom_L is now known as Tom_itx
[11:27:07] <mindw0rk> Tom_itx, so are those board free free or just free as long as you pay the price for the parts?
[11:27:13] <mindw0rk> boards*
[11:27:46] <rue_shop2> I tink their free as long as you promise never to develop a product that uses that board as a component
[11:27:56] <rue_shop2> gee I like my model M
[11:28:25] <Tom_itx> mindw0rk yes
[11:28:31] <mindw0rk> so how do you order one?
[11:28:40] <Tom_itx> you need to be in the us
[11:28:49] <mindw0rk> meh, that sucks balls.
[11:28:49] <Tom_itx> or the get one free button is missing
[11:28:53] <Tom_itx> i know
[11:29:57] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/rue/free.jpg
[11:30:03] <Tom_itx> that's what ours looks like
[11:30:57] <rue_shop2> if your not in the usa you dont get free ones
[11:31:12] <Tom_itx> kinda sucks
[11:32:31] <rue_shop2> ok I have a new lcd
[11:32:38] <rue_shop2> "new"
[11:33:42] <rue_shop2> half hour before the robotics kid might show up
[11:33:53] <Tom_itx> still haven't gotten that goin rue?
[11:35:38] <Tom_itx> it's got directional leds so when you tilt the board the led lights for that direction
[11:36:21] <Tom_itx> part of the demo
[11:36:32] ifny_ is now known as ifny
[11:40:52] <rue_shop2> "weeee"
[11:40:56] <rue_shop2> ;)
[11:41:34] <atom1> http://www.youtube.com/watch?NR=1&v=X7t3I674yH8
[11:44:01] <rue_shop2> I'm gonna chew away on this lcd right now
[11:52:34] <rue_shop2> odd, exact same results
[11:52:48] <rue_shop2> EXACT
[11:53:16] <Tom_itx> what are you doin wrong then?
[11:54:30] <rue_shop2> dont know, but its consistant
[11:54:50] <rue_shop2> the datasheet I have wrong? pin 40 IS PA0 yes?
[11:56:00] <Tom_itx> yup
[11:56:51] <rue_shop2> I dont get it...
[11:57:34] <Tom_itx> the only thing you didn't do was wire up that one pin
[11:57:43] <Tom_itx> and maybe check the memory map in the .h file
[11:57:47] <rue_shop2> no I did do that the other time
[11:57:57] home_ is now known as home
[11:58:00] <rue_shop2> I'm back to my origional code now
[12:00:09] <rue_shop2> why , off the micro, am I using bits 0-3 and your using 4-7...
[12:01:29] <Tom_itx> just how i mapped it
[12:01:51] <Tom_itx> you suppose??
[12:02:06] <rue_shop2> I dont think I wiried mine wrong
[12:02:21] <Tom_itx> i know mine works i'm using one
[12:02:29] <rue_shop2> mine used to work
[12:02:40] <Tom_itx> not that your's doesn't
[12:02:55] <rue_shop2> maybe this delay dosn't work anymore with the gcc changes cause it has no NOP
[12:04:06] <rue_shop2> AHA!
[12:04:12] <rue_shop2> much closer
[12:04:20] <Tom_itx> you'd better get to the bottom of it today
[12:04:28] <Tom_itx> or i will begin to doubt your ability :)
[12:04:53] <rue_shop2> I havn't thouroughly shamed myself with this yet?
[12:05:15] <rue_shop2> it looks like the new gcc optimizes out empty loops
[12:05:20] <rue_shop2> so the delay wasn't working
[12:05:28] <Tom_itx> it may
[12:05:40] <rue_shop2> gcc is the only thing that changed
[12:06:13] <MDesade> morning all
[12:08:34] <Tom_itx> rue_shop2, what gcc ver?
[12:08:43] <MDesade> i got good news: i met some 3d printer / reprap / CNC guys at this makerfaire last weekend, and i am visiting their shop in about an hour when they open, and they offer a class literally about retrofitting or making your own CNC!!
[12:09:52] <home> where?
[12:10:07] <MDesade> which, the class is monday, here in Phoenix (tempe)
[12:10:11] <home> damn
[12:10:48] <Tom_itx> i'm using the winavr stuff so it hasn't changed in quite a while
[12:11:41] <MDesade> http://www.makerbench.com/2011/build-your-own-desktop-cnc-mill-class-session-b/
[12:12:10] <rue_shop2> yup, its the delay
[12:12:58] <MDesade> once again though, i just wanted to thank you guys for helping me with some guesstimations in retrofitting my smithy, and getting a fire under my ass...
[12:13:19] <home> I hate being a student :/
[12:13:40] <rue_shop2> HEH, THIS IS ONE of those lcd's that the first 8 characters are mapped to a different memory segment than the last 8
[12:13:59] <rue_shop2> home, you have better job opportunities as a student than you do as a graduate
[12:14:53] <home> Thats great :D
[12:15:25] <rue_shop2> so become a student, get a job, and when the job ends, go back to school
[12:16:35] <MDesade> (i hated being a student too) college is frustrating, and compounded with the buerocracy they deliberately add into the process to "teach you to follow steps"
[12:17:17] <MDesade> i particularly hated college, when i went back in my thirties, since i was older than my classmates, and had little to nothing in common with them
[12:28:45] <rue_shop2> interesting, I have an lcd here that they used the 4 unused data lines for a keypad
[12:29:17] <rue_shop2> well sorta, they moved the d4-d7 to the d0-d3 positions and then used the tohers for the keypad
[12:34:30] <rue_shop2> well sorta, they moved the d4-d7 to the d0-d3 positions and then used the tohers for the keypad
[13:28:28] <rue_shop2> funny really, I just crossed the 2nd pcb I ever etched, and its a generic keyboard with leds
[13:29:46] <rue_shop> the two ideas I have left, are to hack a remote control...
[14:11:45] <home> I dont think age really matters
[14:12:00] <home> its more about the personality of the person, and how they relate to others.
[14:29:02] <pepsi_> Tom_itx, why is your website so awfully slow?
[14:29:52] <pepsi_> are you on a modem?
[14:38:01] <rue_shop2> is flyback related to you? directly?
[14:38:59] <zhanx> lol
[14:39:42] <rue_shop2> pepsi was one of our really smart ones, something caused him to go downhill really fast
[14:40:34] <zhanx> hmmm
[14:40:37] <zhanx> drugs
[14:40:40] <zhanx> must be that
[14:41:31] <rue_shop2> zhanx, I dont get this, everyone has made a hd44780 library, nobody has made a menu or keyboard library
[14:41:32] <rue_shop2> zhanx, thats what I suspect
[14:41:32] <zhanx> rue_shop2, brb i have a menu *somewhere* in the middle of upgrade and redoing my code base system so i may not find it
[14:41:40] <zhanx> its a 5 button menu system
[14:41:57] <zhanx> up/down/left/right/enter
[14:42:11] <rue_shop2> I put an escape on my keybaord too
[14:42:33] <rue_shop2> and F1, F2, F3, cause there was a line I wasn't gonna otherwise use
[14:43:08] <rue_shop2> I'm just trying to either justify using a bunch of io lines or building a hardware decoder aid.
[14:43:17] <zhanx> this was for a 16x4 if i remember right but i think its on cd
[14:43:25] <zhanx> not sure which one
[14:44:02] <rue_shop2> while digging thru junk I found a 32 segment lcd driver
[14:44:48] <rue_shop2> I suspect I should just use the 8 io lines and hook up the keyboard
[14:45:04] <zhanx> nice, i found a pair of serial 4 digit 7 char led's
[14:45:05] <rue_shop2> otherwise I'm gonna spill onto another breadboard
[14:45:17] <rue_shop2> serial!?
[14:45:22] <zhanx> yep
[14:45:27] <rue_shop2> who makes 'em?
[14:45:29] <zhanx> sparkfun
[14:45:30] <rue_shop2> hp?
[14:45:33] <rue_shop2> aaaah
[14:45:46] <rue_shop2> so their not really serial led, their serial led boards
[14:45:55] <rue_shop2> did they use the maxim chip?
[14:45:58] <rue_shop2> or just an avr?
[14:46:21] <zhanx> http://www.sparkfun.com/products/9765
[14:46:23] <zhanx> an avr
[14:47:29] <zhanx> think i need one more and i will do real time xyz on my cnc, since i have to program it i might as well add all the bells and whistles to it
[14:59:44] <pepsi_> tom-log, why is your internet so slow?
[14:59:51] <pepsi_> stfu
[15:00:05] <pepsi_> that's fuckin tobbor
[15:00:08] <pepsi_> jesus christ
[15:04:43] <Tom_itx> confused?
[15:09:19] <pepsi_> very
[15:21:13] <rue_mohr> pepsi_, you get one language warning and this is it, ok?
[15:25:36] <pepsi_> shut up
[15:56:18] Mowcius is now known as Guest93878
[15:57:12] Mowcius_Desktop is now known as Mowcius
[16:49:16] <rue_shop2> ok sweet, I have a lcd with keyboard and menu
[16:49:39] <rue_shop2> now I can use it to adjust timing paramiters to test the pneumatic valves for the mecha
[16:50:50] <rue_shop2> oops, the project name is still simple_lcd
[16:51:42] <rue_shop2> I need to know the min pulse width...
[17:09:16] <Tom_itx> so you never said what gcc it was
[17:53:16] <rusty2011> clear
[18:45:56] marloshouse_ is now known as marloshouse
[19:06:26] <rue_mohr> <rue_shop2> 4.3.5
[19:06:50] <rue_mohr> 4.3.5 shipps with debian
[19:08:18] <Tom_itx> so with a NOP it would have worked?
[19:08:32] ifny_ is now known as ifny
[19:21:48] <rue_mohr> yes
[19:22:12] <rue_mohr> #define NOP asm...
[19:23:34] <Tom_itx> rue_mohr
[19:23:38] <Tom_itx> what are you working on?
[19:35:02] <rue_mohr> taking off my pants
[19:35:30] <rue_mohr> now I'm going shopping
[19:35:43] <Tom_itx> with no pants?
[19:35:53] <rue_mohr> when I come back, I might work on setting up the variable pulse code for testing the mecha valves
[19:36:05] <Tom_itx> somebody better keep me awake here
[19:37:41] <Kimlaroux> lol
[19:38:45] <nano> hello??
[19:38:57] <Tom_itx> nano nano
[19:40:51] <nano> I just joined the robotics club, can you tell the basics?
[19:41:03] <nano> and what I should Know
[19:42:02] <nano> ?
[19:42:16] <Tom_itx> that is a broad topic
[19:42:59] <nano> lol ok
[19:43:04] <nano> how old are you?
[19:43:28] <Tom_itx> 169
[19:43:29] <nano> I mean are you in a club, or are you professional ?
[19:43:37] <Tom_itx> neither
[19:43:53] <nano> ok
[19:43:59] <nano> a hobby?
[19:44:03] <Tom_itx> yes
[19:44:06] <nano> ok
[19:44:17] <nano> what programming language is used to make robots?
[19:44:19] <nano> mainly
[19:44:24] <Tom_itx> c
[19:44:45] <nano> what about java>
[19:44:53] <Tom_itx> what about it?
[19:44:59] <nano> is it used?
[19:45:07] <Tom_itx> i drink it sometimes
[19:45:12] <nano> lmao
[19:45:14] <nano> for real
[19:45:35] <Tom_itx> not if you're serious
[19:45:44] <Tom_itx> C is the main language
[19:45:49] <Tom_itx> asm would be next
[19:45:53] <Tom_itx> i guess
[19:45:56] <nano> kk
[19:46:07] <Tom_itx> some would argue that
[19:46:19] <Kimlaroux> I vote for asm second
[19:46:25] <nano> so can you give me a brief analysis of making a robot like the steps and what not
[19:46:36] <nano> and the postions
[19:46:36] <Kimlaroux> and yeah, people could say asm then C
[19:46:45] <nano> i know their is the mechanical part
[19:46:48] <nano> electrical part
[19:46:50] <nano> and ai
[19:46:53] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/
[19:46:53] <nano> IS THAT IT?
[19:46:56] <nano> caps
[19:47:03] <Tom_itx> some of what i have done
[19:47:17] <nano> link doesnt work
[19:47:27] <nano> what do you do for a profession?
[19:47:53] <Kimlaroux> http://letsmakerobots.com/start
[19:48:26] <nano> nope doesn't work
[19:48:57] <Tom_itx> you better fix your brouser then
[19:49:29] <nano> my browser is fine its just the 2 links you gave me
[19:49:37] <nano> i even opened it through google
[19:49:40] <nano> the website is down
[19:49:51] <Tom_itx> they both work here
[19:50:24] * Kimlaroux raises an eyebrow.
[19:51:17] * nano put Kimlaroux and Tom_itx in his pocket for future problems.
[19:51:28] * Tom_itx falls asleep
[19:52:58] * nano throughs cold water in Tom_itx 's face
[19:55:16] <Tom_itx> ok dammit. i made a nice box for my calipers and now i can't find the cad model
[19:55:42] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/temp/caliper.jpg
[19:56:46] <Tom_itx> oh there it is
[19:58:35] <Tom_itx> nope wrong file
[19:59:45] <Kimlaroux> What's the square piece of metal for?
[19:59:55] <Tom_itx> it's a gage block
[20:00:02] <Tom_itx> 1" exactly
[20:00:39] <Kimlaroux> That's what I thought... Interesting, first time I see a measuring tool that comes with tools to gage it
[20:00:57] <Tom_itx> it didn't
[20:00:59] <Tom_itx> i bought it
[20:01:44] <Tom_itx> picked up another one that's .1" the other day
[20:02:45] <Kimlaroux> So... how comes the box has a place to hold it?
[20:02:55] <Tom_itx> because i made the box
[20:03:05] <Tom_itx> thus the search for the cad model
[20:03:15] <Kimlaroux> CNC milled?
[20:03:16] <Tom_itx> so i can add a slot for the .1 block
[20:03:18] <Tom_itx> yes
[20:03:21] <Kimlaroux> Nice =P
[20:03:42] <Tom_itx> but apparently i don't have it anymore
[20:04:31] <Kimlaroux> that sucks... but why do you really need it?
[20:04:42] <Kimlaroux> all you need is to dig a hole at the right place
[20:04:43] <Tom_itx> because i don't want to start over
[20:05:20] <Kimlaroux> Do you really have to..?
[20:05:24] <Tom_itx> no
[20:05:30] <Tom_itx> but i was gonna add it to the model
[20:05:35] <Kimlaroux> Ah
[20:06:22] <Tom_itx> it's probably on the other pc but i'm not gonna search there right now
[20:08:00] <Tom_itx> http://www.travers.com/skulist.asp?RequestData=CA_Search&navPath=All+Products%2F%2F%2F%2FUserSearch1%3Dgage+block&q=block+id+116652+and+class+level3+id+29845&minPrice=$33.99
[20:08:46] <Kimlaroux> Woha! That's expensive for a square piece of metal
[20:09:01] <Tom_itx> they are more than a cheap pair of calipers
[20:09:02] <Tom_itx> yes
[20:09:29] <Tom_itx> mirror finish
[20:09:33] <Kimlaroux> and they can only give one measurement?
[20:09:52] <Tom_itx> that's what they are for
[20:10:00] <Tom_itx> and generally are certified
[20:10:34] <Tom_itx> http://www.travers.com/skulist.asp?RequestData=CA_Search&navPath=All+Products%2F%2F%2F%2FUserSearch1%3Dgage+block&q=block+id+91924+and+class+level3+id+29845&minPrice=$1,484.99
[20:10:38] <Tom_itx> would you like a whole set?
[20:10:47] <Kimlaroux> I'm surprised they aren't graded at a certain temperature...
[20:10:54] <Tom_itx> they are
[20:11:01] <Kimlaroux> WOW!
[20:12:33] <Tom_itx> they have round ones too
[20:12:52] <Kimlaroux> I think the sizes are wrong on this page...
[20:13:05] <Kimlaroux> .1001" thru .1009" 81 pieces?
[20:13:41] <Tom_itx> http://www.travers.com/skulist.asp?RequestData=CA_Search&navPath=All+Products%2F%2F%2F%2FUserSearch1%3Dgage+block&q=block+id+91931+and+class+level3+id+29845&minPrice=$314.99
[20:13:46] <Tom_itx> you want a good set now?
[20:14:26] <Kimlaroux> =/
[20:14:35] <Tom_itx> they come with serial numbers
[20:14:42] <Tom_itx> just a block of metal.
[20:15:08] <Kimlaroux> $8,747.99
[20:15:29] <Kimlaroux> I think that's what I get in a year for college
[20:15:50] <Tom_itx> but that goes to 4"
[20:16:14] <Tom_itx> anyway...
[20:16:24] <Kimlaroux> Who needs such a set?
[20:16:28] <Kimlaroux> besides NASA
[20:16:34] <Tom_itx> a good machine shop
[20:16:47] <Tom_itx> plus alot more measuring equipment
[20:17:21] <Kimlaroux> so it's basically used exclusively for gaging tools
[20:17:48] <Tom_itx> they are only used to verify that the other measuring equipment is reading correctly
[20:18:05] <Tom_itx> or at least they should be
[20:18:19] <Kimlaroux> impressive
[20:18:22] <Tom_itx> my 1" is kinda beat up
[20:22:54] <Tom_itx> i think technically they are required to be recertified every year which involves a lab company coming to your shop and taking them back to a controlled environment to test them
[20:25:33] <Kimlaroux> At this point, why not just hire a company to come a test all your equipment?
[20:27:58] <Tom_itx> they do
[20:28:29] <Tom_itx> but things like that are tested in a controlled environment
[20:32:51] <Tom_itx> ok, new battery in calipers. tired of watching them blink at me
[20:35:18] <theBear> hehe, i woulda just stopped looking at them <grin
[20:35:55] <Tom_itx> hard to do when you're trying to use them bear
[20:37:07] <theBear> anyone got a nice neat favourite trick for 2nd dns server and backup web/mail setup ? like for example, primary and backup dns both "static" setups, both point at their own server, backup server auto-forwards mail to primary mailserver, and has some kinda basic fallover for the backup website vs forwarding... ?
[20:37:18] <theBear> Tom_itx, yeah, i was just being silly :)
[20:41:52] <Tom_itx> as usual
[20:41:55] <Tom_itx> silly bear
[20:42:04] * Tom_itx gives theBear a pot of honey
[20:42:27] <theBear> hehe
[20:44:21] <rue_mohr> theBear, you mean local dns?
[20:45:20] <rue_mohr> gee, only $9000 for peices of steel!?
[20:45:32] <theBear> rue_mohr, i mean authoritive and backup real dns...
[20:45:43] <rue_mohr> you mean in the real world?
[20:45:45] <theBear> Name Server: ns1.fcit.com.au
[20:45:46] <theBear> Name Server IP: 60.241.6.92
[20:45:46] <theBear> Name Server: ns2.fcit.com.au
[20:45:46] <theBear> Name Server IP: 203.213.92.40
[20:45:50] <theBear> whois info
[20:45:56] <theBear> 2nd one is my house
[20:46:08] <rue_mohr> priorities, if one dosn't respond the other is asked
[20:49:55] <Kimlaroux> rue_mohr, Is the laser positioning system still a WIP or is it dead?
[20:50:20] <rue_mohr> its back burner, is there anything you wanted to know?
[20:51:11] <theBear> rue_mohr, obviously, but both ns servers also housing web and mail, how do i handle the case of 1st server down ? that little example i gave works fine for mail, assuming you don't want to "pickup" the mail while the primary server is "down", but flipping a website is messy, and redundant webservers with ANY degree of update-delay is kinda shitty for a production site...
[20:51:11] <Kimlaroux> I talked about the problem to my linear algebra teacher and now he can't sleep at night until he finds an algorithm to it
[20:51:40] <rue_mohr> theBear, you can have secondary mx records
[20:51:50] <rue_mohr> Kimlaroux, I solved it
[20:51:54] <rue_mohr> took me a week
[20:51:55] <theBear> i can have JUST a "server down blah" webpage on the 2nd server and have it point the main web address at itself, but then if a "smart" client chooses the 2nd dns for some reason it gets the out of service page when the first server is up
[20:52:05] <rue_mohr> !assist robots
[20:52:05] <tobbor> Possibly http://eds.dyndns.org/~ircjunk/robots
[20:52:27] <rue_mohr> http://eds.dyndns.org/~ircjunk/robots/abspos/code/problem.html
[20:52:31] <rue_mohr> Kimlaroux, ^^
[20:52:37] <theBear> aiming the mail is easy, having it forward/local deliver/maybe with option of local boxes -> remote when remote server is back up is all easy, but the webserver i dunno
[20:52:57] <theBear> it's not the first time i've considered/looked at the problem, but i want a "better way"
[20:53:05] <rue_mohr> theBear, the failover only works if the server dosn't respond at all
[20:54:21] <rue_mohr> Kimlaroux, ?
[20:54:32] <Kimlaroux> reading it...
[20:54:59] <rue_mohr> theBear, I'm really not good with dns
[20:55:21] <rue_mohr> I have to learn all over again every time I do soemthing and I usually end up hacking it anyhow
[20:55:34] <rue_mohr> I dispise dig, I want nslookup back
[20:57:10] <rue_mohr> so today I got an avr operating an lcd, and keyboard, with some menu code
[20:57:29] <rue_mohr> I need to sleeken my keyboard code a little tho
[20:58:21] <theBear> pretty sure these days you should have both, but i like dig for more than basic lookups
[20:58:41] <rue_mohr> nslookup is 'obsolete'
[20:58:51] <rue_mohr> digs supposed to replace it
[20:59:58] <rue_mohr> mmm I want a multihead touchscreen
[21:00:26] <Kimlaroux> rue_mohr, can the robot track it's movement on the ground? or is the idea to avoid this?
[21:00:44] <rue_mohr> this is for random terrain
[21:00:51] * Kimlaroux nods.
[21:00:55] <Kimlaroux> it's what I thought
[21:00:58] <rue_mohr> the idea is to expand it to a beacon field
[21:01:03] <rue_mohr> the robot just picks 3 it likes
[21:01:57] <rue_mohr> it would use prediction to optimize its beacon search
[21:02:18] <rue_mohr> just scan narrow areas where it thinks there should be a beacon
[21:02:33] <Kimlaroux> smart
[21:02:46] <Kimlaroux> The real problem is computing power though, is it?
[21:02:51] <rue_mohr> no
[21:03:03] <rue_mohr> an avr should be abel to do that math within 1 second
[21:03:17] <rue_mohr> if I finish it, I dont have it whittled all the way down to x,y
[21:03:17] <Kimlaroux> so what about using matrix solving?
[21:03:51] <rue_mohr> I dont like matrixes, I find that they incurr lots of useless processor expendature
[21:04:15] <rue_mohr> you can do sudo-matrixes for much less computation
[21:04:53] <Kimlaroux> yeah I suppose it's a whole different game translating all that into machine code that runs on µc
[21:05:21] <rue_mohr> the next step with that is to write some PC code that uses opengl to simulate everything
[21:05:27] <rue_mohr> er SDL
[21:05:29] <rue_mohr> is easier
[21:06:24] <rue_mohr> Kimlaroux, be sure to show him that solution so he dosn't drive himself mad
[21:06:46] <Kimlaroux> yeah I'll send him a message now
[21:06:56] <rue_mohr> it took all of #math and #robotics to help me enough to get that far in a week of 24/7 cause I was ill
[21:06:58] <Kimlaroux> I don't know how good his english is though
[21:07:14] <Kimlaroux> I bet =P
[21:07:59] <rue_mohr> hmm, I bet my kinematics library could finish the solution
[21:08:27] <Kimlaroux> M = (AC/AB) * (sin(L ARB)/sin(L ARC)
[21:08:35] <rue_mohr> ?
[21:08:41] <Kimlaroux> I suppose M is the distance between A and the robot?
[21:09:46] <rue_mohr> ....
[21:11:13] <rue_mohr> M is short for
[21:11:41] <Tom_itx> m is for mmmmmmm
[21:11:53] <rue_mohr> 6) isolate for L ABR: sin(L ABR) = (AC/AB) * (sin(L ARB)/sin(L ARC)) * sin(L ACR)
[21:11:53] <rue_mohr> 7) pull our knowns togethor to simplify: M = (AC/AB) * (sin(L ARB)/sin(L ARC)
[21:11:53] <rue_mohr> therefore: sin(L ABR) = M * sin(L ACR)
[21:12:48] <home> anyone here uses Inventor?
[21:12:49] <rue_mohr> M is short for sin(L ABR)/sin(L ACR)
[21:12:52] <home> or designs there robot?
[21:13:03] <rue_mohr> home, I use povray
[21:13:06] <home> or anything else? using CAD?
[21:13:08] <Tom_itx> no
[21:13:15] <Tom_itx> i use cad
[21:13:21] <Tom_itx> sometimes
[21:15:11] <rue_mohr> Kimlaroux, I did this a long time ago
[21:15:24] <home> I am being forced to use Inventor
[21:15:38] <home> well my team is anyways, for a stupid competition.
[21:16:00] <rue_mohr> in(L ABR) = (AC/AB) * (sin(L ARB)/sin(L ARC)) * sin(L ACR)
[21:16:24] <rue_mohr> L ABR is known
[21:16:34] <rue_mohr> L ARB is known
[21:16:42] <rue_mohr> L ARC is known
[21:17:05] <rue_mohr> L ACR isn't known
[21:17:28] <rue_mohr> AC and AB are known
[21:18:14] <rue_mohr> er M = (AC/AB) * (sin(L ARB)/sin(L ARC))
[21:18:38] <rue_mohr> M is the knowns
[21:19:31] <rue_mohr> the idea is that M can be worked out easily, so we pack it all into a single value and ignore where it comes from
[21:20:39] <Kimlaroux> I see
[21:21:25] <Kimlaroux> same for D?
[21:27:15] <rue_mohr> what step is D
[21:27:41] <rue_mohr> pull knowns again to simpify: D = (L ABC - 180 + L BRC + L BCA )
[21:27:43] <Kimlaroux> nvm, I figured it
[21:28:05] <rue_mohr> D and M are all calculated from knowns
[21:28:51] <Kimlaroux> yes but they aren't constants though, so you have to calculate them every time you want a position
[21:29:04] <rue_mohr> not quite all of them
[21:29:17] <Kimlaroux> true
[21:29:20] <rue_mohr> AC and BC are constant
[21:29:32] <rue_mohr> there is room for computational optimization
[21:30:24] <rue_mohr> would you like to help me write a simulation of it?
[21:31:01] <Kimlaroux> I'd love to... but honestly I'm having enough trouble keeping up with college
[21:31:12] <rue_mohr> can you code C?
[21:31:22] <Kimlaroux> it's still on the learning
[21:31:37] <rue_mohr> what can you do, what have you done?
[21:32:06] <rue_mohr> do you run linux or windows?
[21:32:28] <Kimlaroux> I'm getting programming courses in College, so when I'm done I should be competent enough
[21:32:37] <Kimlaroux> been using only Linux for years
[21:32:58] <rue_mohr> what distro?
[21:33:20] <Tom_itx> what's the drill diameter that a 4-40 screw will fit thru?
[21:33:39] <rue_mohr> !assist tutorials/mech
[21:33:40] <tobbor> Possibly http://eds.dyndns.org/~ircjunk/tutorials/mech
[21:33:41] <Kimlaroux> right now I'm running Ubuntu...
[21:33:57] <rue_mohr> Kimlaroux, do you have gcc installed?
[21:34:06] <Kimlaroux> I think so
[21:34:17] <rue_mohr> tom-log,
[21:34:20] <Kimlaroux> yep, I do
[21:34:54] <rue_mohr> 6-32 is 7/64 so 4-40 should be 5/64
[21:35:02] <rue_mohr> I think
[21:35:20] <rue_mohr> Kimlaroux, can you install ...
[21:35:56] <rue_mohr> libsdl1.2-dev
[21:36:53] <Kimlaroux> why would I want to?
[21:37:05] <rue_mohr> :) fun
[21:37:23] <rue_mohr> go for it, I'll give ya some source to play with
[21:37:54] <Kimlaroux> it looks like the type of stuff that makes key logging easier
[21:38:04] <rue_mohr> no
[21:38:09] <rue_mohr> its a graphics library
[21:38:53] <rue_mohr> ... aren't we suspicious...
[21:41:19] <rue_mohr> MICROSOFT JUST AWARDED ME $1000000!!!!! i GOT AN EMAIL FROM TEH UK OFFICE TELLING ME ABOUT IT!!!!
[21:41:35] <Kimlaroux> Better be, in this world :)
[21:41:36] <Kimlaroux> lol
[21:42:12] <theBear> rue_mohr, ooh nice, i'll send a letter to my good friend nigel solatu in south africa letting him know, i'm sure he and his family will be very excited
[21:44:04] <rue_mohr> now I can buy all these p***** growth pills I get emails for!
[21:44:24] <rue_mohr> Kimlaroux, did you want to install SDL?
[21:44:51] <rue_mohr> :) the kittens are tuckered right out after their day outside
[21:45:13] <rue_mohr> I hope they stay like that for atleast 12 hours
[21:45:37] <Kimlaroux> it's tempting, but like I said... I'm having enough trouble focusing on my studies, I have to avoid time consuming curiosities
[21:45:59] <rue_mohr> Kimlaroux, I promise in an hour I'll show you something and be done
[21:46:15] <rue_mohr> and i assure you the odds of it being handy to you later are high
[21:46:24] <Kimlaroux> in an hour or within an hour?
[21:46:29] <rue_mohr> within
[21:46:42] <rue_mohr> it should only be a min to install the lib eh?
[21:49:12] <Kimlaroux> needs to pull 31 dependencies '-_-
[21:49:20] <rue_mohr> :-S
[21:49:32] <rue_mohr> ouch
[21:49:58] <Kimlaroux> that's nothing, you should see what Lazarus pulls
[21:50:12] <rue_mohr> I'll post the code for you to compile with it
[21:50:25] <rue_mohr> its just a simple little math test
[21:50:26] <theBear> rue_mohr, hehe
[21:50:39] <rue_mohr> theBear, you want to play SDL too?
[21:51:26] <theBear> you can't play a graphics/sound/input library !
[21:52:14] <theBear> and if a math test is real quick i can do it i guess, otherwise i gotta lament around the house re: my poor chest/throat/snifflynose and try to do a couple things that i was supposed to do days ago when i popped back home for a day and a half
[21:52:30] <rue_mohr> its the math test for a hexapod leg
[21:52:44] <rue_mohr> forward kinematics
[21:52:57] <theBear> nah, i don't think i'm up for that today
[21:52:59] <rue_mohr> http://eds.dyndns.org/~ircjunk/programming/c/2d.tgz
[21:53:10] <rue_mohr> Kimlaroux, theBear , download that src ^^^
[21:53:29] <rue_mohr> theBear, can you install libsdl1.2-dev ?
[21:54:06] <theBear> i got libsdl-1.2.14-mydistro-r6
[21:54:15] <rue_mohr> lets try it!
[21:54:21] <theBear> mmk, just for you
[21:54:31] <rue_mohr> theBear, well download and unpack the src from me there
[21:54:36] <theBear> and ffs, what is this windowz happy land ? use .tar.gz you big girl
[21:54:42] <rue_mohr> its contents are in a folder called '2d'
[21:54:56] <rue_mohr> :)
[21:55:18] <theBear> and no #!/bin/sh, bad boy
[21:55:25] <rue_mohr> its just a text ref
[21:55:33] <rue_mohr> cat and copy
[21:55:45] <rue_mohr> theBear, well, tell me if it'll compile for ya
[21:56:00] <rue_mohr> it shouldn't have any errors or warnings or anything
[21:56:08] <Tom_itx> rue_mohr
[21:56:12] <rue_mohr> yes?
[21:56:16] <Tom_itx> what are you phishing for?
[21:56:22] <rue_mohr> ? I'm not
[21:56:30] <rue_mohr> I'm trying to stay awake
[21:56:32] <Tom_itx> help?
[21:56:34] <Tom_itx> me too
[21:56:37] <theBear> err, i want sdl-gfx 2.0.22 as well ?
[21:56:47] <rue_mohr> theBear, erm...
[21:57:26] <Tom_itx> rue_mohr
[21:57:29] <rue_mohr> libsdl-gfx1.2-dev <-- damn
[21:57:30] <theBear> SDL/SDL_gfxPrimitives.h and i checked, nothing like SDL_gfx is anywhere on this system
[21:57:35] <Tom_itx> what sort of answers are you after/
[21:57:36] <Tom_itx> ?
[21:57:39] <theBear> i'll try for yer
[21:57:42] <rue_mohr> theBear, Kimlaroux yes, you need libsdl-gfx1.2-dev also... sorry
[21:58:11] <rue_mohr> Tom_itx, I need to know how to maintain immortality, in flesh
[21:58:12] <theBear> stop saying -dev, it makes you sound like a stupid monkey who has only ever used one or 2 distros based on a certain apt-based-system
[21:58:21] <Tom_itx> you can't
[21:58:35] <theBear> your flesh, or any old flesh ?
[21:58:36] <rue_mohr> theBear, automatic transmission, sticks sometimes, but generally less trouble
[21:58:40] <theBear> that lenin guy is looking good
[21:58:56] <rue_mohr> but i WANT to live forever so I can finish a few of my projects damnit
[21:59:12] <Tom_itx> just finish them one at a time
[21:59:14] <theBear> rue_mohr, maybe, unless yer talking to someone with a manual and they keep saying to themselves "park ? drive ? what is he tlaking abou.... ooooh, i see, he's never driven any other car"
[21:59:26] <theBear> rue_mohr, you got a long time to go yet, don't worry about things like that
[21:59:47] <rue_mohr> theBear, does it compile now?
[21:59:52] <rue_mohr> Kimlaroux, how you doing on your deps?
[22:00:20] * Tom_itx goes back to cad cam
[22:00:36] <theBear> got sidetracked , tell yer in a minute
[22:01:08] <Kimlaroux> Unpacking
[22:01:19] <rue_mohr> theBear, maybe I'm wrong, but you sound like your on a 6pack of pain killer?
[22:02:10] <Kimlaroux> Oh FML
[22:02:15] <rue_mohr> Kimlaroux, did you notice the other lib I found you need?
[22:02:20] <rue_mohr> FML?
[22:02:30] <Kimlaroux> f**k my life
[22:02:34] <rue_mohr> why?
[22:02:44] <rue_mohr> thats the code you needed for 2 years now?
[22:02:47] <Kimlaroux> My algebra just sent us half a dozen TI calculator apps...
[22:03:12] <rue_mohr> ok, I dont get it
[22:03:15] <theBear> orright, sdl-gfx built... holds breath
[22:03:25] <Kimlaroux> with a note "Those programs are necessary for the animation project. Their use has been seen in class"
[22:03:34] <Kimlaroux> algebra teacher*
[22:03:45] <theBear> rue_mohr, nah, just woke up, had half a painkiller last night, and a spoon of cough medicine thismorning, but well, i don't remember ever using cough medicine as an adult, so we can be pretty sure i don't feel grea
[22:03:46] <theBear> t
[22:03:49] <rue_mohr> verry co-inncodental
[22:03:49] <Kimlaroux> It's the only class I missed
[22:03:55] <theBear> ooh no errors
[22:04:03] <rue_mohr> oo?? OOO?
[22:04:08] <theBear> oooh, a army thingy
[22:04:21] <rue_mohr> Kimlaroux, then you can get help from anyone else?
[22:04:24] <theBear> hehe i can make it look like half a spider
[22:04:28] <rue_mohr> theBear, its a leg actually
[22:04:35] <Kimlaroux> I don't know anyone else
[22:04:41] <theBear> you must know someone
[22:04:50] <rue_mohr> wow
[22:05:01] <rue_mohr> you can use SDL to make the animation
[22:05:09] <rue_mohr> it can directly made animated gif's
[22:05:13] <Kimlaroux> no, I really don't =)
[22:05:44] <Kimlaroux> That would be cool... but the anim must be done on the TI calc, and we are corrected on the source code
[22:06:06] <rue_mohr> just tryin to help
[22:06:14] <Kimlaroux> I guess I'll have to reverse engineer the source code
[22:06:33] <rue_mohr> Kimlaroux, so, before I lose you completely, did you get that to compile? the command line is in make.sh
[22:06:50] <rue_mohr> theBear, got it working
[22:07:21] <Kimlaroux> still on the dependencies
[22:07:34] <theBear> rue_mohr, err, statement ? question ? err, what ?
[22:07:50] <rue_mohr> statement to kim, tab complete inserts a comma
[22:08:05] <rue_mohr> shoudl I have icecream for supper?
[22:08:33] <Tom_itx> yes
[22:08:35] <Kimlaroux> Oh wow, works
[22:09:16] <Kimlaroux> haha! ice cream is a boss's supper XD
[22:10:34] <Kimlaroux> There seems to be a problem when both the lines gets on top of each others
[22:11:44] <Kimlaroux> Quite impressive, considering how simple the code is
[22:13:15] <Kimlaroux> rue_mohr, is that what you want to use to simulate the laser positioning system?
[22:20:34] <theBear> simple code you say ? always wanted to break into basic graphics programming for the new age (what i did in the 90's doesn't work in modern os's :) maybe i'll have a play later
[22:25:51] <theBear> http://www.youtube.com/watch?v=TAj7S7lyHdA australian racist humour, brilliant (i know rue will like it)
[22:44:02] <rue_mohr> Kimlaroux, ah you got it!
[22:44:32] <rue_mohr> Kimlaroux, yes, thats the type of program i was suggesting for simulating the positioning
[22:44:55] <rue_mohr> theBear, yes, thats as clean as I can get new age simple graphics code
[22:45:02] <rue_mohr> theBear, did you look at main.c?
[22:45:15] <rue_mohr> Kimlaroux, thats all i wanted to show you for now
[22:45:34] <theBear> rue_mohr, nup, been busy doing this and that and well, most recently cleaning up the glass of water i just spilled all over my bedroom desk
[22:45:57] <Kimlaroux> Considering how this lib uses the pointer's XY position... I think it would be more efficient to test the positioning system backward
[22:46:18] <Kimlaroux> like, use the pointer's XY to find the 3 angles
[22:46:21] <rue_mohr> Kimlaroux, :) go do your homework
[22:46:27] <Kimlaroux> I'm on it
[22:46:33] <Kimlaroux> reading source code
[22:46:58] <Kimlaroux> one of the app is using maths that I missed though =/
[22:47:14] <rue_mohr> anyhing we can likley help with?
[22:48:44] <Kimlaroux> Nah thanks, I guess I'll just stomp over my social phobia and go ask another student
[22:48:54] <rue_mohr> when are the people who make these replica watches gonna realize nobody uses a watch anymore?
[22:50:34] <rue_mohr> theBear, do hack that program and see what you can do with it
[22:51:31] <theBear> rue_mohr, next time i think "hey, graphics would be handy" i'll do it
[22:52:06] <rue_mohr> http://www.youtube.com/watch?v=P75b7vqQWRQ <-- if you get that far by morning, I'll be really impressed
[22:52:41] <theBear> in the meantime, anyone got a handy php lib/function or knows a standard one that i've forgotten, for grabbing a bunch of crap out of a mysql table (or just a plain array, whatever, that bit is easy) and displaying it in a nice table without me manually putting a cell tag here and a new row tag there in a bunch of ugly nested loops ?
[22:52:55] <theBear> i SUPPOSE i could put a bunch of ugly nested loops in a function, but that sounds hard this month
[22:52:59] <theBear> or at least tedious <grin>
[22:53:56] <rue_mohr> hmm the console for postgres can export a query as a csv file
[22:54:11] <rue_mohr> maybe mysql can do similar?
[22:56:21] <theBear> it probably could, if not i can make php fake it in 5 seconds flat (grabbing mysql data and table-ising it or really whatever is EASY in php these days) but i'm more about a handy wrapper for "put these billion pieces of data into a nice X*Y sized html table" today
[22:58:36] ifny_ is now known as ifny
[23:35:09] <rue_mohr> ok I added the mecha to my projects list on my timesheet system
[23:52:49] <rue_mohr> Tom_itx, did you update your irq-flashled to not use the obsolete irq call?
[23:54:04] <Tom_itx> huh?
[23:54:38] <rue_mohr> mine used an obsolete way of doing the irq call
[23:54:58] <Tom_itx> check the code
[23:55:10] <rue_mohr> just found it
[23:55:26] <rue_mohr> yea, you use ISR
[23:55:33] <rue_mohr> mine uses SIGNAL
[23:55:36] <Tom_itx> oh
[23:55:43] <Tom_itx> i kinda thought mine was ok
[23:55:58] <rue_mohr> your is, you updated it after stealing it from me
[23:56:21] <Tom_itx> :)
[23:56:30] <rue_mohr> 'tis ok, I'll just steal it back
[23:56:34] <Tom_itx> got a good start on my new probe tonight
[23:56:37] <Tom_itx> np
[23:56:39] <rue_mohr> ?
[23:56:45] <rue_mohr> probe? touch sensor?
[23:56:49] <Tom_itx> i need a smaller one for my sherline
[23:56:51] <Tom_itx> yes
[23:56:56] <rue_mohr> heh
[23:57:06] <rue_mohr> too tall?
[23:57:29] <Tom_itx> instead of 2" it'll be ~1.25 diameter
[23:57:37] <Tom_itx> too much everything
[23:57:43] <Tom_itx> and shorter
[23:57:51] <Tom_itx> but i haven't calculated the short yet
[23:58:07] <Tom_itx> i know the diameter because i know what bar stock i have
[23:59:48] <Tom_itx> z wanted one so i may make 2