|
Page 1 of 1
|
[ 4 posts ] |
|
Robot follows program incorrectly
| Author |
Message |
|
Dmonlrdtrace
Rookie
Joined: Wed Dec 07, 2011 1:45 pm Posts: 2
|
 Robot follows program incorrectly
im a sudent in school messng with these robots so i obvoiusly am not any sort of expert involving these kinds of things... however i am sure that this is a problem.
i downloaded the correct firmware according to insructions and then compiled and downloded a pre-set program to run...however, no matter how many times i run this program with the robot it never does the same thing. help me.
|
| Wed Dec 07, 2011 1:55 pm |
|
 |
|
magicode
Moderator
Joined: Tue Sep 14, 2010 9:19 pm Posts: 495
|
 Re: Robot follows program incorrectly
Well, if you think that there is a problem, then you need to give more information. What it your program? It helps to post it so we can see if it is programming issue. When you say pre-set program, are you referring to a sample program? What does the robot do as of now, and what do you expect it to do instead? The more information you give, the more help that you can get.
_________________ sudo rm -rf /
|
| Wed Dec 07, 2011 2:03 pm |
|
 |
|
Dmonlrdtrace
Rookie
Joined: Wed Dec 07, 2011 1:45 pm Posts: 2
|
 Re: Robot follows program incorrectly
i attached the saple progra i am tying to run... it is supposed to move forward while pointing the arm downward until it reaches a ball. then it is supposed to lift the arm (with the ball captured) and start moving backwards until it reaches its starting position once again. at which point it will turn 90 degrees, move forwad slightly, and lower the ball into the drop off zone.
It does EVERYTHING stated... however it will go for shorter or further distances each time i run it without m tampering with the program.
p.s. thanks for the help and any further advice
|
| Fri Dec 09, 2011 1:29 pm |
|
 |
|
jbflot
Site Admin
Joined: Tue May 15, 2007 9:02 am Posts: 383
|
 Re: Robot follows program incorrectly
The problem you're seeing may be related to to the momentum the robot builds up in each of it's movements, and the corresponding drift that occurs at the end of the movement. Unfortunately drift isn't entirely predictable, but dealing with it is definitely a part of working with robots.
You can do things like try to stop the motors briefly between your movements, or even provide a small amount of braking power to fight the momentum.
|
| Tue Dec 13, 2011 11:29 am |
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|