|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#11
|
||||
|
||||
|
Re: JAVA code to drive straight using H-drive
No, 360 is correct.
arc_length=(Left-Right)/2 arc_radius = trackwidth/2 arc_angle = arc_length/arc_radius = arc_length/(trackwidth/2) = 2*arc_length/trackwith convert to degrees: 2*arc_length/trackwith * (180/pi) = 360*arc_length/(trackwidth*pi) Last edited by Ether : 04-03-2015 at 11:24. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|