Go to Post Life is more fun if you take some risks every so often. - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 14-05-2016, 18:07
ndurvasula ndurvasula is offline
Registered User
FRC #0449
 
Join Date: May 2016
Location: Maryland
Posts: 1
ndurvasula is an unknown quantity at this point
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!
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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