Here is the source code for both Loki and Turtle in a single zip file.
Note that Loki and Turtle are evolving robots. The code is constantly changing, along with the hardware. So, expect to see code commented out, or #defines that turn code on and off. Also, there is some “dead” code, for example there are data structures to support sensors that are no longer used on one or both robots. This code is my active project, just for fun. It makes sense to me, but it might not make sense to you.
ReadMeFirst
This code is posted as example code for how to do things like getting started with OpenCV, Kinect, talk to servos and motor controllers, voice recognition, etc. You should cut and paste whatever helps you. If you want to use the full code as is, this is an advanced project, which requires a good understanding of Visual Studio and C++, including the ability to modify project files so you can remove any dependencies on external functionality you don’t need. As much as I’d like to help, I just don’t have the bandwidth to help people learn Visual Studio.
- Please read the ReadMeFirst.txt file after downloading the .zip, it will help you install the project sucessfully.
- Then, read and follow “Installing Loki Software onto a new laptop.pdf” this will help you install dependencies. Hopefully, it is mostly up to date.
Downloads
1/10/2012: Loki and Turtle source code: LokiSource.zip
Useful message, I absolutely anticipate up-dates of your stuff.