Robotics
While working on my Masters at FIT I wrote a paper about some vision processing that I did with Microsoft Robotics Studio (http://msdn.microsoft.com/en-us/robotics/default.aspx) and and iRobot Create (http://store.irobot.com/shop/index.jsp?categoryId=3311368). I was asked if I would post it on a new website that one of my colleagues at FIT is putting together Society of Computational Science (http://www.societycomputationalscience.org). I thought I would also take the opportunity to post it here (http://cid-80ce78240aa8df49.skydrive.live.com/self.aspx/.Public/RobotShawnWeisfeld.pdf), as I loose anything that is not on my blog. . . .
Here is a picture of my robot and I at a presentation that I did at the Orlando Bar...
My day job is one of the sponsors of the First Robotics Program. The idea behind the program is to get kids interested in technology. I was invited to participate in the Dallas Regional where high schools from all over the south west and even Mexico participated in a competition to build and deploy a robot to play a game called Lunacy. You can read more about First Robotics here (http://www.usfirst.org) and more about the Dallas Regional here (http://dallas.txfirst.org/). Lockheed sponsored something called 5th Gear. This was a simulator built on XNA that allowed the teams to practice...
For fun I have been playing around with Microsoft Robotics studio (http://microsoft.com/robotics) for a long time now and I have listened to Microsoft’s George Chrysanthakopoulos tell us how cool the CCR was in just about every webcast. Well I have decided to see if I can use the CCR in a regular business application and eliminate some of the pains of writing multithreaded code.
To that end I started with a simple problem, calculating Fibonacci numbers, and like any good developer I started with an easy to implement sequential algorithm. Now that I could sequentially calculate the numbers I wanted to...
Here you can download my presentations from the CFL Tech Fair.
http://onetug.net/Documents/CFL_Presentations.zip
Here is the powerpoint (http://www.onetug.org/DNN/Portals/0/member_files/2007_09_23_BarCamp.ppt) for the presentation that I plan on doing Sunday at BarCamp Orlando. See you there!In the presenation I will provide an overview of MS Robotics Studio, and then provide 4 demo’s.Demo #1: iRobot Drive by wireDemo #2: Physics Simulation Demo #3: Can you find me?Demo #4: Robot Sumo!All the demo’s are avaiable to download along with the MS Robotics Studio from the Microsoft Website http://www.microsoft.com/robotics
Although it was a bit of a drive, Tallahassee Code Camp was great. I have included both presenations and the sample code in the attached zip file. http://www.onetug.org/DNN/Portals/0/member_files/2007_09_22_TalCodeCamp.zip
BTW to convert from the byte[] back to an image is simple enough
private Bitmap ConvertBitmap(byte[] frame, int width, int height){ Bitmap bmp = new Bitmap( width, height, PixelFormat.Format24bppRgb);
BitmapData data = bmp.LockBits( new Rectangle(0, 0, bmp.Width, bmp.Height), ImageLockMode.WriteOnly, PixelFormat.Format24bppRgb);
System.Runtime.InteropServices.Marshal.Copy(frame, 0, data.Scan0, frame.Length);
bmp.UnlockBits(data); return bmp;}
I was tearing into v1.5 of Microsoft Robotics Studio (http://www.microsoft.com/robotics) and came across a novel way to process the pixels in an image. In previous posts I was using unmanaged C# code and pointers to move around the image. This worked well but is hard to manage. They take the approach of just dumping the entire image to a byte[], pure genius, now why did I not think of that. I will be rebuilding my library to utilize this technique but I thought this was so cool that I just had to share it!
/// <summary>/// Coverts a bitmap to a...
Here are my two presentations from the Jax CodeCamp.
OOPhttp://www.onetug.org/sf/Files/MemberFiles/JaxCcWeisfeldShawnOOP.ppt
Robot Visionhttp://www.onetug.org/sf/Files/MemberFiles/JaxCcWeisfeldShawnRobotVision.ppt
Here is the powerpoint for my presentation tomorrow.
http://www.onetug.org/DNN/Portals/0/member_files/2007_07_14_robot.ppt
Full Robotics Archive