highaltitude.log.20080820

[00:01] <jcoxon> night all
[00:01] jcoxon (n=jcoxon@81-178-75-36.dsl.pipex.com) left irc: "Leaving"
[00:03] <Laurenceb> actually this gyro problem is weird, I use a u16 mask that should limit the size of the gyro output
[00:05] <Laurenceb> but I'm getting turn rates in the order of 8000 degrees/second
[00:10] <akawaka> how does the gyro return its data?
[00:10] <Laurenceb> two bytes
[00:11] <Laurenceb> I've altered the read_gyro function so it returns a u16 now
[00:11] <Laurenceb> read_gyro gives sensible results
[00:11] <fnoble> Laurenceb, bytes in the wrong order? :p
[00:12] <Laurenceb> but it would appear the bug is here: measurement_vector.b=(float)(125.0/1024.0)*(float)(read_gyro()-gyro_null);
[00:12] <Laurenceb> fnoble: no, the u16 is sensible when I rotate the gyro
[00:12] <Laurenceb> but that equation gives a mad result if read_gyro is very low ( ie ~128 or something)
[00:13] <fnoble> ah, maybe is gyro_null is hoigher than that and makes the result negative
[00:13] <Laurenceb> sure
[00:13] <fnoble> and then for some reason it is being treated as unsigned
[00:13] <Laurenceb> ah
[00:13] <Laurenceb> hmm I'm still a bit confised
[00:14] <akawaka> cast read_gyro() to a float and then subtract
[00:14] <fnoble> negative numbers are stored in two's complement
[00:14] <Laurenceb> so gyro_null=1009 (its a macro)
[00:14] <fnoble> so small negative numbers correspond to very large unsigned numbers
[00:14] <Laurenceb> I kind of see where this is going
[00:14] Action: Laurenceb needs to study more comp sci
[00:15] <Laurenceb> fnoble: thanks
[00:15] <Laurenceb> its all starting to make sense now :D
[00:16] <akawaka> or return a s16 from read_gyro()
[00:16] <Laurenceb> unfortunately my gyro is well and truly screwed, it cant return positive results
[00:16] <Laurenceb> ie >1009
[00:17] <akawaka> read_gyro() is always going to return a positive result
[00:17] <akawaka> because you mask out the upper bits
[00:17] <Laurenceb> I could still test it by running around the garden is anticlockwise circles I guess :P
[00:17] <Laurenceb> no if I printf the u16 is always under the nullpoint
[00:18] <Laurenceb> even if I spin clockwise with the test rig
[00:18] <akawaka> but its never <0
[00:18] <Laurenceb> true
[00:18] <Laurenceb> s/test rig/plate with stuff duck taped to it
[00:18] <akawaka> and its never greater than 0x07ff
[00:18] <Laurenceb> yeah
[00:19] <akawaka> so use an s16
[00:19] <akawaka> only use unsigned numbers when you truely need to deal with an unsigned value
[00:19] <fnoble> Laurenceb, maybe your null point is wrong then?
[00:19] <akawaka> otherwise you end up hiding a bunch of potential problems
[00:20] <Laurenceb> no, it gives the same result if I'm stationary as if I'm spinning clockwise
[00:20] <Laurenceb> akawaka: the adc in the mlx90609 gives a u16 I'm pretty sure
[00:20] <Laurenceb> so could I run into problems treating it as a s16?
[00:21] <fnoble> Laurenceb, potentially, buy would probably have been crushed by the centripetal force well before then
[00:21] <fnoble> so you wouldnt care anyway
[00:22] <Laurenceb> I just stuck up the code
[00:22] <Laurenceb> - latest version of
[00:22] <fnoble> link?
[00:22] <Laurenceb> http://wiki.ukhas.org.uk/code:parafoil_tsip
[00:23] <akawaka> no matter what the adc returns, the value you return from read_gyro can only ever be a value from 0 to 0x07ff, because of how you mask it
[00:23] <Laurenceb> sure
[00:24] <fnoble> Laurenceb, you should use caps for constants and macros
[00:24] <fnoble> makes it easier to read
[00:24] <akawaka> yes
[00:24] <akawaka> makes it clear that something like MASK_WORD is a constant
[00:24] <Laurenceb> ok
[00:25] <Laurenceb> sounds like a good plan :P
[00:25] <Laurenceb> so, (float)(125.0/1024.0)*(float)((float)read_gyro()-gyro_null); or (float)(125.0/1024.0)*(float)((s16)read_gyro()-gyro_null); ?
[00:25] <akawaka> s16 read_gyro() { ... }
[00:25] <Laurenceb> ok
[00:26] <fnoble> also you dont need the first explicit cast there i think
[00:26] <fnoble> not that it hurts
[00:26] <akawaka> of course cpu header files always end up confusing things by using uppercase for registers
[00:27] <Laurenceb> flashing it...
[00:30] <Laurenceb> ooohhh yeah :D
[00:30] <Laurenceb> groovy kalman and pidyness
[00:32] <fnoble> can you go lockwise now?
[00:32] <fnoble> damn mini keyboard
[00:32] <Laurenceb> fraid not
[00:32] <Laurenceb> its this gyro - I never even expected it to work at all, so I'm not very annoyed :P
[00:33] <Laurenceb> direction indicator led appears not to work, but appart from that everythings as it should be :-D
[00:34] <Laurenceb> the kalman filter is nice and stable
[00:34] <Laurenceb> looks like time to order a new gyro
[00:35] <Laurenceb> I havent tested the gps properly get as its hard to get a lock in here, so its just getting a gps heading of 0 through atm
[00:37] <Laurenceb> I'll probably get one from here http://robosavvy.com/store/product_info.php/products_id/417?osCsid=85f137a7336b268287d629d713dca2a9
[00:39] <Laurenceb> fnoble: have I got the bytes the correct way round in the configuration string to the gps? (the 0xBF800000 is supposed to be -1)
[00:47] <fnoble> i cant see that in the code?
[00:54] <Laurenceb> sorry was watching tv
[00:54] <Laurenceb> its at the top
[00:54] <Laurenceb> config_string
[00:55] <fnoble> ok
[00:56] <fnoble> looks good to me
[00:56] <Laurenceb> I used an online app thingy to get the hex for -1
[00:56] <fnoble> i havnt tried to set that before
[00:56] <Laurenceb> its to set the filter to airborne
[00:56] <fnoble> is the gps acting up?
[00:57] <Laurenceb> not sure, its talking but it wouldnt get a lock in my room anyway
[00:57] <Laurenceb> I just wondered about the byte order, thats all
[00:57] <fnoble> i dont really know then
[00:58] edmoore (n=edmoore@37.124-84-212.ippool.ndo.com) left irc:
[00:58] <Laurenceb> guess I'll have to try experimenting outside
[00:58] <Laurenceb> oh well time to get some sleep, thanx for all the help
[00:58] <fnoble> i think thats right, but then it was doing odd things when sending floats back
[00:58] <fnoble> np
[00:58] <fnoble> sleep for me too
[00:58] <fnoble> night
[00:58] <Laurenceb> ccya
[00:58] Laurenceb (n=Laurence@host86-133-69-206.range86-133.btcentralplus.com) left irc:
[01:01] gleblanc (n=gleblanc@75.111.221.67) joined #highaltitude.
[01:29] ball (n=ball@216.176.80.183) joined #highaltitude.
[01:45] <ball> I think we need a payload that will polish the ionosphere for us, to enhance skip :-)
[01:54] Action: ball sighs
[02:55] ball (n=ball@216.176.80.183) left irc: "leaving"
[03:26] akawaka (n=akawaka@external.treyarch.com) left irc: Read error: 110 (Connection timed out)
[03:26] soneil (n=soneil@pdpc/supporter/active/soneil) left irc: Read error: 104 (Connection reset by peer)
[03:27] soneil (n=soneil@89.100.243.212) joined #highaltitude.
[03:42] ball (n=ball@216.176.80.183) joined #highaltitude.
[04:01] ball (n=ball@216.176.80.183) left #highaltitude.
[04:13] borism (n=boris@195-50-200-133-dsl.krw.estpak.ee) joined #highaltitude.
[04:19] borism_ (n=boris@195-50-199-92-dsl.krw.estpak.ee) left irc: Read error: 145 (Connection timed out)
[04:41] Ei5GTB (n=Paul@78.16.169.36) got netsplit.
[04:41] borism (n=boris@195-50-200-133-dsl.krw.estpak.ee) got netsplit.
[04:41] Ei5GTB (n=Paul@78.16.169.36) returned to #highaltitude.
[04:42] borism (n=boris@195-50-200-133-dsl.krw.estpak.ee) returned to #highaltitude.
[06:39] natrium42 (n=alexei@rescomp-conf-08-10043.Stanford.EDU) joined #highaltitude.
[07:24] Simon-MPFH (n=simon@phantom.mpfh.co.uk) joined #highaltitude.
[07:40] natrium42 (n=alexei@rescomp-conf-08-10043.Stanford.EDU) left irc:
[07:44] natrium42 (n=alexei@rescomp-conf-08-10043.Stanford.EDU) joined #highaltitude.
[07:56] Ebola (n=Ebola@unaffiliated/ebola) joined #highaltitude.
[08:19] jcoxon (n=jcoxon@85-210-97-212.dsl.pipex.com) joined #highaltitude.
[08:32] edmoore (n=edmoore@37.124-84-212.ippool.ndo.com) joined #highaltitude.
[08:36] <jcoxon> morning all
[08:38] <natrium42> hey
[08:39] <gordonjcp> morning
[08:40] <jcoxon> hehe, i don't know why i bother looking at teh forecasts - another day, a completly different situation
[08:44] edmoore (n=edmoore@37.124-84-212.ippool.ndo.com) left irc:
[08:46] borism_ (n=boris@195-50-205-44-dsl.krw.estpak.ee) joined #highaltitude.
[08:52] borism (n=boris@195-50-200-133-dsl.krw.estpak.ee) left irc: Read error: 145 (Connection timed out)
[09:06] edmoore (n=edmoore@smtp.vorticity-systems.com) joined #highaltitude.
[09:07] jcoxon (n=jcoxon@85-210-97-212.dsl.pipex.com) left irc: "Leaving"
[09:10] Hiena (n=Hiena@81.93.195.181.datatrans.hu) joined #highaltitude.
[09:55] icez (n=icez@unaffiliated/icez) left irc: "Lost terminal"
[10:06] jcoxon (n=jcoxon@85-210-97-212.dsl.pipex.com) joined #highaltitude.
[10:17] <edmoore> hi jcoxon
[10:17] <edmoore> what's new?
[10:18] <jcoxon> hey edmoore
[10:19] <jcoxon> not much
[10:19] <edmoore> forecast?
[10:19] <jcoxon> sunday now
[10:19] <edmoore> or still Too Early To Tell (tm)
[10:19] <jcoxon> still to early to tell
[10:19] <jcoxon> at some point this weekend the weather will be good
[10:19] <edmoore> launching from ou?
[10:20] <edmoore> ha, you need everyone in cam
[10:20] <edmoore> on high altert
[10:20] <edmoore> in a room, with a tele and coffee machine and pool table
[10:20] <edmoore> then an alarm sounds
[10:20] <edmoore> and everyone jumps up, slides down a pole and gets into action
[10:20] <jcoxon> i was thinking more thunderbirds
[10:20] <jcoxon> where we each have a pod
[10:20] <edmoore> s/pool table/trpical island
[10:20] <jcoxon> yeah
[10:21] <jcoxon> though if we had our water tower then perhaps poles would be better
[10:21] <edmoore> thunderbird 5 could give up-to-the-minute jet stream reports
[10:21] <edmoore> oh yeah!
[10:21] <edmoore> gosh that would be cool
[10:21] <jcoxon> hehe
[10:22] <gordonjcp> I want some sort of quite big car with a removable or soft-top roof
[10:22] <gordonjcp> so I can pop a big aerial up through it
[10:22] <jcoxon> oh i've got the car
[10:23] <jcoxon> short wheel base army landrover
[10:23] <gordonjcp> perfect
[10:23] <gordonjcp> I want to get a big roofrack for m yCX Break
[10:23] <gordonjcp> well, it *would* be a big roofrack, it's a big roof
[10:23] <jcoxon> but its really hard to drive
[10:24] <edmoore> a defender 110 would be the ultimate ukhas vehicle
[10:24] <edmoore> you could have a operations room in the back
[10:24] <gordonjcp> yeah, driving my mate's S3 petrol SWB was a bit of a change from my CX
[10:24] <edmoore> helium bottoles lengthways under the lengthways seats
[10:24] <gordonjcp> I've never driven a vehicle that could have benefitted from a power-assisted throttle pedal before
[10:37] Hiena (n=Hiena@81.93.195.181.datatrans.hu) left irc: "-=Halt! Hammerzeit!=-"
[11:49] <SpeedEvil> gordonjcp: bikes. What else are motorbikes, but bikes with power assisted throttle pedals.
[11:56] <gordonjcp> heh
[12:13] <SpeedEvil> Silly site of the day. http://www.morphthing.com/celebrity/12225-Prince-Charles-and-George-Bush
[12:25] phatmonkey (n=ben@scooby.firshman.co.uk) joined #highaltitude.
[13:01] Hiena (n=Hiena@81.93.195.181.datatrans.hu) joined #highaltitude.
[13:17] soneil (n=soneil@pdpc/supporter/active/soneil) left irc: Read error: 104 (Connection reset by peer)
[13:18] soneil (n=soneil@89.100.243.212) joined #highaltitude.
[13:23] Simon-MPFH (n=simon@phantom.mpfh.co.uk) left irc: "Leaving"
[13:29] Simon-MPFH (n=simon@phantom.mpfh.co.uk) joined #highaltitude.
[13:53] phatmonkey (n=ben@scooby.firshman.co.uk) left irc:
[13:56] jcoxon (n=jcoxon@85-210-97-212.dsl.pipex.com) left irc: "Leaving"
[15:26] <edmoore> fnoble: ping
[15:40] icez (n=icez@unaffiliated/icez) joined #highaltitude.
[16:01] natrium42 (n=alexei@rescomp-conf-08-10043.Stanford.EDU) left irc:
[17:08] edmoore (n=edmoore@smtp.vorticity-systems.com) left irc:
[17:15] Ei5GTB_ (n=Paul@78.16.61.57) joined #highaltitude.
[17:19] soneil_ (n=soneil@89.100.243.212) joined #highaltitude.
[17:19] edmoore (n=edmoore@37.124-84-212.ippool.ndo.com) joined #highaltitude.
[17:32] Ei5GTB (n=Paul@78.16.169.36) left irc: Connection timed out
[17:36] soneil (n=soneil@pdpc/supporter/active/soneil) left irc: Read error: 113 (No route to host)
[17:45] Ebola (n=Ebola@unaffiliated/ebola) left irc: "Home time!"
[18:33] jcoxon (n=jcoxon@85-210-97-212.dsl.pipex.com) joined #highaltitude.
[18:40] G8KHW (n=Steve@217.47.75.27) joined #highaltitude.
[18:40] <jcoxon> evening all
[18:41] <G8KHW> evening jcoxon
[18:41] <G8KHW> has anyone done any more to the sstv proggie?
[18:41] <jcoxon> not at my end
[18:41] <jcoxon> G8KHW, does your pm work?
[18:42] <G8KHW> ok yeah
[18:46] <edmoore> jcoxon: yo
[18:46] <edmoore> that is all
[18:47] <jcoxon> hey edmoore
[18:49] ball (n=ball@216.176.80.183) joined #highaltitude.
[18:50] <jcoxon> pretty much ready for hte weekend now :-)
[18:50] <jcoxon> just need this damn camera
[18:51] Shanuson (n=Peter@p54A97F97.dip.t-dialin.net) joined #highaltitude.
[18:51] <ball> Is the camera part of a balloon payload?
[18:51] <ball> hello Shanuson
[18:51] <Shanuson> hello ball
[18:52] <jcoxon> ball, yeah it is
[18:52] <jcoxon> though there is another camera already
[18:52] <jcoxon> this camera is to be used with the sstv radio downlink
[18:53] <edmoore> right, off to eat. bbl
[18:55] <ball> bon apetit edmoore
[18:55] <ball> jcoxon: fairly low res then?
[18:55] akawaka (n=akawaka@external.treyarch.com) joined #highaltitude.
[18:55] <jcoxon> yeah, its a 2meg camera
[18:56] <jcoxon> but it'll be scaled down to 320x256 for transmission
[18:57] <ball> hello akawaka
[18:59] <ball> SSTV over SSB?
[18:59] <jcoxon> over FM
[19:00] <ball> 70cm?
[19:00] <jcoxon> yeah
[19:00] <jcoxon> ball, http://www.pegasushabproject.org.uk/wiki/doku.php/missions:haps:haps-1
[19:01] <jcoxon> flight details
[19:01] <G8KHW> bbl
[19:01] <ball> Thanks
[19:03] <jcoxon> ball, where you based?
[19:04] zeusbot joined #highaltitude.
[19:04] <ball> jcoxon: I'm British, but I live in Illinois, USA
[19:04] <jcoxon> oh right
[19:04] <jcoxon> cool
[19:04] <jcoxon> be involved in balloons before?
[19:04] <ball> cool in winter: -20C for days on end.
[19:04] <jcoxon> wow
[19:05] <ball> jcoxon: no, I've not had the opportunity.
[19:05] <SpeedEvil> The person that invents the IRC heatpipe'd be a millionare.
[19:05] <jcoxon> ball, you should!
[19:06] <ball> jcoxon: agreed. The interest is certainly there.
[19:07] <jcoxon> cool
[19:07] <jcoxon> well the plan is for a launch this weekend
[19:07] <jcoxon> with online tracking and such
[19:08] <jcoxon> so do hang around
[19:08] <jcoxon> on that note i'll bbl :-D
[19:11] kamaji (n=kamaji@handtomouse.demon.co.uk) joined #highaltitude.
[19:22] <ball> hello kamaji
[19:26] <kamaji> hi
[19:26] <kamaji> my board arrived today, whoot
[19:26] <kamaji> I just realised I forgot a power adapter :3
[19:28] <ball> microcontroller board?
[19:29] gleblanc (n=gleblanc@75.111.221.67) left irc: Read error: 110 (Connection timed out)
[19:33] Action: SpeedEvil ponders surfboards with power adaptors.
[19:39] <kamaji> ball: sorry, it's an eval board for that GM862 chip
[19:41] <kamaji> also: surfboards with power adaptors?
[19:42] <edmoore> just taken delivery of 32m x 1m of parachute-grade ripstop day-glo orange nylon
[19:43] <kamaji> heheh
[19:43] <kamaji> What's that for?
[19:43] <kamaji> and don't say "a parachute"
[19:44] <edmoore> ha
[19:44] <edmoore> well, a series of tests of parachutes as part of the recovery system for our rockoon
[19:45] <edmoore> Trying to get some real-world data on the design I'm working on
[19:45] <edmoore> and the 1:1 scale model will be the main parachute on the new badger payload, which has dual-stage recovery
[19:45] <kamaji> is rockoon the name of the project?
[19:46] <edmoore> no, Martlet is its name
[19:46] <kamaji> Weren't there a load of mini-rockets launched in the '60s called martlets?
[19:47] <ball> I have to go, my daughter just woke up crying
[19:47] <edmoore> not sure. I didn't come p with the name, just accepted like a worker bee
[19:47] ball (n=ball@216.176.80.183) left irc: "leaving"
[19:47] <edmoore> but I've been given 200g as a budget to make a recovery system for a space rocket
[19:48] <edmoore> so I thought I'd better get cracking
[19:49] gleblanc (n=gleblanc@75.111.221.67) joined #highaltitude.
[19:49] <kamaji> 200g? is this the rapper definition of g?
[19:49] <kamaji> oh, weight
[19:49] <kamaji> >_>
[19:51] <edmoore> indeed
[19:51] <edmoore> don't do rapper very well
[19:52] <edmoore> though we're trying to find a way to use 'leeeeroy jeeeenkins!!!!' as some kind of audio announcement in the ground software
[19:53] <kamaji> oh dear oh dear :D
[20:00] <edmoore> maybe at cutdown
[20:08] phatmonkey (n=ben@scooby.firshman.co.uk) joined #highaltitude.
[20:16] kamaji_ (n=kamaji@handtomouse.demon.co.uk) joined #highaltitude.
[20:31] kamaji (n=kamaji@handtomouse.demon.co.uk) left irc: Read error: 110 (Connection timed out)
[20:34] <kamaji_> well that's irritating
[20:34] Nick change: kamaji_ -> kamaji
[20:34] <kamaji> it looks like phonecalls are disconnecting my internet connection again
[20:38] <kamaji> :o cool http://www.neural-prosthesis.com/
[20:38] <kamaji> it's about time for an upgrade
[20:56] <G8KHW> rebooting
[20:56] G8KHW (n=Steve@217.47.75.27) left irc: "Leaving"
[20:57] phatmonkey (n=ben@scooby.firshman.co.uk) left irc:
[20:58] <jcoxon> edmoore, Leeeeroy Jenkins is surely at launch
[20:58] <edmoore> i guess so
[20:58] <jcoxon> give me 10 mins
[20:58] <jcoxon> i'll sort it out
[20:59] <edmoore> before trajectory forecast has finished running
[20:59] <jcoxon> hehe
[20:59] <kamaji> Where are you guys running your forecasts? is that web page?
[21:03] <jcoxon> http://weather.uwyo.edu/polar/balloon_traj.html
[21:07] <kamaji> ah yeah, that's the one- could you give me an example of what you put for latitude and longitude? It kept throwing errors no matter what I tried
[21:08] <jcoxon> 52.214, 0.098
[21:09] <kamaji> oh, cheers
[21:09] <kamaji> I did too many digits
[21:10] RocketBoy_ (n=ubuntu@217.47.75.27) joined #highaltitude.
[21:30] RocketBoy_ (n=ubuntu@217.47.75.27) left irc: "Ex-Chat"
[21:30] Simon-MPFH (n=simon@phantom.mpfh.co.uk) left irc: "Leaving"
[21:35] ball (n=ball@216.176.80.183) joined #highaltitude.
[21:43] Hiena (n=Hiena@81.93.195.181.datatrans.hu) left irc: "-=Halt! Hammerzeit!=-"
[21:44] ball (n=ball@216.176.80.183) left irc: "leaving"
[22:11] G8KHW (n=Steve@217.47.75.27) joined #highaltitude.
[22:12] Shanuson (n=Peter@p54A97F97.dip.t-dialin.net) left #highaltitude.
[22:25] <jcoxon> G8KHW, fnoble edmoore hey guys
[22:25] <jcoxon> just spoke to Doug about hte weekend
[22:25] <edmoore> hi
[22:25] <jcoxon> at the moment we are thinking launching around Sat lunchtime
[22:27] <edmoore> suits me
[22:40] G8KHW (n=Steve@217.47.75.27) left irc: "Leaving"
[22:41] <jcoxon> cool cool
[22:57] <edmoore> i will try and get their earlyish too
[22:58] <jcoxon> okay
[23:13] <jcoxon> night all
[23:13] jcoxon (n=jcoxon@85-210-97-212.dsl.pipex.com) left irc: "Leaving"
[23:14] G8KHW (n=Steve@217.47.75.27) joined #highaltitude.
[23:32] G8KHW (n=Steve@217.47.75.27) left irc: "Leaving"
[23:54] edmoore (n=edmoore@37.124-84-212.ippool.ndo.com) left irc: Read error: 113 (No route to host)
[23:54] edmoore (n=edmoore@37.124-84-212.ippool.ndo.com) joined #highaltitude.
[00:00] --- Thu Aug 21 2008