Archive for September, 2006

Random coding

Thursday, September 14th, 2006

Today we didn’t accomplish a whole lot. The debugging system in the AI program has been renamed to “Logger” and is now improved by having different logging levels. A lot more info is now being logged.

We looked around for the client program for a while but couldn’t find the latest version. An older version was recovered though, and it turned out to work after a few adjustments. Did you know that when converting strings to floats in C#, you have to provide formatting info, telling the framework whether you’re using a comma or a dot as the decimal separator? Well, it does. And if you don’t provide it, it will take a guess based on your OS setting. If the guess is wrong (say, trying to convert “1.23″ but using a comma as the separator), the conversion fails silently. That’s kind of nice to know I think.

Our computer turns out not to be too stable – sometimes it just hangs and a reboot is necessary. It’s a bit weird since it’s a fresh installation. Perhaps it has to do with the image it was installed from, not being completely compatible with the hardware?

Wednesday, September 13th, 2006

Got the new machine today. Also made the sshmount program work using ethernet connection, so now we have two workstations. Fixed the rotation MC so it doesn’t oscillate at the wanted position. Decided to use ifdef’s instead of interfaces to implement the simulator.

One of these days…

Monday, September 11th, 2006

Ordered a 64-bit machine with VS 2005 and AVR Studio for delivery wednesday. Found a tool for mounting sftp connections as network drives for my mac. Unfortunately there seems too be a connection problem at our desk when running windows through parallels, every fifth package is lost when pinging, making it impossible to use the sftp mounting program.
This problem is probably fixable if a wirebased connection could be obtained. We might have to dual-boot into windows using boot camp, since that also solves the problem. It would be nice using parallels though, dual-booting is never a fantastic solution.
Also tampered with the MC software for the rotation, trying to minimize the area of slack (where the mc software thinks its close enough to the desired position), but unsuccesfully.

Preliminary stuff

Friday, September 8th, 2006

Installed VS 2005 on my macbook pro. Created a map of the entire AI app. Also created some interfaces to allow easy swaps of classes which are needed when the simulator of the table is complete.

Technology showoff

Friday, September 8th, 2006

Shot of the table
YouTube Preview Image

All nice and clean

Thursday, September 7th, 2006

Handed in introductory report. Cleaned up the mess our workspace had become. Getting a new machine hopefully monday.
Tomorrow it’s time for creating a piece of software that acts as a simulator of the table. This will allow us to work on the AI without relying on the working state of the hardware.

Finished introductory report

Wednesday, September 6th, 2006

Done with the introductory report. Hopefully to be printed out tomorrow and handed in.