Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   How many inches does my wheel go in one rotation? (http://www.chiefdelphi.com/forums/showthread.php?t=70193)

MorbidAngel 25-11-2008 14:13

How many inches does my wheel go in one rotation?
 
Okay. I'm trying to program for autonomous, and we're using the encoders. I don't understand how to find out how to get how many inches one rotation of the wheel is. The diameter of the wheel is 3.75 inches. can anyone help me with this?

Branden Ghena 25-11-2008 14:18

Re: How many inches does my wheel go in one rotation?
 
So, if you look at this problem geometrically, one revolution of the wheel means moving a distance equal to its circumference. Therefore, on a 3.75 inch diameter wheel, the distance it travels in one rotation is equal to its circumference, 3.75*pi which is approximately 11.781 inches.

GeorgeTheEng 25-11-2008 14:22

Re: How many inches does my wheel go in one rotation?
 
We're going to assume a perfect world for this. Assume the wheel does not slip at all. It's a simple geometic equation. The distance the when will travel is equal to the circumference of the wheel (Pi times the diameter)

LordRed 25-11-2008 14:25

Re: How many inches does my wheel go in one rotation?
 
The way we determine that ratio was to run the robot for a 5 or 10 seconds in a straight line and measure the distance traveled. Then we divide the distance by the number of "encoder ticks" for that run.

MorbidAngel 25-11-2008 14:26

Re: How many inches does my wheel go in one rotation?
 
Wow thanks guys ^^
I feel stupid now hehe
thanks for the help
peace

Branden Ghena 25-11-2008 14:26

Re: How many inches does my wheel go in one rotation?
 
Quote:

Originally Posted by GeorgeTheEng (Post 777486)
We're going to assume a perfect world for this. Assume the wheel does not slip at all.

Don't robotics competitions take place in the same "perfect" environment that basic physics equations take place in. :rolleyes:

billbo911 25-11-2008 14:30

Re: How many inches does my wheel go in one rotation?
 
Additional input.

Take the distance per revolution, divide it by the number of ticks from the encoder per revolution of the wheel and you will get your distance per tick. With that information, you should be able to per determine how far to travel based on the number of ticks you desire.

MrForbes 25-11-2008 14:42

Re: How many inches does my wheel go in one rotation?
 
1 Attachment(s)
Considering what time of year it is, make sure you use the correct value for "pi"

kramarczyk 25-11-2008 15:26

Re: How many inches does my wheel go in one rotation?
 
Quote:

Originally Posted by squirrel (Post 777495)
Considering what time of year it is, make sure you use the correct value for "pi"

I would suggest carrying out pie to more places.


billbo911 25-11-2008 15:27

Re: How many inches does my wheel go in one rotation?
 
1 Attachment(s)
Quote:

Originally Posted by squirrel (Post 777495)
Considering what time of year it is, make sure you use the correct value for "pi"

Here is an alternate value for "pi". All of these yield the same result.

Kevin Sevcik 25-11-2008 15:49

Re: How many inches does my wheel go in one rotation?
 
Quote:

Originally Posted by billbo911 (Post 777501)
Here is an alternate value for "pi". All of these yield the same result.

Just make sure you're not using too coarse an approximation of "pi".


GeorgeTheEng 25-11-2008 16:21

Re: How many inches does my wheel go in one rotation?
 
Quote:

Originally Posted by Branden Ghena (Post 777489)
Don't robotics competitions take place in the same "perfect" environment that basic physics equations take place in. :rolleyes:


Tell that to you robot who think's its moving forward but is spinning its wheels and being pushed backwards...

Remember: In theory, theory and practice are identical; in practice they are not!

willson.thomas 25-11-2008 23:32

Re: How many inches does my wheel go in one rotation?
 
Quote:

Originally Posted by GeorgeTheEng (Post 777510)
Tell that to you robot who think's its moving forward but is spinning its wheels and being pushed backwards...

That's why I like off-wheel encoders and gyros. They don't lie near as often.

ericand 03-12-2008 19:05

Re: How many inches does my wheel go in one rotation?
 
Hey, That Pi R Square'd

Lowfategg 03-12-2008 19:12

Re: How many inches does my wheel go in one rotation?
 
Now I am hungry.

Thanks guys.....


All times are GMT -5. The time now is 10:35.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi