highaltitude.log.20081204

[00:00] <Laurence1> then have effectively a 1D kalman filter running at 1Hz putting these estimates in
[00:00] edmoore_ (n=edmoore@pomegranate.chu.cam.ac.uk) left irc:
[00:45] Nick change: Laurence1 -> Laurenceb_
[02:06] EI5GTB (n=Paul@apollo.paulsnet.org) left irc: Read error: 104 (Connection reset by peer)
[03:29] natrium (n=alexei@CPE000625d867e2-CM0014045885be.cpe.net.cable.rogers.com) left irc: Remote closed the connection
[04:08] natrium42 (n=alexei@CPE000625d867e2-CM0014045885be.cpe.net.cable.rogers.com) joined #highaltitude.
[05:22] Ebola (n=Ebola@unaffiliated/ebola) left irc: ""Don't let worry kill you -- let the church help.""
[06:37] smealum (n=smealum@smea.servebeer.com) got netsplit.
[06:37] jiffe98 (n=jiffe@67.158.3.217) got netsplit.
[06:48] jiffe98 (n=jiffe@67.158.3.217) got lost in the net-split.
[06:48] smealum (n=smealum@smea.servebeer.com) got lost in the net-split.
[06:57] jiffe99 (n=jiffe@67.158.3.217) joined #highaltitude.
[07:03] jiffe99 (n=jiffe@67.158.3.217) left irc: Remote closed the connection
[07:04] jiffe99 (n=jiffe@67.158.3.217) joined #highaltitude.
[07:14] wickerwaka (n=akawaka@66.215.97.198) left irc: Read error: 110 (Connection timed out)
[07:38] Simon-MPFH (n=simon@phantom.mpfh.co.uk) joined #highaltitude.
[08:05] Laurenceb_ (i=zeusbot@lister.antycip.co.uk) left irc: "leaving"
[08:05] Laurenceb (i=zeusbot@lister.antycip.co.uk) left irc: Read error: 104 (Connection reset by peer)
[08:16] edmoore (n=edmoore@pomegranate.chu.cam.ac.uk) joined #highaltitude.
[08:33] smealum (n=smealum@smea.servebeer.com) joined #highaltitude.
[08:35] edmoore (n=edmoore@pomegranate.chu.cam.ac.uk) left irc:
[08:40] Laurenceb (i=zeusbot@lister.antycip.co.uk) joined #highaltitude.
[09:47] rjharrison_ (n=rharriso@gateway.hgf.com) joined #highaltitude.
[10:21] Nick change: Laurenceb -> sarah__palin
[10:22] Nick change: sarah__palin -> Laurenceb
[10:27] edmoore (n=edmoore@pomegranate.chu.cam.ac.uk) joined #highaltitude.
[10:37] <rjharrison_> Just putting a sparfun order in any requests
[10:38] <rjharrison_> Morning all
[10:45] <Laurenceb> cool
[10:45] <Laurenceb> time to add anything?
[10:47] <rjharrison_> Yep Just
[10:47] <rjharrison_> What would you like sir
[10:47] <Laurenceb> hmm
[10:47] <Laurenceb> I wish it didnt cost money
[10:47] <Laurenceb> stupid money
[10:48] <Laurenceb> hmmm fpga or IMu...
[10:48] <rjharrison_> Best send me the link and I'll add it
[10:48] <rjharrison_> I'll give you 5 mins to have a look
[10:50] <Laurenceb> yeah sorry for delay
[10:50] <rjharrison_> np
[10:50] <Laurenceb> edmoore: about?
[10:52] <Laurenceb> I'm just wondering whats the deal with the new badger board
[10:53] <Laurenceb> rjharrison: doesnt matter, I have enough to be going on with
[10:53] <rjharrison_> Ok I just txted ed
[10:53] <edmoore> rjharrison_: gimme 2 mins
[10:53] <Laurenceb> I was thinking of a 5DOF IMU, but hopefully the new badger board will do that
[10:53] <edmoore> national press on phone re: teddies
[10:54] <edmoore> they seem to have struck a chord
[10:54] <rjharrison_> hehe Cool
[10:54] <Laurenceb> edmoore: cool
[10:54] <Laurenceb> edmoore: will you be able to sell me a v2 badger board?
[10:54] <Laurenceb> I'll solder it
[10:57] <edmoore> Laurenceb: we'll probably have some spares, yeah :)
[10:57] <Laurenceb> cool
[10:57] <Laurenceb> ok, no need for a 5DOF IMU then
[10:58] <Laurenceb> I was thinking of a pressure sensor for the <confidential> but theirs only goes down to 300mb
[11:00] <rjharrison_> edmoore U want anything from spary
[11:00] <rjharrison_> sparky
[11:00] <edmoore> i think we're ok
[11:00] <rjharrison_> OK
[11:00] <rjharrison_> BTW which paper
[11:00] <edmoore> we'll be putting in an order at some point soon but we'll have to sit down and think about it for a bit first
[11:01] <rjharrison_> 135 quid order going through
[11:01] <edmoore> rjharrison_: press agencies atm - the story has only been out very briefly http://www.admin.cam.ac.uk/news/dp/2008120401
[11:01] <edmoore> i think the papers come later
[11:08] <Laurenceb> edmoore: whats the JTAG interface on badger?
[11:08] <edmoore> a jtag interface
[11:08] <Laurenceb> :P
[11:08] <Laurenceb> whats the physical interface?
[11:08] <Laurenceb> 0.1'' pins?
[11:08] <edmoore> standard - yeah
[11:08] <edmoore> 20 pin job
[11:08] <edmoore> 2 x 20
[11:08] <Laurenceb> ok sure
[11:08] <Laurenceb> yep
[11:08] <edmoore> 2 x 10*
[11:08] <Laurenceb> ARM standard
[11:09] <edmoore> uhuh
[11:10] <Laurenceb> so v2 will have gps, gyros, accel and gsm ?
[11:10] <Laurenceb> oh and sd
[11:10] <rjharrison_> Right back on with the day job
[11:10] <rjharrison_> lateers all
[11:10] <Laurenceb> bye
[11:10] <rjharrison_> Nice quote BTW edmoore
[11:11] <edmoore> I'm not sure if it's a bit trite
[11:12] <Laurenceb> sounds pretty good
[11:12] <edmoore> sort of guessing it's what they wanted to hear
[11:12] <Laurenceb> its not too generic
[11:14] jcoxon (n=james@host86-158-31-172.range86-158.btcentralplus.com) joined #highaltitude.
[11:14] <jcoxon> morning all
[11:14] <edmoore> bbl
[11:14] <jcoxon> oops
[11:17] <rjharrison_> Hi jcoxon
[11:17] <rjharrison_> Just missed a sparkfun order hope there was nothing that you wanted?>
[11:18] <rjharrison_> Got the logomatic v2 working with icarus
[11:19] <jcoxon> nah, nothing needed
[11:19] <jcoxon> good work
[11:19] <jcoxon> now you can log everything mwhaha
[11:22] <Laurenceb> rjharrison: your own code?
[11:25] <rjharrison_> Bolox to that. Spark fun :)
[11:26] <rjharrison_> Just send the gps data or a tx from the atmega8 at 4800
[11:26] <Laurenceb> yeah
[11:26] <rjharrison_> All in fat16
[11:26] <Laurenceb> I was interested in the logomatic for an arm board
[11:27] <rjharrison_> There is a chip on there which could probably do a lot more than just log data
[11:27] <Laurenceb> sure
[11:27] <Laurenceb> theres an arm7
[11:27] <rjharrison_> Is that good?
[11:27] <Laurenceb> but badger is the ultimate
[11:27] <Laurenceb> ARM7 >> AVR
[11:27] <Laurenceb> 32 bit, much faster clock
[11:28] <Laurenceb> 80MHz at least on most devices
[11:28] <rjharrison_> Ahh
[11:28] <rjharrison_> Well I guess I could just use the logomatic as the next icarus main computer
[11:29] <Laurenceb> yeah
[11:29] <Laurenceb> sparkfun publish all the code
[11:29] <Laurenceb> and there is a bootloader on there
[11:29] <Laurenceb> fire up GCC and you're sorted
[11:29] <rjharrison_> Yep so I see. I'v only just got to grips with AVR so I'll probably stay there for a not
[11:30] <rjharrison_> bit
[11:30] <rjharrison_> haha fingers shifted right
[11:30] <Laurenceb> well the uC coding techniques are pretty similar
[11:30] <Laurenceb> ypu have the same sort of hardware
[11:30] <Laurenceb> and user the same techniques
[11:30] <Laurenceb> interrupts, timers ect
[11:30] <rjharrison_> Will investigate at some point as that additional power would be usefull
[11:31] <Laurenceb> you can use gcc
[11:31] <rjharrison_> + the board could be reduced massivly in size
[11:31] <rjharrison_> GPS + logomatic
[11:32] <rjharrison_> Humm day job keeps slipping
[11:32] <rjharrison_> Must do some work
[11:32] <rjharrison_> :)
[11:32] <Laurenceb> haha
[11:55] <edmoore> jcoxon: http://www.admin.cam.ac.uk/news/dp/2008120401
[12:15] <jcoxon> amazing edmoore
[12:16] <jcoxon> looking forward to seeing how the newspapers pick this up
[12:16] <jcoxon> everyone loves the story :-)
[12:17] <edmoore> heard the the grapevine from the press agency that the daily mail has rung up about 200 times asking for facts, names, double checking this and that
[12:17] <jcoxon> which teddy won?
[12:17] <edmoore> the one in the thermos
[12:17] <jcoxon> haha
[12:17] <jcoxon> inpratical for a spacewalk though
[12:17] <jcoxon> defintely would lose its tool bag
[12:17] <Laurenceb> "NOW emo students torture teddies"
[12:18] <Laurenceb> or s/emo/hoodie
[12:18] <edmoore> :)
[12:18] <jcoxon> wish i had some time to do some work on Peg VI
[12:22] <edmoore> right, tutor meeting. bbl
[12:24] bluenarf (n=Miranda@apollo.paulsnet.org) joined #highaltitude.
[12:24] <bluenarf> HAI
[12:24] <edmoore> dailymail.co.uk scroll down
[12:25] <Laurenceb> oh god
[12:26] <edmoore> a laptop and webcam.. hmm
[12:26] <edmoore> they got it all spectacularly incorrect, but hey-ho
[12:26] <Laurenceb> rofl
[12:27] <bluenarf> cool
[12:27] <bluenarf> is it in the paper?
[12:27] <Laurenceb> the picture above is verging on nsfw
[12:27] <bluenarf> hope you'll be billing them fo the pic
[12:27] <edmoore> :p
[12:27] <edmoore> right, tutor meeting
[12:27] <edmoore> bbl
[12:28] <bluenarf> who owns thatpic?
[12:29] <jcoxon> haha
[12:29] <jcoxon> very good
[12:29] <jcoxon> bluenarf: CUSF i guess
[12:29] <bluenarf> dam..
[12:30] <bluenarf> the mailpayithink arounf 80pound a pic
[12:30] <jcoxon> i think the pulbicity will be worth more the 80 pounds
[12:31] <bluenarf> spose
[12:31] <bluenarf> but it wouldcover the cost of the flight :P
[12:31] <jcoxon> "Classmate Sam White, 13, helped programme the camera to take pictures in space and let go of the balloon on Monday"
[12:31] <jcoxon> bless
[12:31] <jcoxon> i don't think Sam did programme the camera
[12:32] <bluenarf> HAHA
[12:32] <bluenarf> i would struggle tp program it :P
[12:33] <jcoxon> i seem to remember it was the clever people who reverse engineered the firmware on canon powershots to creat CHDK
[12:33] <Laurenceb> lol
[12:34] <Laurenceb> and how come they are talking about henry when ed is on the press release
[12:34] <jcoxon> they must of spoken to henry
[12:34] <jcoxon> also i think there is something on the CUSF website
[12:34] <Laurenceb> ah
[12:34] <bluenarf> ah, the press... getting it wrong since 1900
[12:34] <Laurenceb> maybe they got confused by the shape of the box
[12:35] <Laurenceb> it is a bit laptop shaped
[12:35] <Laurenceb> sorry enclosure
[12:35] <bluenarf> lucnh
[12:35] <bluenarf> gluck
[12:35] <jcoxon> other papers might do more research
[12:36] <jcoxon> tis the Daily Mail
[12:36] <Laurenceb> well you could hardly do less
[12:36] <jcoxon> haha
[12:36] <Laurenceb> lunch time bbl
[12:46] jcoxon (n=james@host86-158-31-172.range86-158.btcentralplus.com) left irc: "leaving"
[12:54] bluenarf (n=Miranda@apollo.paulsnet.org) left irc: Remote closed the connection
[13:03] <Laurenceb> ooh they seem to have edited the article
[13:03] <Laurenceb> it now says "a flight computer"
[13:04] <Laurenceb> but did they actually arrive in time to watch the landing?
[13:19] <Laurenceb> http://www.guardian.co.uk/education/2008/dec/04/teddy-bears-space
[13:19] <Laurenceb> made the gruniad
[13:24] <gordonjcp> Laurenceb: well done!
[13:24] <gordonjcp> what did it say before?
[13:25] <edmoore> we did see it come down yes
[13:25] <Laurenceb> nice
[13:25] <edmoore> just had daily telegraph on the phone
[13:25] <Laurenceb> thats a first
[13:25] <edmoore> dailymail.co.uk
[13:25] <edmoore> bbiab
[13:25] <Laurenceb> edmoore: how far away were you?
[13:25] <edmoore> it was about 50m above us
[13:25] <edmoore> directly above us - exactly where and when the prediction software said
[13:26] <edmoore> we parked and waited for it
[13:26] <Laurenceb> gordonjcp: it said a laptop was used and the temperature was -35C
[13:26] <Laurenceb> edmoore nice
[13:26] <Laurenceb> how far did it land from the car?
[13:27] edmoore (n=edmoore@pomegranate.chu.cam.ac.uk) left irc: Read error: 60 (Operation timed out)
[13:29] edmoore (n=edmoore@chu-gw.churchillcambridge.co.uk) joined #highaltitude.
[13:29] <Laurenceb> edmoore: how far from the car did it land?
[13:30] <edmoore> 150m maybe
[13:30] <Laurenceb> nice work
[13:30] <Laurenceb> do you just work out the drag coefficient beforehand?
[13:30] <Laurenceb> I'm planning on an extended kalman filter to find the drag coefficient and scale height
[13:31] <Laurenceb> I think I've got room to fit it on the mini rogallo now
[13:32] <Laurenceb> but you're just working out both beforehand?
[13:34] <Laurenceb> or rather useing a model atmosphere ( scale heigh changes with altitude)
[13:34] <edmoore> sorry, busy writing stuff atm
[13:34] <edmoore> some kind of fact box for the daily telegraph
[13:34] <edmoore> listen to me. this is mad
[13:39] jcoxon (n=james@host86-158-31-172.range86-158.btcentralplus.com) joined #highaltitude.
[13:45] <jcoxon> ooo teh guardian, good work edmoore
[13:45] <jcoxon> the mail article is a lot better now
[13:45] edmoore (n=edmoore@chu-gw.churchillcambridge.co.uk) left irc: Read error: 104 (Connection reset by peer)
[13:46] <Laurenceb> yeah they fixed it
[13:49] edmoore (n=edmoore@chu-gw.churchillcambridge.co.uk) joined #highaltitude.
[13:51] <edmoore> really dodgy wifi in the bar
[14:01] <Laurenceb> edmoiore: do you calculate the drag coefficients beforehand?
[14:08] <Laurenceb> for the chute
[14:10] <edmoore> roughly
[14:10] <edmoore> then the prediction software updates it from real data
[14:11] <edmoore> ie telem
[14:12] <Laurenceb> ah cool
[14:12] <Laurenceb> this runs on the ground?
[14:12] <Laurenceb> this was my idea for the mini rogallo - but run it onboard
[14:13] <Laurenceb> what algorythm do you use? extended kalman filter?
[14:15] edmoore (n=edmoore@chu-gw.churchillcambridge.co.uk) left irc:
[14:54] Tigga (n=chatzill@pc-111-234-129.magd.cam.ac.uk) joined #highaltitude.
[15:23] edmoore (n=edmoore@pomegranate.chu.cam.ac.uk) joined #highaltitude.
[15:41] Bluenarf (n=Paul@apollo.paulsnet.org) joined #highaltitude.
[15:41] Nick change: Bluenarf -> EI5GTB
[15:43] <soneil> I just noticed this in my feedreader, and don't see it in scrollback .. http://gizmodo.com/5101804/first-teddie-bear-astronauts-conquer-space
[15:44] <EI5GTB> OHAI
[15:46] <jcoxon> its spreeding
[15:46] <jcoxon> spreading*
[15:46] <jcoxon> i don't know what spreading is
[15:46] <jcoxon> spreeding*
[15:46] <jcoxon> oh damn i give up
[15:46] <soneil> good call
[15:46] <jcoxon> back to revision
[15:47] <EI5GTB> haha, it seems to have taken of allright
[15:48] <EI5GTB> lol, and its such a simple thing..
[15:48] <EI5GTB> wish i was at cambridge university =/
[15:48] <Laurenceb> its going viral
[15:48] <Laurenceb> it will become a new meme
[15:49] Action: jcoxon may have just submitted it to Make
[15:49] <EI5GTB> i cant even get permission to flu a balloon over here =/
[15:49] <Laurenceb> jcoxon: you need to do SSTV rickroll
[15:49] <Laurenceb> from space
[15:49] <Laurenceb> *nearspace
[15:49] <jcoxon> hehe
[15:50] <jcoxon> i'm not going to be able to fly Peg VI untill prob feb
[15:50] <EI5GTB> s/flu/fly
[15:50] <jcoxon> unless i slipped it in between christmas and new year, hmmm
[15:53] <Laurenceb> http://www.telegraph.co.uk/scienceandtechnology/3548363/Teddy-bears-in-space-first-pictures.html
[15:54] <jcoxon> haha, same mistakes
[15:54] <Laurenceb> http://digg.com/space/British_Teddy_Bears_in_Space
[15:55] <jcoxon> once you've been digged...
[15:55] <soneil> uhoh
[15:55] <jcoxon> or is it dug?
[15:56] <jcoxon> Laurenceb: you are a link theme
[15:56] <jcoxon> fiend
[15:56] <Laurenceb> http://www.mailonsunday.co.uk/sciencetech/article-1091896/British-bears-space-Schoolchildrens-teddies-pictured-19-miles-Earth-strapped-giant-weather-balloon.html
[15:56] <jcoxon> i'm ging mad
[15:56] <Laurenceb> hehe
[15:56] <jcoxon> time for a coffee break
[15:56] jcoxon (n=james@host86-158-31-172.range86-158.btcentralplus.com) left irc: "leaving"
[15:56] <Laurenceb> its appearing on more sites by the minute
[15:58] <Laurenceb> going exponential
[15:59] <EI5GTB> heh
[15:59] <EI5GTB> congrats!
[16:01] <EI5GTB> makes me want to get plans underway for my baloonm
[16:02] <Laurenceb> I'm trying to understand fldigi
[16:02] <EI5GTB> heh
[16:02] <Laurenceb> it looks like there is a way to setup decent logging
[16:02] <EI5GTB> whats botherin you?
[16:03] <EI5GTB> like, logbook?
[16:03] <Laurenceb> I want to be able to setup a flight info gui with fldigi
[16:03] <Laurenceb> but it seems to store in a weird Xlog format
[16:03] edmoore (n=edmoore@pomegranate.chu.cam.ac.uk) left irc:
[16:03] <Laurenceb> not just pure ascii dump from the console
[16:03] <EI5GTB> ah, yea
[16:04] <Laurenceb> hi edmoore
[16:04] <EI5GTB> he left :P
[16:04] <Laurenceb> its going viral
[16:04] <Laurenceb> oh
[16:04] <EI5GTB> lol
[16:04] <Laurenceb> durrrrrrrrrrrrrrrrr
[16:07] <Laurenceb> http://www.thesun.co.uk/sol/homepage/news/article2003670.ece
[16:07] <Laurenceb> oh wow
[16:09] <Laurenceb> the lego terrorist is just amazing
[16:09] <Laurenceb> I want that soo much
[16:10] <Laurenceb> with two lego AKs how cool is that
[16:10] Ebola (n=Ebola@unaffiliated/ebola) joined #highaltitude.
[16:10] <Laurenceb> http://news.sky.com/sky-news/content/StaticFile/jpg/2008/Dec/Week1/15172348.jpg
[16:10] <Laurenceb> just amazing
[16:11] <Laurenceb> its probably been banned :( killjoys
[16:26] <EI5GTB> grr, i hate the IAA
[16:26] <EI5GTB> theyu havnt gotten back to my most recent e-mail yet..
[16:29] Ebola (n=Ebola@unaffiliated/ebola) left irc: Connection timed out
[16:34] jcoxon (n=james@host86-158-31-172.range86-158.btcentralplus.com) joined #highaltitude.
[16:36] <EI5GTB> how the hell do you spell fasion?
[16:36] <EI5GTB> fashon
[16:36] <jcoxon> fashion
[16:36] <Laurenceb> :P
[16:36] <EI5GTB> ah, k
[16:36] <EI5GTB> tnx
[16:36] <Laurenceb> fascun
[16:38] <EI5GTB> heh
[16:38] <EI5GTB> dam dyslexia
[16:50] <EI5GTB> anyone in here understand itoa();?
[16:50] <EI5GTB> i want to know what "base" is
[16:51] <EI5GTB> my number will be a max of 1024, im thinking ill need a base of 8?
[16:52] <Laurenceb> hmm how did you deduce that?
[16:52] <Laurenceb> btw if you are trying to print on avr, I'd use rprintf
[16:56] <EI5GTB> rprintf?
[16:56] <EI5GTB> i deduced that because 1024 is an 8 bit number?
[16:56] <EI5GTB> oh, wait..
[16:57] <EI5GTB> theres my problem!
[16:57] <EI5GTB> its a 10 bit..
[16:58] <Laurenceb> u16
[16:59] <EI5GTB> rprintf, how do i interface that with my uart send application
[17:00] <EI5GTB> my program accepts a string (array) and keeps sending when the buffer is clear till it gets to \0
[17:00] <Laurenceb> u16=unsigned 16 bit integer
[17:00] <Laurenceb> well with rprintf you call a function to attatch it
[17:00] <Laurenceb> with the gcc printf you initialise a filestream
[17:02] <Laurenceb> FILE mystdio_usart = FDEV_SETUP_STREAM(put_char, get_char, _FDEV_SETUP_RW); //so we can printf to the radio //stdout= &mystdio_usart;
[17:02] <Laurenceb> put and get_char are your uart functions
[17:03] <EI5GTB> wow..
[17:03] Action: EI5GTB is losrt
[17:03] <Laurenceb> its just a c&p job
[17:03] <Laurenceb> printf needs a filestream to talk to
[17:04] <EI5GTB> my uart write fincton is "write_some" and adcvalue is the int i want to print..
[17:04] <Laurenceb> FDEV_SETUP_STREAM turns some function pointers into a stream
[17:04] <Laurenceb> ok
[17:04] <Laurenceb> so use that macro with write_some
[17:05] <Laurenceb> and a dummy function read_some
[17:05] Action: EI5GTB reads up on filestreams
[17:05] <Laurenceb> then printf("%d\r\n",adcvalue);
[17:05] <Laurenceb> you dont need to understand filestreams
[17:05] <EI5GTB> k :P
[17:05] <Laurenceb> its not a *nix system or anything
[17:06] <Laurenceb> you can think of it as a hack to make gcc work
[17:06] <EI5GTB> i see
[17:10] <Laurenceb> you will need #include <stdio.h>
[17:10] <Laurenceb> got it working?
[17:13] <EI5GTB> just gfoinna try it nowe
[17:13] <EI5GTB> my adc interupt probably isnt working.. but ill come to that in a bit
[17:13] <Laurenceb> got it compiling?
[17:13] jcoxon (n=james@host86-158-31-172.range86-158.btcentralplus.com) left irc: "leaving"
[17:14] <EI5GTB> yup
[17:14] <Laurenceb> kewl
[17:15] <Laurenceb> do you have lic, libm and libprintf_min in the config wizard?
[17:15] <Laurenceb> *libc
[17:15] <Laurenceb> in avr studio
[17:15] <EI5GTB> donno..
[17:15] <EI5GTB> i have a config wizard?
[17:16] <Laurenceb> if you go to the lhs
[17:16] <EI5GTB> hmm, its not sending stuff to the uart..
[17:16] <Laurenceb> at the top of the file tree, then right click on the gnu logo
[17:16] <Laurenceb> at the bottom of the popup should be configuration or something
[17:16] <Laurenceb> sorry its not in front of me atm
[17:17] <EI5GTB> aha, ok
[17:17] <EI5GTB> yea, where do the lic etc go
[17:17] <EI5GTB> ?
[17:17] <Laurenceb> you have the config wizard up?
[17:17] <EI5GTB> ok, found em
[17:17] <Laurenceb> ok theres a series of icons down the lhs of the wizard window
[17:18] <EI5GTB> yea, added in noqw
[17:18] <Laurenceb> ok
[17:18] <Laurenceb> check your code size, it should be a few KB if this works
[17:19] <EI5GTB> 2718 bytes..
[17:19] <Laurenceb> sounds pretty sensible
[17:20] <EI5GTB> hmm, still no output..
[17:20] <EI5GTB> while(1 == 1) { bla }
[17:20] <EI5GTB> that should work?
[17:20] <Laurenceb> you could just have while(1)
[17:20] <Laurenceb> or better for(;;)
[17:21] <Laurenceb> check the pin with a multimeter, it may be your hardweare
[17:21] <EI5GTB> no, my other functions are still o0utputting... but this one isnt
[17:22] <EI5GTB> it should be echoing 0 if nothing else
[17:22] <Laurenceb> voltage flickering about = good
[17:22] <Laurenceb> how have you interfaced to the pc?
[17:22] <EI5GTB> yup
[17:22] <EI5GTB> i have stuff shpwing up on ym terminal
[17:22] <EI5GTB> i have an interupt set up, and its sendingn ok
[17:22] <Laurenceb> cool
[17:23] <Laurenceb> use for(;;) for an endless loop
[17:23] <EI5GTB> but the printf() should be echoing every second, and nothing is ahowing up =/
[17:23] <EI5GTB> k
[17:23] <Laurenceb> as there is no condition to be evaluated, so the code is shorter
[17:23] <Laurenceb> pastebin your code
[17:24] <Laurenceb> http://pastebin.com/
[17:24] <EI5GTB> brace yourself :P
[17:24] <Laurenceb> {Laurenceb}
[17:25] <EI5GTB> http://pastebin.com/m599ee6b
[17:25] <EI5GTB> lol
[17:26] <Laurenceb> well adc_value should be volatile
[17:26] <Laurenceb> so volatile int
[17:26] <EI5GTB> ...?
[17:26] <EI5GTB> whats the diff
[17:26] <EI5GTB> ?
[17:26] <Laurenceb> as it is shared with an ISR
[17:26] <Laurenceb> so it may change at any time
[17:27] <EI5GTB> i see
[17:27] <EI5GTB> ok, changed
[17:27] <EI5GTB> i would be 90% sure my adc isnt working et..
[17:27] <Laurenceb> you also need to set stdout to the filestream
[17:27] <EI5GTB> but i want to get this echoing first
[17:28] <EI5GTB> ah..
[17:28] <Laurenceb> stdout= &mystdio_usart;
[17:30] <EI5GTB> aha, ok
[17:30] <EI5GTB> it...spits out... somthing now..
[17:30] <EI5GTB> well, it did a whie ago
[17:30] <Laurenceb> works?
[17:30] <EI5GTB> ?H?H?H?H?H?H
[17:30] <Laurenceb> wrong baud rate?
[17:30] <EI5GTB> nope, everything else is ok
[17:31] <EI5GTB> now it just keeps printing an L in the smae place
[17:31] <EI5GTB> h rather
[17:32] <Laurenceb> new lines inbetween?
[17:32] <EI5GTB> nope
[17:33] <Laurenceb> hmm
[17:33] <Laurenceb> well your write rsome routine is a bit odd
[17:33] <Laurenceb> no point using pointers
[17:33] <Laurenceb> it would be just as fast to pass the characters
[17:33] <Laurenceb> so char c
[17:34] <Laurenceb> http://pastebin.com/mc81396c
[17:35] <Laurenceb> you might need to setup the uart properly
[17:36] <EI5GTB> it works perfect with the printf but wond print out my strings anymore
[17:36] <Laurenceb> it works better now?
[17:37] <EI5GTB> the printf, but nothing else works at all now
[17:37] <Laurenceb> hmm on mega168 you need to initialise the uart more carefully
[17:37] <Laurenceb> you get 0?
[17:37] <EI5GTB> yup
[17:37] <Laurenceb> cool
[17:38] <EI5GTB> but it wont prnit out my strings..
[17:38] <EI5GTB> i.e all tit was doing before
[17:38] <Laurenceb> hmm I've lost the link sorry
[17:38] <EI5GTB> which?
[17:38] <Laurenceb> to your code on pastebin
[17:38] <EI5GTB> oh, ok
[17:38] <EI5GTB> <EI5GTB> http://pastebin.com/m599ee6b
[17:39] <Laurenceb> what strings?
[17:40] <EI5GTB> write_some("INTERRUPTED !!!!!! INTERRUPTED !!!!! :) \r\n");
[17:40] <EI5GTB> for instance..
[17:40] <Laurenceb> where is that function defined?
[17:40] <EI5GTB> at the bottom
[17:40] <EI5GTB> its an interupt
[17:40] <Laurenceb> write_some
[17:40] <Laurenceb> where is it defined
[17:41] <EI5GTB> at the top, its the one you changed....
[17:41] <Laurenceb> oh
[17:41] <Laurenceb> you changed it to take a character
[17:41] <Laurenceb> it cant take a string now
[17:41] <Laurenceb> you'll have to use printf
[17:41] <EI5GTB> oh....ok..
[17:43] <EI5GTB> GRR, how long did it take you to be this good at programming these things?
[17:44] <Laurenceb> about a year
[17:44] <Laurenceb> I've been programming avrs in C for about a year
[17:45] <EI5GTB> how long were you using C before that?
[17:45] <Laurenceb> about 6 years
[17:45] <EI5GTB> =/
[17:45] <Laurenceb> its not that hard to learn
[17:46] <EI5GTB> yea, but it takes time
[17:46] <EI5GTB> iv always been a more.. high level programmer
[17:46] <EI5GTB> i wish someone had told me to learn C
[17:47] <Laurenceb> I really like C
[17:49] <Laurenceb> is it working?
[17:51] <EI5GTB> yea, its working now
[17:51] <EI5GTB> just to get my adc working
[17:51] <EI5GTB> i probably just have a bit set wrong somewhere
[17:51] <EI5GTB> dinner first
[17:52] <Laurenceb> yeah check the datasheet
[17:52] <Laurenceb> I've never done interrupt based ADC on the mega8
[17:54] <Laurenceb> make sure its not generating interrupts faster than it can service them
[17:56] fergusnoble (n=fergusno@fn217.quns.cam.ac.uk) joined #highaltitude.
[17:57] <fergusnoble> hello
[17:57] akawaka (n=akawaka@66.215.97.198) joined #highaltitude.
[17:59] <Laurenceb> hi fergus
[18:00] <Laurenceb> the bear photos are everywhere
[18:00] <Laurenceb> :D
[18:01] <Laurenceb> fergusnoble: I'm very impressed by the landing spot prediction
[18:01] <fergusnoble> hehe, yeah, just got an email from JP
[18:02] <Laurenceb> ha
[18:02] <Laurenceb> they are a bit nuts
[18:02] <Laurenceb> airship to orbit
[18:03] <Laurenceb> fergusnoble: for my guided descent code, I run landing spot prediction in reverse from the target landing spot up to the curretn antitude, then set the resulting alt/long as the target
[18:04] <Laurenceb> it enables the glider to take advantage of the wind during the descent
[18:04] <fergusnoble> that sounds really cool
[18:04] <Laurenceb> so I was thinking of incorporating elements of your code to get it working a bit better
[18:04] <Laurenceb> at the moment I'm just using an exponentially decaying atmosphere
[18:05] <Laurenceb> and wind recorded during the ascent
[18:05] Ebola (n=Ebola@unaffiliated/ebola) joined #highaltitude.
[18:05] <Laurenceb> but actually I think the main problem is calculating how fast the glider loses altitude, you can estimate beforehand but you really need to estimate as you go along
[18:06] <Laurenceb> so, do you estimate the drag coefficient for the parachute iteratively during the descent?
[18:11] <Laurenceb> fergusnoble: ping
[18:12] <fergusnoble> yeah, we refine the drag coefficient with the measured decent rate data
[18:12] <fergusnoble> the trouble is for a glider you cant assume you are equilibrium
[18:12] <fergusnoble> i.e. you have some velocity relative to the wind
[18:12] <fergusnoble> might make things more complicated
[18:13] <Laurenceb> yeah
[18:13] <Laurenceb> but z velocity is basically the same
[18:14] <Laurenceb> so how do you refine the coefficient? just a basic weighted correction?
[18:15] <Laurenceb> I was thinking of an extended kalman filter, as I really want to correct the atmospheric model as well
[18:19] Hiena (n=Hiena@81.93.195.181.datatrans.hu) joined #highaltitude.
[18:20] <Laurenceb> fergusnoble: do you just run a weighted estimate correction?
[18:21] <fergusnoble> its even cruder i think, although i didnt implement that part
[18:21] <Laurenceb> right
[18:21] <fergusnoble> i think it just uses the measured decent rate once it has detected burst
[18:21] <Laurenceb> I guess the simplest thing that would work pretty well would be to have a crude "estimate error term"
[18:22] <Laurenceb> the correct based on the predicted error of the measurement and the a priori estimates error
[18:22] <Laurenceb> kind of a crude kalman type thingy
[18:23] <Laurenceb> but runs quite fast, only one or two exponents to find
[18:23] <Laurenceb> I'll wrok out the integrals first then play with some code :P
[18:25] <Laurenceb> the existing code works like: Target = atan2((targeteast - Gps.longitude)*cos(targetnorth) - descent_drift_e,targetnorth - Gps.latitude - descent_drift_n);
[18:26] <Laurenceb> where the drift terms are found by integrating a parachute (i.e. spiralling) type decent over all the atmospheric layers between the present altitude and the ground
[18:27] <akawaka> neat, you guys are on gizmodo
[18:29] <Tigga> I think the best one is the daily mail webpage front page
[18:30] <fergusnoble> we are on gizmodo? i cant find it?
[18:31] <Laurenceb> google gizmodo and bears in space
[18:36] <Laurenceb> hmm the telegraph says " a laptop attatched to a webcam"
[18:37] <Laurenceb> wrong !
[18:38] <Laurenceb> well I'm off, cya folks
[18:38] Laurenceb (i=zeusbot@lister.antycip.co.uk) left irc: "leaving"
[18:39] <gordonjcp> hah, you don't believe anything that the Torygraph says?
[18:47] rjharrison (n=rharriso@80.176.172.227) joined #highaltitude.
[19:09] <rjharrison> Right then fellow geeks. I have been prototyping using stripboard and I wondered if there is a better solution other than producing my own boards using eagle?
[19:14] <akawaka> i don'tuse stripboardmyself, just perfboard with solder pads
[19:17] <akawaka> i've thought of trying to etch my own boards
[19:20] edmoore (n=edmoore@pomegranate.chu.cam.ac.uk) joined #highaltitude.
[19:26] Hiena (n=Hiena@81.93.195.181.datatrans.hu) left irc: "-=Halt! Hammerzeit!=-"
[19:29] edmoore (n=edmoore@pomegranate.chu.cam.ac.uk) left irc:
[19:34] Tigga (n=chatzill@pc-111-234-129.magd.cam.ac.uk) left irc: "ChatZilla 0.9.84 [Firefox 3.0.4/2008102920]"
[20:20] <EI5GTB> i use breadboard or my own etching statio
[20:20] <EI5GTB> n
[20:20] <EI5GTB> most of my projects never make it of breadboard tho :P
[20:30] edmoore_ (i=836f0142@gateway/web/ajax/mibbit.com/x-d1f373e0adff48ae) joined #highaltitude.
[20:30] <edmoore_> evening all
[20:52] <rjharrison> Hi ed
[20:52] <edmoore_> all well?
[20:53] <rjharrison> Humm
[20:53] <rjharrison> Seem to have run my pp3 down real quick with the logomatic in there
[20:53] <rjharrison> Like 30 mins
[20:54] <rjharrison> Will probably need to measure the current draw for the syste,
[20:54] <rjharrison> system
[20:54] <edmoore_> that is fast
[20:54] <edmoore_> I am now doing just work
[20:54] <edmoore_> probably all night
[20:54] <edmoore_> today was silly
[20:54] <rjharrison> Real work like studying
[20:54] <rjharrison> haha but fun
[20:54] <rjharrison> Well done. ]
[20:55] <edmoore_> I think we made a few papers
[20:55] <edmoore_> did a live interview on five live earlier
[20:55] <rjharrison> I'm not sure I would want to get that much attention to what we're doing. It will be interesting to see where it goes
[20:55] <edmoore_> then local tv news at the school
[20:55] <rjharrison> Cool
[20:56] <rjharrison> How much better are the lithiums over standard batteries?
[20:56] <rjharrison> Just a guess
[20:56] <rjharrison> 6x
[20:56] <edmoore_> no idea
[20:56] <edmoore_> 4 times?
[20:56] <edmoore_> just honestly don't know
[20:56] <rjharrison> I'd go for that
[20:57] <rjharrison> They don't give amphrs on them
[20:57] <rjharrison> On last one edmoore_ before you gt on with your work
[20:58] <rjharrison> Whats the best way of building a proto baoard if I don't want to etch one
[20:58] <rjharrison> Strip?
[20:58] <edmoore_> guess so
[20:58] <rjharrison> Plane board with holes?
[20:59] <rjharrison> Just going to retrieve Icarus from the car
[20:59] <edmoore_> strip is fairly easy and useful
[21:00] <rjharrison> Ok I'll stick with it
[21:02] <EI5GTB> you guys know of an app to simulate nmea data on the rs232 line..?
[21:02] <rjharrison> Can't you just sent dome data from one com port to another
[21:03] <EI5GTB> yea, but i want to send nmea data to a chip, so i need somthing to send nmea
[21:05] <edmoore_> how about the nmea simulator on the wiki
[21:10] <EI5GTB> would that simulate nmea?
[21:10] <EI5GTB> ;)
[21:10] <EI5GTB> thanks
[21:36] Simon-MPFH (n=simon@phantom.mpfh.co.uk) left irc: "Leaving"
[21:38] jiffe99 (n=jiffe@67.158.3.217) left irc: Read error: 101 (Network is unreachable)
[21:38] jiffe88 (n=jiffe2@67.158.3.217) left irc: Read error: 110 (Connection timed out)
[21:42] Xenion (n=robert@p579FCF01.dip.t-dialin.net) joined #highaltitude.
[22:12] Tigga (n=chatzill@pc-111-234-129.magd.cam.ac.uk) joined #highaltitude.
[22:14] <edmoore_> all http://www.bbc.co.uk/fivelive/
[22:14] <edmoore_> download of the day
[22:17] <EI5GTB> heh
[22:17] Action: EI5GTB is listening now
[22:19] <EI5GTB> you had someon on the phone from nasa
[22:19] <EI5GTB> ?
[22:19] <EI5GTB> who was that bing interviewed?
[22:20] <Tigga> ed I think
[22:20] <EI5GTB> heh
[22:21] <edmoore_> yep
[22:21] <edmoore_> it was someone i already know at nasa, but it was a bit of a rushed answer as it took me a while to mentally confirm that she did infact ask something quite than banal and odd
[22:23] <Tigga> no sponsor plug...
[22:23] <Tigga> :P
[22:24] <Tigga> do you know which papers I should be looking at ed?
[22:25] <Tigga> btw - just noticed a times article. http://www.timesonline.co.uk/tol/news/uk/science/article5289142.ece
[22:25] <Tigga> no photos....
[22:30] <edmoore_> christ
[22:31] <edmoore_> so that's basically every national newspaper
[22:31] <edmoore_> Tigga: look at all of them, essentially
[22:31] <Tigga> excellent
[22:32] <EI5GTB> jees well done!
[22:34] <EI5GTB> when i launch my first baloon i hopr ill get as much attention
[22:34] <EI5GTB> :P
[22:35] <natrium42> whoa, congrats edmoore_ fergusnoble & rest of the team
[22:37] Action: natrium42 downloads podcast
[23:15] Xenion (n=robert@p579FCF01.dip.t-dialin.net) left irc: "Verlassend"
[23:27] <fergusnoble> edmoore_: how do i get to the 5 live interview?
[23:28] <edmoore_> fergusnoble: bbc.co.uk/fivelive
[23:28] <edmoore_> then 'latest download'
[23:28] <edmoore_> teddies in space
[23:29] <fergusnoble> its changed to something else now
[23:31] <fergusnoble> found it
[23:32] <Tigga> http://downloads.bbc.co.uk/podcasts/fivelive/5lsotd/5lsotd_20081204-1832a.mp3
[23:32] <Tigga> ah... you found it
[23:33] <fergusnoble> edmoore_: nice :)
[23:34] <fergusnoble> so what did the nasa people want?
[23:37] <edmoore_> it was someone I already knew from summer work
[23:37] <edmoore_> it's just the only answer I could come up with in response to a fairly silly question
[23:41] <Tigga> she didn't sound like she believed you when you said rocket to 150km
[23:46] edmoore_ (i=836f0142@gateway/web/ajax/mibbit.com/x-d1f373e0adff48ae) left irc: "http://www.mibbit.com ajax IRC Client"
[23:47] edmoore_ (i=836f0142@gateway/web/ajax/mibbit.com/x-7aa7c2d797ba2c5f) joined #highaltitude.
[23:51] <akawaka> teddy bears seem to be a publicity multiplier
[23:54] <fergusnoble> edmoore_: did anyone see if those photos we took of it landing came out?
[23:55] <fergusnoble> i think we should try and jump on this and use it as massive leverage to get a better lab
[23:57] <edmoore_> fergusnoble: they didn't
[23:57] <edmoore_> and bloody hell, will we
[23:58] <natrium42> :D
[00:00] --- Fri Dec 5 2008