Wednesday, September 27, 2006

Going to the Chapel

Our good friend, Lyanne, got married this past weekend. Her Dad is a farmer, this explains their unique mode of transportation from the church, where the ceremony was held, to the reception site.




Congratulations!

Wednesday, September 20, 2006

Packing it in Redux

Jennie and I took her sister and her husband, Courtenay and Joe, on a packing trip to White Ranch this past weekend. This was our second attempt, thus we are now experts that have it all figured out. Hah! Not really.

Initial packing. We did a much better job packing this time. We needed only one additional packing bag even though there were two more people. Our pack saddle outfit came with three bags.





It was very windy and cold during the afternoon and evening.

Jennie led the way with the horses while the three of us hiked in. Notice the canvas bag on top of Anne, we didn't use it on our first trip.





Pit stop. Cody carried the horse food while Anne carried almost everything else.



This time we chose campsite #4 because it is very close in proximity to the provided corrals.




For dinner we planned on having Lucky Bean soup and hamburgers. The buns got left behind, so we ended up having flat, round, patties of ground beef instead.






Heading Back




I rode Cody and led Anne most of the way home this time.





Courtenay gave it a try too. Great job!


Monday, September 11, 2006

Robocode

One of my colleagues at work is facilitating a Robocode competition. Robocode is a Java-based framework for developing virtual robots. Once developed, these robots are placed in a “battleground” where they attempt to defeat each other. Please see http://robocode.sourceforge.net/. We are going to have a bracketed competition of 1v1 this coming Friday and then a meelee competition where everyone is put on the board.




I've spent close to 25 hours so far learning how it works and developing my robot. The hardest part so far has been the geometry that is required to direct the robot, interact with the surroundings, run the radar, and aim its gun.

Have you looked at a Unit Circle lately? Do you remember the Law of Sines/Cosines (SSS, SAS), the Pythagorean Theorem? I sure haven't. My math knowledge after many years of non-use has declined to a horrid state. The programming I do at work doesn't involve any geometry so this exercise has been enjoyable. Jennie even sat down and helped me with one problem that still vexes me.

I've decided on a way-point sytem for the bot to used during its navigation. Basically I picked a bunch of spots on the battlefield, put them in an ordered collection, then when the bot starts up it merrily goes on its way from point to point. Nothing fancy, but it will appear at first to be random and I doubt anyone here has put in the time to do pattern matching yet. I still need to add code to retreat in the opposite direction if the realizes it is going to get too close to the other bot.

In addition to the gun, the bot has a radar providing it with information about opponents when the radar pings them. This also must be controlled by code I've written.

My bot's name is 'UnderDog' I don't feel it will do very well as there are some very smart people in my office. We'll see though. I did 'pimp' my bot by adding some short audio clips that will be played at the appropriate times. One of my favorites is: here

Here's a quick video of another persons bot.