Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   Force vector calculation for mecanum drive (http://www.chiefdelphi.com/forums/showthread.php?t=148430)

ndurvasula 14-05-2016 18:07

Force vector calculation for mecanum drive
 
Hi everyone,

This is my first thread on Delphi so I'm really new here. I'm on team 449, and I am making a VR Practice field for use with Google Cardboard, and I am trying to make it as physically accurate as possible. Right now, I am trying to implement different kinds of drives, but mecanum seems to be the most difficult. I would like to know how to calculate the magnitude of a vector given it's direction. To make this more clear, I have a value f, that represents the amount of force that would be applied to the robot in a given time frame if it is going directly forward/backward. I also have vector v containing the horizontal and vertical vectors representing the direction of the robot (both between -1 and 1). How do I calculate the magnitude of the force that needs to be applied to the robot given f and v (hopefully accounting for internal roller friction as well)? Keep in mind that this formula has to run every frame, and it is going to be run on a phone. If there is any lag in a VR application, it kills the user's eyes.

Thanks a lot, any help would be really appreciated!

Foster 14-05-2016 19:50

Re: Force vector calculation for mecanum drive
 
Here you go. Ether wrote a great paper that has everything (and much, much more) mecanum

cad321 14-05-2016 21:06

Re: Force vector calculation for mecanum drive
 
This sounds like a really cool project. I'd love to try it out if you were to run a beta of it


All times are GMT -5. The time now is 22:59.

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