[SOLVED] UMBMark calibration help

Status
Not open for further replies.

mj31382

Newbie
Joined
Feb 1, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,300
Hi, i tried calibrate my differential drive base using UMBMark but the error worsen. at first i did trial and error to make it go straight line and turn reasonably well. then i tried using UMBMark to fine-tune the error.

B = wheelbase, 70.37cm
C.left = 73.28 clicks per cm
C.right = 70.45 clicks per cm
L = 350cm (UMBMark square side)

i made it run 350cm for 1 round only. Otherwise it will hit the wall.
i wonder if i did anything wrong here. how should i include the number of round inside the formula?

and after i get the center of gravity coordinates, which value should i plug to the Xcgcw and Xccgw?
i assumed average Xcw and Xccw.

alpha = (Xcgcw+Xcgccw)/(-4L)*180/pi
beta = (Xcgcw-Xcgccw)/(-4L)*180/pi
R = (L/2)/sin(beta/2)

Eb = 90/(90-alpha)
Ed = (R+B/2)/(R-B/2)

C.left.error = 2/(1+Ed)
C.right.error = 2/(1/Ed+1)

Bnominal = Bactual*Eb

C.left.nominal = C.left*C.left.error
C.right.nominal = C.right*C.right.error

i attached my calculation in excel. any help is appreciated. thank you.
 

Attachments

  • Odometry Position Calculation.zip
    6.6 KB · Views: 91

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…