Hacking

Friday, 4 April 2008 06:15 pm
da: (bit)
[personal profile] da
This week started off slowly at work, but wow, it picked up nicely. I've been working on the most interesting project I've had in many months: a c++ program to process data from a large IR emitter and sensor array, which reports 3-d positions (within 1/10 a millimeter) for a set of markers within a 3m x 3m x 4m cube space.

I was asked to learn how this machine talks with the computer over the serial line, and figure out if it can report raw 3-d position data for each of 4 sensors, instead of reporting the aggregate position and orientation of the sensors. There's a sample C++ project which fully demoed the program's capabilities, which I've been hacking on. There's no tricky math- and their code is quite well documented. And a friendly support engineer helped me determine that I had the right approach to get the data using their API. I also found a bug in their code, which we're fortunately able to work around.

So I've gone from zero to almost-but-not-quite-there in the last 48 hours. This involved: learning Visual Studio, learning the API, and figuring out enough of this C++ program to be useful. This is what I wish I'd been working on for the last year. I'll be done with this project on Tuesday... (at least I hope I will, because I'm leaving with [livejournal.com profile] melted_snowball for Florence on Wednesday, not back until the following Thursday!)

Visual Studio is the best Microsoft product I've ever worked with; I got up to speed quite quickly and the only thing holding me back was, um, a bit of fuzziness on C++ datatypes. Also, I wish I could get the debugger to use the breakpoints I set; I'm having to do more debugging-via-print-statements than I'd prefer.

Date: Saturday, 5 April 2008 06:40 pm (UTC)
From: [identity profile] da-lj.livejournal.com
Ha ha. I wondered if there was an RT for it yet. ;)

Yeah- intel imac > G5 spare as far as I'm concerned. I don't need to put a RAID inside it, or any other custom h/w, or ...

Date: Saturday, 5 April 2008 07:12 pm (UTC)
From: [identity profile] kraig.livejournal.com
I got snoopy and went to look, but now I can't find it again, maybe I imagined things. At any rate, you wouldn't be saddled with some old piece of junk, which is effectively what any PPC hardware is nowadays. (My Powermac G5 is the absolute last revision of the hardware, and it's now over 2 years old...)

Date: Saturday, 5 April 2008 07:14 pm (UTC)
From: [identity profile] kraig.livejournal.com
I closed this tab, then went to close the other one and saw the item right there. If you're curious :) -> 20" iMac, 2.4GHz, 2GB, miniDVI adapter cable.

Date: Saturday, 5 April 2008 07:52 pm (UTC)
From: [identity profile] da-lj.livejournal.com
That's awesome. those are great specs.

Next I guess we'll see if he took my suggestion that a second screen would also make me more productive. :)

Date: Saturday, 5 April 2008 07:39 pm (UTC)
From: [identity profile] da-lj.livejournal.com
*nods*

*glances at 8-year-old box sitting under his desk*

*considers even more elderly box sitting in the closet as web server*

I should really replace my server with a mac mini. :)

Date: Sunday, 6 April 2008 12:27 am (UTC)
From: [identity profile] kraig.livejournal.com
heh, well, work stuff is work stuff, home stuff is home stuff... :) I have a < 1 year old iMac, but that replaced my 5 year old P4 which went to Linda. :) router's a p3-866 of no particular age, since I put it together from used parts about 4 years ago.

December 2024

S M T W T F S
12 34567
891011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Wednesday, 7 January 2026 03:03 am
Powered by Dreamwidth Studios