Calculate turning angle - 2 wheels car

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 8K views
alona1
Messages
2
Reaction score
0
i am looking for a function for calculating the turning angle, using the difference between two wheels speed.

i have a model car , with 2 engines and 2 wheels, without steering.

thanks.
 
on Phys.org
Welcome to PF.
What do you mean by turning angle? Maybe the radius r, of the curve measured from the midpoint of the car to the centre of the arc would be a better measure. If the car has a width w, with half width being h=w/2, then the radii of the two wheel tracks about the centre of the turn will be r–h and r+h. The relative speeds of the two wheels, u and v, will be proportional to the ratio of the radii.
u/v = (r-h) / (r+h) which I think will give you something like r = h * (u+v) / (u-v)
The sign of r should give you the direction of the turn.
 
Thanks.
I can't measure the radius r while the car is driving. I know the width W between both wheels and can control the velocities of the wheels.
Is there opportunity to know the angle of the curve by these? For example, for turning 30 degrees what velocities will be needed in each wheel?
 
You do not need to measure the radius. You specify the radius you require, then compute the ratio of the wheel speeds needed to achieve that radius.

If you know the radius you can work out the distance you must travel to change direction by say 30°. Circumference = 2 Pi r,
therefore the distance needed to turn 30° is d = 2 π r * 30 / 360.
 
Are you programming a boe-bot?