Showing posts with label Coding. Show all posts
Showing posts with label Coding. Show all posts

Thursday, July 22, 2010

Planning a head, GPS locator

We have kept talking about a GPS locator on Super Crawler, so the robot can reach a point on the map using this locator. For this purpose we need to have a GPS locator installed on the robot telling our navigation program where the robot actually is on the map. But how can Super Crawler receive the coordinates ? Manual input(a semi numpad on the robot) ? Wireless communication to a WiFi unit connected to our navigation system / micro-controller ?

Tuesday, July 20, 2010

Report 7, Line Follower code

Now we have coded our test chassis to follow a black line on the ground. We are facing some problems following the line on uneven fields but we are working on it ... Our test subject drives around the Robotica lab & stops when it reaches a red line or an obstacle on the way. Film & photos will soon be posted here ...



Our next step is to code our test chassis to drive around & detects objects on its way and the smart enough to drive around them. For this purpose we have bough 4 reflex detectors to have around our chassis. More updates on the way ... Click on read more for the source code in Semi C++ Arduino programing language.




Sunday, July 4, 2010

Re: Report 4 | #4th of July 2010

This is the code that we have used for remote controlling our car with help of Arduino board. We have used a infrared receiver on the car, connected to Analog input of Arudino sending in the Analog signal. We have analysed the way the receiver is giving out feedback signals on the analog input according to the buttons being pressed on the remote control. According to our analysis we have a state machine which sets the state of the program and then a function called "comm" which actually sends the order to the DC motors according to the states.


Report 3 | #4th of July 2010

The code that controls our test chassis from Java GUI that we have designed at the summer project team of Robotica Oslonesis. Special thanks to [b]Ehab[/b] who did most of the job in designing the GUI/debugging and making the moves as smooth as possible :-) We believe our code still is not perfect and we are going to keep working on it ...

The code is consist of 3 classes(Main, Frame & arudinoCom)

Friday, June 25, 2010

Re: Report 1 | #25th of June 2010

Current situation :

We are right now able to control the DC-motors with given speed. Our test chassis can drive forward, backwards, to right and to left. We also have begun some experiences on starting the motors in different directions according to the input sound signal(This experiment is not useful for our summer-project but maybe for fall-projects which are based on sound signals mostly).

This is a very simple code on how to control a DC motor with sound signal :
*** THE CODE IS VERY MESSY ***