#robotics | Logs for 2016-02-14

Back
[02:20:29] <rue_shop3> falling asleep, .... must....keepp....coding.....
[02:23:57] <rue_shop3> I need an function to interpolate the points of a circle thats been rotated on anything but the z plane
[02:33:23] <Jak_o_Shadows> What do you mean interpolate the points.
[02:33:33] <Jak_o_Shadows> Also, is this on a uC where cos, sin are expensive?
[02:34:30] <rue_shop3> no, its on a computer,
[02:34:36] <rue_shop3> I need the points,
[02:35:03] <Jak_o_Shadows> What do you mean points?
[02:35:13] <Jak_o_Shadows> Just some discretisation of a circle rotated at some angle?
[02:35:34] <rue_shop3> I'm just working on what resolution the points of the circle are supposed to be
[02:35:46] <rue_shop3> the origional code is old
[02:36:47] <Jak_o_Shadows> Are you working in a polar coordinate system then transforming it back?
[02:36:58] <rue_shop3> http://paste.debian.net/385618/
[02:37:18] <rue_shop3> I want to be able to do circles that are roated on the XY axies...
[02:38:10] <Jak_o_Shadows> Why the *4 / *3 ?
[02:38:36] <rue_shop3> thats a good question
[02:38:50] <rue_shop3> oh,
[02:39:05] <rue_shop3> its compensation for the scales of the axies
[02:39:06] <rue_shop3> hehe
[02:39:33] <Jak_o_Shadows> haha. Move that out of that into cutline? Just seems more logical to have that as low level as possible
[02:39:48] <rue_shop3> the x and y axies arent the same scale, but this is a really old version and I do it all by imperial positon now
[02:40:02] <rue_shop3> I dont have a copy of the new code... on the network
[02:40:04] * Jak_o_Shadows cries.
[02:40:18] <rue_shop3> the cnc machine is dos, its busy and cant copy files right now
[02:40:41] <rue_shop3> its non-multitasking OS is currently stepping ... stepper motors
[02:41:22] <rue_shop3> what is the punishment for copy/pasting bad code?
[02:41:34] <Jak_o_Shadows> Anyway, you want to rotate about both the X, Y axis. Could you just write out the components of the necessary rotation matrix?
[02:41:50] <Jak_o_Shadows> Also, I found my win 3.1 computer the other day. Rats had been inside it
[02:42:00] <rue_shop3> oh I tink your right
[02:42:07] <rue_shop3> I have a library that might already work for that
[02:42:16] <rue_shop3> Jak_o_Shadows, "oh poo"
[02:43:09] <Jak_o_Shadows> It's not a huge concern, the shed computer does have a serial & parallel port.
[02:43:15] <rue_shop3> I'm doing it, I'm writing a CAD program for my machine
[02:43:37] <rue_shop3> i realized that it dosn't matter if I make a better machine, without some kinda cad, I'm still in the same boat
[02:43:52] <Jak_o_Shadows> CAD with inbult CAM?
[02:44:04] <rue_shop3> its maulcad
[02:44:21] <rue_shop3> right now it'll just be a program for reading/displaying the cnc files
[02:44:32] <rue_shop3> and I'll work on making it a command list manipulator
[02:46:32] <Jak_o_Shadows> I'm working on a cyclone separator for the shed
[02:46:44] <rue_shop3> ... general vacuuming?
[02:48:30] <rue_shop3> the origional parser code is sending shivers up my spine....
[02:48:49] <Jak_o_Shadows> Mostly. A little bit dust collection, but yeah, it'll mostly be by hand.
[02:49:03] <Jak_o_Shadows> I can 3D print a ring 14cm in diameter, so that'll be a bit of the frame
[02:49:59] <rue_shop3> ok, logically, this code was written.... 97/98
[02:50:15] <rue_shop3> IT WAS SO LONG AGO WE DIDN'T EVEN USE 4 DIGITS FOR THE YEAR
[02:50:58] <rue_shop3> I feel for people who has to deal with the century bugs (when hitting the year 100)
[02:51:17] <rue_shop3> none of my code has actual dates in it
[02:52:30] <Jak_o_Shadows> I have nothing anywhere near that old.
[02:52:35] <rue_shop3> I have a 4th axis for the cnc, I'v never used that either
[02:52:48] <Jak_o_Shadows> Also, I dont want to know how much i'll wince when looking back at my first code
[02:52:57] <Jak_o_Shadows> 4th axis - what one in particular?
[02:53:04] <rue_shop3> the line code is based on the bensham alg
[02:53:14] <rue_shop3> rotary along the X axis
[02:53:22] <rue_shop3> it a motorized chuck
[02:54:16] <Jak_o_Shadows> Ah. So with rotary tools, you dont' really use it
[02:54:22] <Jak_o_Shadows> But for say, vinyl cutting, you would
[02:54:39] <rue_shop3> no
[02:54:53] <rue_shop3> its for if you want to machine somethnig cylndrical
[02:55:03] <rue_shop3> like a totem pole
[02:55:49] <Jak_o_Shadows> ah, I think I follow
[02:56:29] <rue_shop3> it has a system for taking a greyscale image and using it as a height map
[02:56:46] <rue_shop3> so the rotary axis alows you to wrap a heightmap around a cylinder
[02:57:33] <Jak_o_Shadows> Yeah. I think I get it
[03:01:05] <rue_shop3> 12:30 hmmm
[03:01:15] <rue_shop3> should I keep going or call it a night
[03:01:50] <Jak_o_Shadows> keep going
[03:04:17] <rue_shop3> arg, and the lines are only 2d
[03:04:24] <rue_shop3> hard to do this...
[03:04:32] <rue_shop3> I want to improve everything
[03:09:06] <Jak_o_Shadows> haha
[03:09:12] <Jak_o_Shadows> I know that feeling
[03:09:34] <rue_shop3> my goal right now is to be able to parse the existing cnc files
[03:09:58] <rue_shop3> then to unparse them, without translation errors
[03:10:04] <rue_shop3> then to draw them in 3d space
[03:10:26] <rue_shop3> all these things are easy
[03:10:51] <rue_shop3> but it is almost 1am
[03:11:51] <rue_shop3> yea I think my brain stopped.
[03:11:59] <rue_shop3> yea
[03:12:06] <rue_shop3> yup
[03:12:29] <rue_shop3> well I cut about 4 or 5 more 7 segment masks
[03:13:01] <rue_shop3> oh, right, sleep
[05:22:09] <akem> what's new?
[05:22:40] <Jak_o_Shadows> yo
[05:23:09] <akem> i heard Asimo was upgraded with even more degrees of freedom
[05:24:05] <akem> i was looking at Qundam quickly, talking about robot
[05:28:34] <akem> i should try to write a new dust sucker AI
[05:28:42] <doomlord> cleaning-bot?
[05:29:12] <akem> sure, Roomba like
[05:29:29] <akem> doomlord you know about it?
[05:29:59] <doomlord> i'm aware of the roomba but not in great detail,
[05:30:06] <doomlord> i'm interested in machine vision
[05:30:14] <doomlord> i dont have any great results yet
[05:30:39] <doomlord> i'm lazy, my dream is a cleaning robot, especially one that can clean a bike derailiure system
[05:30:58] <doomlord> however i'm thinking the complexity/precision of such an arm may be beyond hobbyist level.
[05:31:03] <akem> i see you don t own one yourself then, one problems is places where they can't move easly because of wires or objects furnitures etc
[05:31:24] <doomlord> ok
[05:31:36] <doomlord> complex spatial navigation
[05:32:37] <doomlord> i get the impression AI is going to accelerate ahead of machine-dexterity
[05:34:42] <akem> it does not sound so complicated compared to other cleanning bots even for a hobbyist, still need time and energy
[05:34:55] <akem> possibly
[05:36:10] <doomlord> roomba - 2DOFs ? bike cleaning .. its' going to have to be an arm with many DOFs
[05:36:36] <doomlord> its an extremely fiddly 3d surface
[05:37:11] <doomlord> i suppose there might be a speed:precision tradeoff that might make it possible - it doesn't need to clean it fast
[05:37:29] <deshipu> akem: a hexapod roomba would be so much better :D
[05:38:06] <doomlord> hexapod roomba with steerable vaccum nozzle to get in all the nooks & crannies?
[05:39:05] <deshipu> and steal your candy
[05:39:06] <doomlord> i guess we need to gather training data for machine vision: 'trash' vs 'not trash' , markup
[05:41:03] <deshipu> too hard
[05:41:09] <deshipu> also, roomba mostly dusts
[05:41:43] <deshipu> so what you want is pretty much "floor" and "not floor"
[05:42:11] <doomlord> hexapod running around pickup up garbage off the floor
[05:42:29] <deshipu> the term "garbage" is culturally loaded
[05:42:48] <deshipu> and picking up things is hard
[05:42:50] <doomlord> garbage/refuse/rubbish/trash
[05:43:14] <deshipu> sucking them in would be much easier
[05:43:36] <doomlord> i guess i could just stop dropping by rubbish on the floor
[05:43:45] <deshipu> that works too
[05:44:06] <akem> yes like the vanguard at robo one
[05:44:08] <doomlord> but that doesn't provide a technical challenge
[05:44:10] <deshipu> one's garbage is another one's treasure
[05:44:54] <doomlord> i suppose garbage could be sorted (empty bottles etc seperated)
[05:45:17] <doomlord> OCD garbage-bot
[05:45:25] <deshipu> it would already be helpful if it just collected all objects below certain size from the floor and brough them in one place
[05:45:26] <doomlord> building nice neat piles
[05:47:20] <doomlord> i guess you could have a baloon drone behaving like a miniature Thunderbird-2, lifting your hexapod cleaning bot onto all the surfaces in ones' home
[06:22:52] <veverak> I wonder
[06:22:58] <veverak> what is proper channel for makefile questions
[06:22:59] <veverak> :D
[06:23:18] <doomlord> ##programming , #C++-general (covers tools)
[06:24:18] <maiden> *baking nylon muscles*
[06:44:33] <veverak> come one
[06:44:41] <veverak> one should spent more time coding than fighting IDE
[06:44:46] <veverak> *come on
[07:02:29] <deshipu> depends
[07:02:45] <deshipu> if it's Java, it's perfectly fine to spend most time fighting the IDE
[07:03:12] <deshipu> also, makefiles are simple
[07:03:13] <deshipu> :D
[09:03:13] <veverak> but maybe IDE is not the one to blame
[09:03:19] <veverak> file that handles imports from ROS
[09:03:21] <veverak> well
[09:03:26] <veverak> I see some dark magic here
[09:03:34] <veverak> question is: how the hell it worked before?
[09:12:16] <veverak> http://www.orocos.org/ familiar to someone?
[12:39:47] <rue_bed> are you making nylon muscles?
[12:40:10] <rue_bed> m... not here anymore...
[12:40:27] <SpeedEvil> I want to understand nylon muscles - they look cool
[12:51:18] <rue_bed> I tried making some
[12:51:28] <rue_bed> its not as easy as you might think
[12:51:45] <rue_bed> lots of times the first twist dosn't work right and the line breaks
[12:57:12] <rue_bed> sometimes you get part way and they form a telephone-cord blip
[12:59:27] <rue_bed> sometimes the line sheers too
[12:59:51] <rue_bed> I think the line I was using was kinda thin tho
[12:59:59] <rue_bed> I"ll get some heavy stuff today
[14:43:03] <z64555> nylon musics, is that the one where they twist fishing line?
[14:45:28] <z64555> oh, no, they heat and cool it
[14:45:42] <z64555> http://materia.nl/article/secret-nylon-muscles/
[14:51:45] <Snert> how would you heat that in your robot I wonder.
[14:52:31] <deshipu> with napalm
[14:54:26] <Snert> I'm not feeling the practicality of it all
[14:54:37] <Snert> muscle wire is still on my list.
[14:56:37] <rue_shop3> useless muscle wire
[14:56:54] <rue_shop3> ok what am I doin
[14:56:57] <rue_shop3> what am I doin
[14:58:08] <z64555> you're going in?
[14:58:51] <z64555> Snert: can coil the muscle around a heating element, and apply electric current to it
[16:20:14] <veverak> nah
[16:20:30] <veverak> "you won't continue unlesss you finish those tests"
[16:21:00] <veverak> that was bad call
[16:21:05] <veverak> one stops working entirely
[16:21:08] <veverak> :
[16:21:10] <veverak> :)
[16:45:39] <veverak> professional degradation: I am ticket system developer at work
[16:45:41] <veverak> and maintainer
[16:45:45] <veverak> well
[16:45:53] <veverak> I sort of started to use it for my hobbies too :/
[16:45:55] <veverak> :D
[19:20:12] <z64555> hm. similar to mantis?