The aim of the project is to navigate around my unit and map out the floor.
This project is the primer for my next big project (UAV plane for the outback challenge [url]http://www.uavoutbackchallenge.com.au/2010/[/url] in 2011.
So far the tank consists of two layers, Battery, motor and gearbox holdings, and the top level is for the Fez Domino and motor shield. I will be adding an additional level for extra components.
The photo you see below if the side profile showing the layers.
The base can be the same but each robot can have its different enqueue features. It is very easy to make a robot the just moves forward but then adding the sensor and programming is what makes it special
I thought thought a lot about building a UAV, but I’m hesitant to do it due to the cost and complexity. If you robot project goes OK, I might consider it.
Still has a few teething problems, ie sharp sensor is not the best. But I hope to fix this with an ultrasonic sonar.
The Tank is using an Async worker to process digital (switches at the front) and analog (distance sensor) input.
An controller class receives updates(only if there is a change) and makes the desired decision.
Not sure how other people have processed the analog in from the Sharp sensor, but I filtered it as much as possible so that I don’t get dodgey readings. I use 2 stage selective averaging. Also, a capacitor on the sensor helps a little.
Still waiting on the rest of my components from China now (compass, accelerometer, ping sonar & wheel encoders). Hopefully the tank should be a lot less crude.
Thanks for watching. And thanks to all those who have shared their code and/or Drivers.
Gus, any possibility of having a code sharing category?
Hmm I see you did choose to pick either gear ratio A or B. (it’s very fast)
I would advise to use gear ratio C. This is high torque mode. (good for outside usage)