View Single Post
  #21   Spotlight this post!  
Unread 07-05-2015, 18:57
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,762
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Kiwi Drive Concept

I skipped the research when I realized that all of the square roots and trig functions canceled out, and the mapping was pretty straightforward. To map rotation about a point xr, yr at angular speed wr (measured in radians/second, with rotation from the positive x axis towards the positive y axis being a positive angular speed) to translation speed vx,vy and rotation w0:
w0 = wr
vx = w yr
vy = -w xr
you can use this same preliminary mapping to make a mecanum drive rotate around a desired point.

For conversion purposes, 1 radian per second is 30/pi ~ 9.55 rpm.



Using the WPIlib convention for your coordinate system (+x to the right, +y forward, rotations clockwise as viewed from above), your angular speeds will be reversed from this, and you will need to use:
w0 = wr
vx = -w yr
vy = w xr
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.

Last edited by GeeTwo : 08-05-2015 at 12:29. Reason: Added navigation convention paragraph and transformation
Reply With Quote