Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] UMBMark calibration help

Status
Not open for further replies.

mj31382

Newbie
Newbie level 2
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top