d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Looking For Help C Programming > Robot
Add Reply New Topic New Poll
Member
Posts: 2,902
Joined: Jul 13 2010
Gold: 1,856.00
Apr 21 2013 04:15pm
So my goal is to make this robot with 2 motors go around square without touching walls.

My sensor is GP2D02 that gives value from sensor between 225-70
225 = around 15cm
70 = 110 cm

My motors are reacting to sensors properly and im using pretty bad method to control motors and i was looking for someone experienced who could give me some help/hint how to improve my robot.

Using raspberry pi to control so its arm prosessor that you are dealing with and theres not much API:s or such to use.

One of the problems with sensor is that if it goes over 225 value numbers will start going smaller and risk is that your robot turns wrong direction.

second one is the corner and in certain cenario robot might be 2 far away from wall and when it turns it loses wall compleatly and wont find it again.

Note that it has to go fast around the square.

If you are intrested about giving some help with my robot feel free to pm me.

This post was edited by Evest89 on Apr 21 2013 04:16pm
Member
Posts: 2,478
Joined: Jan 4 2007
Gold: 7,545.00
Apr 22 2013 06:46am
What bad methods are you using to control these motors?
Are you only using one sensor? More sensors will make this easier

if you ever lose the wall, you'll wan to turn the opposite direction that you originally turned so you can find it again.
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll