#robotics Logs

Mar 06 2013

#robotics Calendar


01:11 Hukka University asked first to make a part list and plan of operations, then two weeks later when I asked what's taking so long they answered that they decided not to do anything, since they don't have insurance
01:11 Hukka Never told my why it's not possible to get one, then
01:12 Hukka I feel like they just want to toy with me, since they didn't bother telling this beforehand
01:13 theBear what sort of useless university doesn't have insurance ? all educational places are supposed to be covered so long as their english students don't start welding or something
01:16 Gargantuasauce_ what if an engineer starts reciting shakespeare and breaks his leg
01:17 theBear then you lock him in a room with 999 monkies of course
01:17 theBear oh, and don't tell the authorities
01:17 theBear they're kinda like pigs or badgers... they get hungry enough, they'll eat all of him
01:18 Gargantuasauce_ seems to me chimpanzees are ridiculously violent even when they're not desperate
01:19 Gargantuasauce_ http://www.eevblog.com/forum/news/important-server-changeover/msg198360/#msg198360
01:19 Gargantuasauce_ this grinds my gears
01:19 theBear i aint looking at that idiots site
01:19 Gargantuasauce_ he posted a support ticket with his hosting provider
01:20 Gargantuasauce_ and doesnt seem to understand the implications of doing so on a forum with a user base of that size
01:20 theBear they're probably punishing him for being an idiot and giving everyone technical in this country a bad name
01:20 Gargantuasauce_ no they're doing an alright job, looks like
01:20 Gargantuasauce_ he just subjected them to the punditry of his community
01:20 theBear maybe i should talk to them then.. what company ?
01:20 Gargantuasauce_ the most vocal of whom doesnt know what KVM is
01:21 Gargantuasauce_ hostgator
01:21 theBear hmmm, that doesn't sound local, either way i don't know the management :(
01:21 theBear oh, .com yeah
01:22 theBear and yeah, doesn't surprise me that his fans don't know anything
01:22 Gargantuasauce_ anyway he then went on to claim that he didn't ask hostgator to address the concerns of his forum posters
01:22 Gargantuasauce_ simply doesnt understand the power he can wield with each and every post
01:22 theBear 'cos he's far from intelligent probably
01:23 theBear you shouldn't read it either, you'll only get stupidert
01:23 Gargantuasauce_ cause of course they are absolutely forced to address those concerns or face the usual PR nightmare that happens when an internet community like that turns against something
01:23 theBear stupider
01:23 Gargantuasauce_ i still watch all his videos :V
01:23 theBear pr is hardly an issue for a hosting company
01:24 Gargantuasauce_ hahah that is patently false
01:24 theBear no it isn't
01:24 Gargantuasauce_ case in point (yes the scale is different), godaddy and reddit
01:25 theBear reddit community are all about causing problems, his community are all idiots
01:25 Gargantuasauce_ i am not inclined to be so dismissive :p
01:25 Gargantuasauce_ anyway whatever i am just talking out my ass in any case
01:25 theBear and i'm not
01:25 Gargantuasauce_ sure you are
01:25 theBear no, i'm not
01:25 Gargantuasauce_ everyone is full of shit in their own unique way
01:26 theBear not everyone, just people like you it would seem
01:26 Gargantuasauce_ :)
01:26 theBear that might cover most people, but i aint most people
04:41 ShH_Lap nudges the
04:41 theBear what !
04:41 ShH_Lap tap dances a li
04:42 GuShH_Lap I'm still recovering from the bikini bandits incident...
04:42 theBear oh yeah, i saw the question... i can't say what you were watching, that's the bikini bandits experience
04:42 GuShH_Lap yes, experience. it was an incident for me.
04:43 GuShH_Lap let's see.... the devil with a massive black plastic dick that shoots out red laser beams, check.
04:43 GuShH_Lap a dude pretending to do some yoga exercises and showing off his wet ass hairs, check.
04:43 GuShH_Lap the rest I seem to have blocked off my mind
04:43 ShH_Lap shi
04:44 theBear don't forget pope ramone
04:44 GuShH_Lap It had a few funny moments but what a bizarre "movie"
04:44 GuShH_Lap Haha
04:44 theBear he's pure goodness
04:54 RifRaf http://www.youtube.com/watch?v=TmTW61MLm68
05:47 RifRaf theBear using some different numbers in the CIE XYZ calculations and liking the results so far
05:49 RifRaf [ X ] [ 0.412453 0.357580 0.180423 ] [ R ]
05:49 RifRaf [ Y ] = [ 0.212671 0.715160 0.072169 ] * [ G ]
05:49 RifRaf [ Z ] [ 0.019334 0.119193 0.950227 ] [ B ]
05:50 RifRaf from http://www.cs.rit.edu/~ncs/color/t_convert.html
05:51 rue_bed know how to do that calc RifRaf ?
05:52 rue_bed oh its written out
05:52 RifRaf well i installed matlab today
05:52 RifRaf wat a crazy program, who uses that?
05:52 RifRaf yes
05:52 RifRaf its a transformation matrix :)
05:52 RifRaf rue this sensor is starting to perform alot better, gonna map values to colours next
05:53 rue_bed I'm surprized it dosn't put out rgb
05:53 RifRaf all my x,y values are very close to the position on the cie 1931 chart
05:53 RifRaf it does, der, that has worked from the start
05:53 rue_bed hah, sleep no spell good
05:53 rue_bed ah
05:53 RifRaf Illuminance: 1167.24 x: 0.31 y: 0.32 CCT: 6646.40K -- Clear: 3484 Red: 1221 Green: 1143 Blue: 1249
05:54 RifRaf thats white led at moment
05:54 RifRaf well a 'white' rgb led
05:54 RifRaf on red, Illuminance: 453.48 x: 0.54 y: 0.36 CCT: 1637.97K -- Clear: 1632 Red: 1437 Green: 200 Blue: 67
05:55 RifRaf green, Illuminance: 673.07 x: 0.27 y: 0.43 CCT: 7609.73K -- Clear: 1265 Red: 78 Green: 879 Blue: 386
05:55 RifRaf blue , Illuminance: 426.89 x: 0.20 y: 0.21 CCT: 259441.53K -- Clear: 1724 Red: 74 Green: 452 Blue: 1218
05:55 RifRaf cct is only really valid for 'white' light
05:56 RifRaf is output to serial port, thats how i am getting the data
05:56 RifRaf i wanna make it turn the values into a colour on screen, how would i do that?
05:56 RifRaf i see software that can, maybe matlab?
05:58 RifRaf white should be x 0.33, y 0.33 if it was perfect, so am assuming this rgb led needs tuning, have another controller that will let me do that tomorrow
05:58 RifRaf well white to black is the same value i have learnt
05:59 RifRaf you learn something new everyday, well i know i do
06:00 RifRaf rue_bed are you there still? i'd hate to be talking to myself eh GuShH_Lap
06:06 RifRaf just put sensor under room light that says 5000k on it and got 4975.94K
06:06 RifRaf so yay
06:20 ShH_Lap slaps Ri
06:21 GuShH_Lap what sensor are you using?
06:22 RifRaf TCS3414
06:23 RifRaf in the FN package
06:23 GuShH_Lap heh look at them pretty filters
06:24 RifRaf its one cool device, and does look pretty under the microscope cause you can see inside
06:26 RifRaf GuShH_Lap am still lost as to why some values i found on a website are working alot better than the ones in the datasheet
06:27 GuShH_Lap go figure
06:27 RifRaf i have no access yet to a spectrometer to calculate me own but working on it
06:27 RifRaf at least all the x,y fall withing the graph, with the datasheet i got all weird values
06:27 RifRaf lots of negative ones
06:28 ShH_Lap misses his b
06:28 RifRaf old results http://pastebin.com/ARF7zHd1
06:29 RifRaf i bet you look ten years younger
06:29 GuShH_Lap at least!!!
06:29 GuShH_Lap 15
06:29 GuShH_Lap RifRaf: now I'll get asked for ID when I buy booze
06:30 RifRaf lol
06:30 GuShH_Lap I didn't think that through :(
06:30 RifRaf i don't get asked for id anymore :( , they even just wave me in to casinos and stuff when there are queues
06:31 RifRaf ok now i need to make a test station for leds
06:32 RifRaf a box seems like a good idea
06:33 GuShH_Lap shoebox!
06:33 RifRaf ima make one from acm at work in the morning
06:33 RifRaf alumium composite, i can fold it after attacking it with router
06:34 RifRaf omg, aluminium!
06:34 RifRaf almost went american then
06:35 RifRaf and is nice and reflective, to catch any light
06:36 GuShH_Lap so is a shoebox with mylar!
06:36 GuShH_Lap in fact, mylar is better than alu.
06:36 GuShH_Lap I realized pot growers use it a lot
06:36 RifRaf well its a painted finish
06:36 RifRaf yeah and catches on fire too
06:37 GuShH_Lap I only knew them from emergency blankets
06:37 GuShH_Lap but when I looked for a roll of mylar, I found out the pot heads love the stuff
06:37 RifRaf they will burn
06:37 GuShH_Lap maybe they can roll it up with the bare plants
06:37 RifRaf so hope the emergency is not a fire
06:37 GuShH_Lap and smoke it raw
06:37 GuShH_Lap the emergency is you in the middle of nowhere and it's getting cold
06:37 GuShH_Lap mylar helps with that..
06:38 GuShH_Lap don't know if it's 100 microns thick or less
06:38 GuShH_Lap growers use 30 microns or less I think
06:38 RifRaf yep they are usefull things, have a few
06:38 ShH_Lap needs a microm
06:38 RifRaf well i have one here but..
06:38 RifRaf its a long way to pass it to you
06:39 RifRaf so you need something better than verniers?
06:39 GuShH_Lap at times I do
06:39 RifRaf yeah same
06:40 GuShH_Lap will get one eventually, not sure the cheap ones are reliable
06:40 RifRaf i ordered some 1.5g servos today
06:40 RifRaf gonna make a micro gripper
06:40 RifRaf now that i can use 1mm and smaller bits on router ok
06:41 RifRaf they are linear though so have to rethink things
06:41 GuShH_Lap hmm
06:41 RifRaf will have to use it as an advantage
06:42 RifRaf maybe just slide one side
06:44 RifRaf GuShH_Lap am sure me micrometer, not digital was only $35 or so, and is very accurate, had it for years
06:45 RifRaf 0-25mm to 0,01mm, i guess the verniers almost do that though
06:45 RifRaf had to get it out and look
06:46 GuShH_Lap saw ones for 35 on ebay
06:46 GuShH_Lap but not too sure about them
06:47 GuShH_Lap there are even cheaper ones now...
06:47 GuShH_Lap 10 bucks
06:47 GuShH_Lap but those are smaller, for jewlery
06:48 RifRaf yep, this still feels pretty good and smooth, will have to take it to work now
06:48 RifRaf and test out the sheets
06:48 GuShH_Lap heh there are digital ones for the same money
06:49 GuShH_Lap http://www.ebay.com/itm/Digital-Outside-Micrometer-Thickness-Caliper-0-12-7-mm-Carbon-Fibre-/190706757559?pt=UK_Measuring_Tools_Levels&hash=item2c67022fb7
06:49 GuShH_Lap looks too cheap...
06:49 RifRaf well even digital vernier calipers are cheaper than a good manual set these days
06:49 RifRaf plastic
06:50 RifRaf ok they say CF but still not like real steel
06:50 GuShH_Lap heh
06:51 GuShH_Lap LOL digital solar caliper
06:51 GuShH_Lap haha
06:51 RifRaf i saw that movie last week for first time at daughters, i loved it
06:51 GuShH_Lap for the outdoors machinist http://www.ebay.com/itm/6-Digital-Solar-Caliper-Vernier-Gauge-Micrometer-150mm-/221088926123?pt=UK_Sound_Vision_Other&hash=item3379ed49ab
06:51 GuShH_Lap >_<
06:51 GuShH_Lap * who doesn't live in the UK
06:52 GuShH_Lap cheap digital verniers go down to 0.1mm repeatable
06:52 RifRaf heh its only been sunny here like 2 days out of 30 almost
06:53 GuShH_Lap I'd rather get one of these if I had to choose http://www.ebay.com/itm/Toolzone-0-25mm-0-01mm-Metric-External-Outside-Micrometer-SALE-/110890448321?pt=UK_Measuring_Tools_Levels&hash=item19d195f5c1
06:53 RifRaf yep, have many digital verniers, use em all the time, cheap sets do the job 99% of the time
06:53 GuShH_Lap but right now I need a proper torque wrench..
06:53 RifRaf i have one of them too
06:53 RifRaf garage sale $15
06:53 GuShH_Lap I'd like a set of them
06:54 RifRaf but i know you don't have them :)
06:54 GuShH_Lap RifRaf: how do you know it isn't toasted?
06:54 GuShH_Lap people who don't know how to use them are known to damage them very easily
06:54 GuShH_Lap for instance you shouldn't use it to undo bolts
06:54 RifRaf i have used it on a few cars, with a mechanic, that reckoned it was ok
06:54 RifRaf only for certain things
06:54 GuShH_Lap it's not hard if you've got a known good one at hand to compare with heh
06:54 GuShH_Lap but I'd like a small one and a big one..
06:55 GuShH_Lap not the lever type.
06:55 GuShH_Lap I've seen those on sale because they were bent
06:55 RifRaf yeah just the lever type here
06:56 GuShH_Lap they had a big pile of them, not a single one marked 0
06:56 RifRaf you know i want one of them solar powered verniers if they work inside for a bit as well
06:57 RifRaf the batteries always go flat even when off unless you take em out
06:57 GuShH_Lap they probably do work fine indoors
06:57 GuShH_Lap http://www.ebay.com/itm/Snap-Torque-Wrench-3-4-Inch-Drive-TQR600B-Nice-Condition-Very-Large-3-Pieces-/330880217186?_trksid=p2045573.m2102&_trkparms=aid%3D555001%26algo%3DPW.CURRENT%26ao%3D1%26asc%3D14430%26meid%3D6051608094598091335%26pid%3D100034%26prg%3D1105%26rk%3D1%26sd%3D350732563413%26
06:57 GuShH_Lap neat
06:57 GuShH_Lap too bad for the price.
06:58 RifRaf are you rebiulding a tank or truck?
06:58 GuShH_Lap I wonder if the chinese ones are good nuf
06:58 GuShH_Lap RifRaf: it would be nice to have one of the big ones for engines
06:59 RifRaf they can make anything if you pay the right price
06:59 GuShH_Lap http://www.ebay.com/itm/NEW-Lot-2-PITTSBURGH-3-8-1-2-inch-drive-Click-Stop-TORQUE-WRENCH-SET-/190799950861?_trksid=p2045573.m2102&_trkparms=aid%3D555001%26algo%3DPW.CURRENT%26ao%3D1%26asc%3D14430%26meid%3D6051640648905184484%26pid%3D100034%26prg%3D1105%26rk%3D2%26sd%3D370771999032%26
06:59 GuShH_Lap something like that.
06:59 RifRaf not much stuff is not made in china these days, at least here
06:59 GuShH_Lap what a pleasure to use, hard to find over here... prices are way too high, I refuse to buy them at 4 times their real value.
07:00 GuShH_Lap now of course there are better ones with a digital display...
07:00 GuShH_Lap http://www.ebay.com/itm/Craftsman-Electronic-Torque-Wrench-1-2-in-Drive-/130844276113?pt=LH_DefaultDomain_0&hash=item1e76ed3591
07:00 GuShH_Lap looks nice, but if it depends on a battery to operate... that's not so nice when you find out it's flat and you need to use it NOW
07:01 theBear what movie ?
07:01 GuShH_Lap hah "not working"
07:01 theBear that's a movie ?
07:01 GuShH_Lap theBear: no? I'm talking about torque wrenches and how I'd like to have a few
07:02 RifRaf theBear Real Steel
07:02 theBear hmmmk
07:02 GuShH_Lap also a ratcheting set of combined wrenches
07:02 RifRaf fighting robots that learn just how i wanna make one
07:02 theBear angon.... this is a fictional kids movie right ?
07:02 RifRaf but is gonna take more time than i have, but will give it a shot anyway
07:02 RifRaf indeed fiction sir
07:03 GuShH_Lap (spanners)
07:03 RifRaf but i see it as the future
07:03 theBear just checkin, i don't like non fiction
07:03 GuShH_Lap holy crap http://www.ebay.com/itm/Hazet-6109-2CT-torque-wrench-4-0-40-Nm-high-accuracy-/200903483596?pt=LH_DefaultDomain_0&hash=item2ec6c7e0cc
07:03 RifRaf ok now you have me thinking, is fiction real or not?
07:03 GuShH_Lap and those aren't aviation grade at all
07:03 GuShH_Lap imagine the cost of a proper one
07:04 theBear don't be stupid, fiction is better than real
07:04 RifRaf theBear did you see the new formulas
07:04 theBear i see everything
07:04 RifRaf they seem real
07:04 RifRaf cool
07:04 RifRaf they really work at least
07:05 RifRaf for now, will test some bright whites tomorrows
07:05 theBear i dunno if it's cool to see everything, but it's nice yer maths working, even those colourtemps looked sensible
07:05 GuShH_Lap stupid used cars sales person/assholes I hate them all.
07:05 RifRaf for upto 6500k seems withing 1% so far
07:05 RifRaf much happier
07:07 theBear GuShH_Lap, get outta the 80s man ! they're cool, they like regular salespersons but easier to manipulate
07:08 GuShH_Lap o.O
07:08 theBear know any other good new movies ?
07:09 RifRaf well i watched the machinist the same night, i liked that but need to watch again
07:09 GuShH_Lap I don't know what good is anymore
07:10 RifRaf and ironman was ok, am only up to the first one still :) someone told me about it
07:10 RifRaf the machinist makes me be more careful at work now
07:10 GuShH_Lap "ironman" sounds like a pr0n title to me
07:11 dunz0r It's about the comic book character Ironman/Tony Stark
07:11 RifRaf has a pretty ok robot arm in it
07:11 dunz0r Cool AI in it too
07:11 GuShH_Lap dunz0r: ohrly
07:12 theBear the machinist is good, but i seen that, ironman too
07:12 theBear machinist is OLD
07:13 GuShH_Lap pfft whoever offed chavez forgot to off our president :(
07:13 RifRaf so am i, you got a problem with that? :P
07:13 RifRaf i had not seen it till last week
07:14 theBear ceasar chavez is dead !?!?!?
07:14 dunz0r GuShH_Lap: Yeah, the AI he has in his house, really cool. He just tells it stuff, it performs them.
07:14 dunz0r When AIs are good enough, I totally want that.
07:14 RifRaf ok well one more day of work left here for week, so better crash out lest an arm be chopped off in the morn
07:15 dunz0r "Jeeves: Summarize this article for me" etc
07:16 theBear good boy rif... i like you with 2 arms
07:18 RifRaf left an idiot in charge for 60 seconds today and the machine had an error, when i went to get it going it dropped the tool holder and snapped bit
07:18 RifRaf it was ok cause the boss had made me leave the machine, just replaced bit and kept goin
07:19 RifRaf dunno what he did, had cut the same thing 10 times before and 10 times after :/
07:19 theBear there's no explaining idiots
07:20 RifRaf one day its gonna bite me hard though, am so close to a big 3 phase bitch all day
07:20 RifRaf just gotta stay alert
07:21 theBear no it isn't, you smart enough for that
07:21 RifRaf and sleep, nite now
07:21 theBear cya :)
07:23 Tom_itx you can't fix stupid
07:24 Tom_itx you _can_ stand back and watch it take care of itself though
07:24 theBear you talking about this or the other channel ? that place has really gone to shit recently
07:24 theBear even the smart people are getting stupider
07:25 Tom_itx what other channel?
07:25 Tom_itx i'm not in electronics..
07:25 theBear i don't blame yer
07:43 theBear can you put microwave containers (tv dinner style) in an oven ?
07:47 theBear stupid modern food... stupid salvation army... the last ones had little sachets, one explained how to cook in hot water, so i copied to the next and it was all fine... but this one just says to poke holes in the film and microwave... i can't do t hat
07:47 GuShH_Lap dunz0r: can the AI get him a pizza?
07:47 theBear yes
07:47 theBear but can my oven cook this free curry ?
07:47 GuShH_Lap and beer?
07:47 theBear yes
07:48 GuShH_Lap I WANT ONE
07:48 theBear answer my question now
07:48 theBear it's not real you idiot !
07:48 GuShH_Lap the answer is maybe
07:48 GuShH_Lap theBear: that's what makes it even better
07:48 theBear i spose it's useless as it is, i do it on foil, i'll know if it melts... i'll be able to tell by the mess of melted plastic
08:20 GuShH_Lap theBear: did it melt? P
08:21 theBear dunno yet, i was hungry so i had some 2minute chowmein first
08:59 dunz0r GuShH_Lap: Been a while since I saw the movie, but probably. "Jeeves; Get me a pepperoni pizza"(or whatever the AIs name is)
09:56 non-sense anyone around that uses autocad regularly?
09:57 theBear does a couple times a century count as regularly ?
09:57 non-sense heh, sure
09:57 non-sense i think my issue is relatively "easy" to solve
09:57 non-sense I downloaded a block for a transformer, and it has this "boarder" window around it that I cant seem to remove
09:58 non-sense I have to double click inside the boarder to modify the drawing
09:58 non-sense and double click outside to zoom the sheet
09:58 non-sense if I remove the boarder, the whole drawing disapears
09:58 non-sense I tried Explode and BReak
09:58 non-sense with no luck
09:58 theBear erm, you gotta insert it in some different way, maybe import vs insert or vice versa
09:59 non-sense well its just eh .dwg, I want to remove some stuff and make it a block to insert into my project
09:59 theBear that's all i remember, but i pretty sure i'm right
09:59 theBear i didn't say a couple times a decade, it's been a while
10:00 non-sense haha, okay
10:00 non-sense thanks, i'll keep trying
19:04 Rif in order for this to work,, M = MAX(R,G,B) do i have to make code?
19:04 Rif or is there a max/min function somewhere already?
19:20 Tom_itx write one
19:20 Tom_itx P.49 K&R
19:20 Tom_itx z = (a > b) ? a : b; /* z = max(a, b) */
19:21 rue_house damn you people, how many times do I ahve to post them?
19:22 Tom_itx often
19:22 rue_house #define IsHigh(BIT,BYTE) ((BYTE & (1<<BIT)) != 0)
19:22 rue_house #define IsLow(BIT,BYTE) ((BYTE & (1<<BIT)) == 0)
19:22 rue_house #define SetBit(BIT,BYTE) BYTE |= (1<<BIT)
19:22 rue_house #define ClearBit(BIT,BYTE) BYTE &= ~(1<<BIT)
19:22 rue_house #define ABS(a) ((a) < 0 ? -(a) : (a))
19:22 rue_house #define SIGN(x) (x)==0?0:(x)>0?1:-1
19:22 rue_house #define SQR(x) ((x)*(x))
19:23 rue_house #define Limit(v,l,h) ((v) > (h)) ? (h) : ((v) < (l)) ? (l) : (v)
19:23 rue_house #define InLimits(v,l,h) ((v) > (h)) ? 0 : ((v) < (l)) ? 0 : 1
19:23 rue_house / does a differ from b by more than D?
19:23 rue_house #define DiffGreater(a,b,D) (ABS((a)-(b))>D? : 1 : 0)
19:23 rue_house / is Z within X and Y?
19:23 rue_house / god... you would think it was lisp...
19:23 rue_house #define WITHIN(X,Y,Z) ( ( ((Z) >= Min((X),(Y))) & ((Z) <= Max((X),(Y))) ) ? (1):(0) )
19:23 rue_house #define Min(X,Y) ((X) < (Y) ? (X) : (Y))
19:23 rue_house #define Max(X,Y) ((X) > (Y) ? (X) : (Y))
19:23 rue_house #define rad2deg(K) ((K)*(180.0/3.1415926535))
19:23 rue_house #define deg2rad(K) ((K)*(3.1415926535/180.0))
19:23 rue_house / ascii nibble to binary
19:23 rue_house #define ASCNibToBin(A) (((A)>'9')?((A)-'7'):((A)-'0'))
19:23 rue_house / low binary nibble to ascii
19:23 rue_house #define BinToASCNib(B) (((B)&0x0F)<9?((B)&0x0F)+'0':((B)&0x0F)+'7')
19:23 rue_house / convert X,Y to integer offset, I is XMAX J is YMAX
19:23 rue_house #define xy2i(X,Y,I,J) (((I)*(Y))+(X))
19:25 Tom_itx my answer was correct
19:26 rue_house yes
19:26 rue_house it still drives me nuts
19:26 Tom_itx return the min or max of 3 values
19:27 rue_house #define maxof3(A,B,C) Max(Max(A,B),C)
19:28 rue_house #define minof3(A,B,C) Min(Min(A,B),C)
19:29 Tom_itx there you go Rif
19:59 Rif thank you both
20:00 Rif i do have to do min as well
20:00 Rif converting RGB to HSV so i can tell the hue etc
20:05 Rif what lines do i use, there is alot there
20:09 Tom_itx #define Min(X,Y) ((X) < (Y) ? (X) : (Y))
20:09 Tom_itx <rue_house> #define Max(X,Y) ((X) > (Y) ? (X) : (Y))
20:09 Tom_itx #define maxof3(A,B,C) Max(Max(A,B),C)
20:09 Tom_itx <rue_house> #define minof3(A,B,C) Min(Min(A,B),C)
20:10 Tom_itx or write the logic as one function
20:29 Rif ok cool, last day of work here for week, so can go home and get this thing working well over weekend
20:33 Rif using matlab this morn it also could not tell the max value if i gave it any more than 2 values
20:34 Rif how come its like 5gb for something that appears to just do basic maths
20:37 ace4016 you probably did something incorrectly
20:37 ace4016 it does a lot more than basic math
20:37 ace4016 although debateable if they need 5GB to do what they do
20:40 ace4016 (i've used matlab a lot for image and signal processing)
20:41 Rif ace i just did, for example, R=50 , G=75 , B=100 on separate lines
20:42 Rif and then did MAX(R,G,B) , but it had errors, only worked for MAX(R,G) which would return 75
20:43 ace4016 you have to use list or vectors typically
20:46 ace4016 MAX(R,G,B) doesn't look for the biggest between R, G and B; it looks for the largest value in the dimension B of R
20:47 ace4016 so what you wanted to do was MAX([R G B])
20:47 ace4016 or max([R G B]) reather
20:47 ace4016 rather*
20:47 ace4016 matlab processes data mainly in matrix form (MATrix LABoratory :P)
20:48 ace4016 vector is just a matrix of size/dimension nx1 or 1xn
20:53 ace4016 also, the intuitive use of functions doesn't always work, so hitting F1 to find out how a function specifically works usually saves a bit of a headache (they have a decent function search and documentation)
20:54 Tom_itx Rif,
20:54 Tom_itx you did it wrong
20:54 Tom_itx maxof3(A,B,C)
20:54 Tom_itx is what you want
20:55 Tom_itx max will only compare 2
20:56 Tom_itx or maxof3(R,G,B);
20:57 Tom_itx look above how rue defined it for you
20:59 ace4016 if this is matlab, max([R G B]) seems a lot simpler than all those defines and such; though i guess if it's just a copy and paste it works out all the same
20:59 e4016 doesn't know what's goin
21:00 Tom_itx rif asked for a function to find max of 3 numbers and min of 3 numbers so we provided those
22:12 rue_house where did the world go
22:12 rue_house ?
22:13 Tom_itx thru the black hole
22:13 rue_house there was almost nobody on the roads today
22:34 rue_shop2 ok, lets see where 30lb fishing line breaks
22:40 rue_shop2 ok its good for better than 22kg, so that fine
22:45 rue_shop2 20mm lever arm
22:46 rue_shop2 so, 22kg @2cm is 11kg/cm
22:47 e_shop2 thinks about the u
22:47 rue_shop2 no
22:47 rue_shop2 44kg/cm
22:48 rue_shop2 so if thats driving a 15cm arm
22:50 rue_shop2 3kg force
22:54 rue_shop2 thats descent for an arm with 15cm extension
22:55 rue_shop2 I suppose 1.5kg at the base of an arm fully extended to 30cm