#robotics | Logs for 2016-10-11

Back
[01:00:11] <rue_house> it seems to me, that a welder is a great thing to have when making a wire edm machine
[01:09:08] <jesseg> definitely
[01:22:31] <mrdata> sure
[04:49:17] <veverak> kernel C macros looks evil sometimes
[04:49:20] <veverak> or, most of the tims
[04:49:37] <veverak> 025605 rue_house | veverak, a) print with support, b) design it without an overhang
[04:50:11] <veverak> rue_house: a) there was one, b) downloaded design c) other side of thing is more complicated, thus deserved to by "top"
[04:50:21] <veverak> and actually relevant to functionality
[04:50:34] <veverak> rue_house: http://www.thingiverse.com/thing:1687983
[09:17:16] <rue_house> well it would have been printed with support
[10:46:32] <JT-Shop> a while back I looked at the Kossel and the Core XY and they both have issues, Kossel print area, Core XY the Z axis
[10:46:54] <JT-Shop> Found the Core XZ and it seems to solve those issues, anyone build one?
[19:44:15] <bindigoat> How robotics on earth & in space is essential to space colonization
[19:44:17] <bindigoat> https://www.scribd.com/user/234794410/Saint-George
[19:46:43] <Snert_> is there water on the moon in sufficient quantuty?
[19:47:10] <Snert_> after all, we can't haul water to the moon.
[19:47:26] <SpeedEvil> Sure we can.
[19:47:55] <SpeedEvil> SpaceX's announced rocket can if they hit their targets get water to the moon at about $80/kg
[19:48:04] <Snert_> in sufficient qualtity for farming and all?
[19:48:38] <SpeedEvil> That depends on your $
[19:49:29] <Snert_> seems like mars is the better choice.
[19:49:43] <SpeedEvil> $1M gets you 10 tons.
[19:49:49] <Snert_> abit more difficult distance-wise, but more worth it.
[19:50:28] <bindigoat> If you read the docs on the link https://www.scribd.com/user/234794410/Saint-George
[19:50:46] <Snert_> no time to do the whole book.
[19:50:55] <rue_house> dont do it, look what happened when all the martians moved the water to earth
[19:51:10] <Snert_> that page is mostly not about science, but rather, someone's visionary concept.
[19:51:18] <bindigoat> there is already sufficient water on moon & mars, just has to extracted from the dirt & defrosted
[19:51:53] <Snert_> on Mars, I buy it. On the moon, not as much.
[19:53:00] <bindigoat> 33 billion litres of water on moon at least
[19:53:30] <rue_house> dont mention the methane or the environment is really really really doomed
[19:53:35] <Snert_> sounds like alot. But how much on Mars or in earth oceans.
[19:54:32] <bindigoat> the visionary concept has science included https://www.scribd.com/user/234794410/Saint-George
[19:54:34] <bindigoat> How robotics on earth & in space is essential to space colonization
[19:54:49] <rue_house> we already colonized a space
[19:54:55] <rue_house> its earth, and we screwed it up
[19:55:13] <rue_house> we need to prove we can screw up again?
[19:55:31] <SpeedEvil> bindigoat: there is water on the moon. However, it is very questionable you'll get the first 100 tons for $10M
[19:55:40] <bindigoat> the deserts of the world can power the planet with electricity & hydrogen fuel
[19:56:26] <bindigoat> thats also in the link https://www.scribd.com/user/234794410/Saint-George
[19:57:49] <bindigoat> in the future everything will be automated
[19:58:09] <rue_house> no, the human race will die before it achives that
[19:58:35] <rue_house> did you know that over 90% of the fish have been killed?
[19:58:58] <rue_house> not just fishing, but pollution
[19:59:07] <rue_house> p o i s o n
[19:59:41] <bindigoat> Im from australia we4 do things abit more sustainable down here, the northerm hemisphere is where all the smart ass's live
[20:01:02] <rue_house> I'm glad you think that poison dumped in one area of the sea dosn't affect your area of the sea
[20:01:34] <Snert_> rue_house: and them Fuku rads are really killing the ocean.
[20:02:11] <rue_house> you know the wells in the gulf are still leaving right
[20:02:13] <rue_house> leaking
[20:02:36] <Snert_> funny how we don't hear that in the news.
[20:02:39] <Snert_> yea.
[20:02:55] <bindigoat> I Am Saint George, the architect of the solar system . . .
[20:02:55] <bindigoat> I have a grand plan for great infrastructure in our solar system & one day even beyond our solar system.
[20:02:56] <bindigoat> https://www.scribd.com/user/234794410/Saint-George
[20:02:58] <rue_house> you didn't hear about the occupy movement either
[20:03:41] <Snert_> Occupy Mars?
[20:03:57] <Snert_> I'll thumbs up that one :)
[20:05:27] <rue_house> ouch only 78 of us
[20:05:40] <rue_house> that means this channel is in the 3rd and final stage of life
[20:06:05] <rue_house> well, maybe the 3 people hanging out is the form of the final stage
[20:06:24] <rue_house> slightly over 16 years
[20:07:48] <rue_house> freecads selection system sucks
[20:07:56] <rue_house> a) you can unselect all
[20:08:14] <rue_house> b) what IS selected is not really lit up in a way that you know if its selected or not
[20:08:51] <rue_house> c) selecting someting before an operation counts for nothing
[20:09:44] <rue_house> I have 2380 edges, I need to select about 2080 of them, the only way it'll let me do just that is to select each individually
[20:11:00] <rue_house> if I get the operation wrong, undoing it clears the selection
[20:12:24] <malcom2073_> freecad fairly constantly annoys me
[20:12:44] <anonnumberanon> i hope this channel dies before third age armor comes out
[20:13:37] <SpeedEvil> rue_house: can you select 300 and then invert?
[20:13:54] <rue_house> not that I can see
[20:14:19] <rue_house> selction options are: box select select all
[20:14:33] <rue_house> no invert, unselect all
[20:14:47] <SpeedEvil> does ctrl-clicking selected items unselect them?
[20:14:48] <anonnumberanon> man I have been through hell and back trying to get off arduino
[20:14:55] <anonnumberanon> i think i did
[20:14:57] <rue_house> did I mention that selecting more than one thing at a time causes it to lock up for 2 minutes?
[20:15:07] <rue_house> anonnumberanon, ?
[20:15:08] <SpeedEvil> rue_house: ow
[20:15:29] <rue_house> yes it does unselect them
[20:15:54] <rue_house> oh, that crashed it
[20:16:09] <rue_house> this is prolly why I removed it last time
[20:20:37] <SpeedEvil> https://www.youtube.com/watch?v=-CVYOCMpJRY
[20:25:43] <rue_house> cute video
[20:34:02] <anonnumberanon> i was uploading with usbasp correctly just wasnt linking correctly with gcc
[20:36:52] <rue_house> oooh
[20:36:58] <rue_house> should have used one of my makefiles
[20:37:17] <rue_house> it was part of the stuff I was offering you , but you declined on
[20:37:35] <rue_house> bnut there is a bunch of that stuff on my site
[20:41:33] <anonnumberanon> haha i wouldnt have even known what to look for in that makefile
[20:42:20] <anonnumberanon> im glad i spent this time i have all this brand new understanding of it all now
[20:48:50] <rue_house> while you do that I'm working on sliding into STM arm baords
[20:49:18] <rue_house> I dont think avrs as we know them are much longer for this world
[20:50:53] <malcom2073_> "as we know it" being arduino, or avrs in general?
[20:51:55] <rue_house> avrs in general, I have complete faith that microchip will screw the whole works up
[20:52:03] <anonnumberanon> what really threw mw off was that some of the code i would upload without linking STILL WORKED
[20:53:05] <anonnumberanon> making me believe usbasp was at fault, or a million other things
[20:53:38] <rue_house> did you get a makefile from my site?
[20:53:43] <rue_house> ever?
[20:53:55] <rue_house> did you even check the avr tutorial on my page?
[20:54:15] <anonnumberanon> no i was gonna make that a project to learn makefiles. im in it for the learning
[20:54:33] <anonnumberanon> now i understand them though
[20:54:43] <anonnumberanon> brb
[20:56:00] <malcom2073_> Heh +1 to that, microchip screwing it up
[20:56:22] <rue_house> ooo I cant find the avr
[20:57:52] <rue_house> programming tut
[20:59:02] <rue_house> http://ruemohr.org/~ircjunk/tutorials/elex/breadtut/main.html
[20:59:11] <rue_house> aha, its disguised as a breadboard tutorial
[21:03:40] <rue_house> anonnumberanon, ^^
[21:05:11] <rue_house> http://ruemohr.org/~ircjunk/tutorials/prog/avrbf/main.html
[21:11:31] <Tom_itx> anonnumberanon have you been enlightened?
[22:21:36] <anonnumberanon> Back
[22:22:54] <anonnumberanon> It would seem so Tom_itx. Gonna try an upload agin in a few minutes. Most likely it will work.
[22:25:24] <anonnumberanon> Also having typed avr-gcc, objcopy and avrdude probably a few hundred times I am now convinced I need makefiles.
[22:29:19] <anonnumberanon> (i need convincing to learn new stuff)
[22:35:04] <rue_house> makefile or batch file
[22:35:17] <rue_house> how about I hand you a new makefile of mine and you figure out how it works
[22:35:31] <rue_house> learning can be done in any order
[22:35:46] <rue_house> funny enough, from the finish back to the start has quite a lot of advantages
[22:38:41] <anonnumberanon> yeah send it to me pls
[22:39:28] <rue_house> m328?
[22:39:46] <anonnumberanon> m328p :)
[22:40:14] <rue_house> to use it:
[22:40:30] <rue_house> make sure every .c file in the directory has a .h file, even if its empty
[22:40:33] <rue_house> use the following
[22:40:46] <rue_house> make (to build it all)
[22:40:57] <rue_house> make usbinstall (to install it via usb programmer)
[22:41:08] <rue_house> make clean (to remove all the compiled files)
[22:41:39] <rue_house> make arduinoinstall will install on an arduino
[22:41:51] <rue_house> (no programmer, uses the arduino bootloader)
[22:42:07] <anonnumberanon> so bootloader in that case
[22:42:11] <rue_house> make usbfuseint to use the internal avr clock source
[22:42:23] <anonnumberanon> assuming fuses are written for a bootlo
[22:42:30] <rue_house> make usbfuseext to use an external clock source (carefull, if there isn't one you just bricked it)
[22:42:39] <rue_house> http://paste.debian.net/867241/
[22:43:16] <anonnumberanon> f u fuse it to external clock spi will stop working right?
[22:43:17] <rue_house> make install will try to install via a parallel port stk200
[22:43:59] <rue_house> if you set an avr to external clock source and there isn't one, you cant run it to reprogram it till you supply it with a clock source
[22:44:05] <rue_house> just dont screw that up
[22:44:55] <rue_house> that makefile is built from a lot of mutated ... stuff, and it works
[22:45:02] <anonnumberanon> -j .text -j .data
[22:45:14] <anonnumberanon> it wont work without that?
[22:45:37] <rue_house> I didn't write it all
[22:45:52] <rue_house> specifically any part your prolly gonna ask about
[22:48:09] <rue_house> my typical use is make; make usbinstall
[22:48:28] <rue_house> when you clean things up with it, forward me the improvements
[22:48:42] <rue_house> otherwise I'll go back in time and take it away
[22:49:44] <rue_house> I am from the past, and my mind can go back there
[22:50:50] <Tom_itx> anonnumberanon you know my examples i posted?
[22:50:58] <Tom_itx> the code is all there including the makefiles for them
[22:51:13] <anonnumberanon> i have everything now
[22:51:17] <Tom_itx> all you may need to change would be the chip definition in the makefile and maybe the frequency
[22:51:33] <anonnumberanon> at fist i wont use makefile
[22:51:42] <Tom_itx> you should be
[22:51:50] <anonnumberanon> about to try my new fix
[22:52:13] <anonnumberanon> i will but here i dont need to for one test
[22:52:17] <anonnumberanon> brb
[23:03:23] <anonnumberanon> omfg
[23:05:26] <Tom_itx> now what did you do
[23:08:24] rue_house changed topic of #robotics to: If you ask a question, you must wait for the answer. | http://tom-itx.no-ip.biz:81/~webpage/index.php | E is for Electromechanical
[23:08:56] <rue_house> something
[23:09:11] <rue_house> I can do nothing for an enternity after I die
[23:09:25] <anonnumberanon> heh the hex file by using -j .text -j .data on avr-objcopy gave a .hex that had nothing in it, removing those gives me a .hex that is 91 bytes (makes sense because it is a very small test program). Uploading it now to try it.
[23:09:29] <anonnumberanon> cross fingers
[23:09:52] <Tom_itx> better than crossed wires
[23:10:23] <anonnumberanon> SUCCESS
[23:10:43] <anonnumberanon> Ok now that has no interrupts I'll try something with interrupts.
[23:10:46] <rue_house> http://image.shutterstock.com/z/stock-photo-finger-hand-symbols-isolated-concept-cross-and-wrong-or-banned-just-say-no-on-white-background-422539498.jpg
[23:11:34] <Tom_itx> who does your nails rue?
[23:11:37] <anonnumberanon> One of these days I need to understand the .text and .data and -j flag cause those options are bullshit so far.
[23:12:01] <rue_house> I use screws
[23:12:34] <anonnumberanon> Okay I have a perfect little timer 2 interrupt test here to send.
[23:13:09] <Tom_itx> don't forget erase before write
[23:13:12] <anonnumberanon> actually that one's yours Tom_itx , TIMER 1 RATHER
[23:13:21] <anonnumberanon> Tom_itx, it always erases
[23:13:27] <rue_house> oh, I'm surprised it compiles
[23:13:35] <rue_house> they changed the interrupt method from the old days
[23:13:39] <anonnumberanon> there is a flag (-D) to not erase if need to not
[23:13:57] <Tom_itx> -e
[23:14:45] <anonnumberanon> avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
[23:14:45] <anonnumberanon> To disable this feature, specify the -D option.
[23:15:10] <Tom_itx> i believe you
[23:15:16] <anonnumberanon> -e Perform a chip erase.
[23:15:17] <anonnumberanon> okay
[23:15:28] <anonnumberanon> I believe you too.
[23:16:29] * Tom_itx waits for blink results
[23:17:03] <Tom_itx> it may be too fast with interrupts and your clock
[23:17:16] <Tom_itx> i wrote that for default fuse settings
[23:17:25] <Tom_itx> minimal frequency clock
[23:20:01] <anonnumberanon> sigh... interrupt code doesn't work
[23:20:29] <Tom_itx> check the mask register to make sure it's set right for that chip
[23:20:36] <Tom_itx> TIMSK1
[23:20:36] <anonnumberanon> neither yours nor mine, both of which work if uploaded to arduino uno
[23:20:43] <anonnumberanon> yes i did that
[23:21:50] <Tom_itx> i could test it here but i already know what the result would be
[23:22:23] <rue_house> did it compile ok?
[23:22:39] <anonnumberanon> Yes.
[23:22:47] <Tom_itx> anonnumberanon, try those fuse settings posted on my site (after confirming with the website)
[23:22:55] <anonnumberanon> One last thing I can try is to change the clock fuses to something like the arduino.
[23:23:03] <Tom_itx> ^^
[23:23:18] <Tom_itx> http://tom-itx.no-ip.biz:81/~webpage/how_to/atmega168/mega168_led_blink_int_index.php
[23:23:22] <anonnumberanon> Tom_itx, for an atmega328p with external 16 mhz? You have those fuses?
[23:23:29] <Tom_itx> that should set it back to the original state
[23:23:30] <anonnumberanon> Yeah that' snot the same chip.
[23:23:42] <Tom_itx> internal osc
[23:23:50] <Tom_itx> 1Mhz (maybe 1Mhz)
[23:23:54] <Tom_itx> 2
[23:24:02] <anonnumberanon> Yep, that changes everything.
[23:24:20] <anonnumberanon> Means I can't use it to test my setup :(
[23:24:23] <Tom_itx> see if the int code works with those
[23:24:25] <anonnumberanon> alright fusing real quick
[23:24:43] <anonnumberanon> ok ill try that just after Tom_itx
[23:24:48] <anonnumberanon> good idea
[23:25:09] <Tom_itx> check them against the site first
[23:25:22] <Tom_itx> they should be default
[23:25:42] <Tom_itx> unless the P chip has more regs or something
[23:37:31] <rue_house> uits pre-halloween, I'm trying to carve out a 3d pumpkin
[23:48:52] <anonnumberanon> okay nothing works
[23:49:08] <anonnumberanon> Tom_itx, on your example
[23:49:37] <anonnumberanon> I wonder if
[23:49:38] <anonnumberanon> -I /usr/include -I/usr/local/avr/avr/include
[23:49:54] <anonnumberanon> is some better directories for include than what my compile is currently using
[23:50:12] <z64555> rue_house: why carve when you can print?
[23:50:19] <anonnumberanon> Like those would include the correct interrupt includes.
[23:50:33] <anonnumberanon> from your makefile Tom_itx
[23:52:18] <rue_house> I have to Difference() before I can print
[23:52:43] <rue_house> my makefile prolly needs some directory adjusting
[23:52:48] <rue_house> toms most likley will
[23:53:07] <rue_house> back in the day there was a glitch that landed us the /avr/avr/ thing
[23:53:23] <rue_house> it should be corrected in my makefile
[23:53:53] <rue_house> and if you were to ask for hte copy of all my projects, you would defineily have an interrupt based flasher using the new interrupt method...
[23:53:58] <rue_house> not sure what tom used
[23:54:09] <rue_house> I was acutally a late adopter of the new system
[23:56:57] <anonnumberanon> What is the new system?
[23:57:12] <anonnumberanon> I read your makefule it's legit.
[23:57:20] <anonnumberanon> Wondering about include directories now.
[23:57:40] <rue_house> see where the io.h files are
[23:58:18] <anonnumberanon> Yeah i was just looking for the interrupt.h file
[23:58:26] <rue_house> m162?
[23:58:37] <anonnumberanon> nowhere to be found with an avr directory in front of it
[23:58:58] <rue_house> or 168?
[23:59:04] <anonnumberanon> m328p
[23:59:08] <anonnumberanon> does it matter?
[23:59:46] <rue_house> I want to give you code you dont need to adjust