Go to Post I can't believe that I said the CD community could be patient - in December. - JaneYoung [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-01-2015, 05:16
sasha831 sasha831 is offline
Sasha
FRC #4529 (AI Robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Australia
Posts: 35
sasha831 is an unknown quantity at this point
Thumbs up For Team's Trying Mecanum Drive

I have seen a heap of posts by teams who are planning on or considering trying Mecanum drive, asking for advice and help. Last year, our team developed a Java Library for Mecanum Drive as we were not satisfied with the stock code provided by WPI. The library has an optional field oriented drive function and can be found here:

http://ai-robotics.com.au/code-libraries/

It is freely available to all FIRST teams. For any help, you can PM me, or use the email address provided on the page. Happy Coding!
__________________
Theory is when you know everything but nothing works. Practice is everything works but no one knows why. On our Team, theory and practice are combined: nothing works and no one knows why!

Last edited by sasha831 : 05-01-2015 at 05:17. Reason: Title Change
Reply With Quote
  #2   Spotlight this post!  
Unread 05-01-2015, 09:02
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,071
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: For Team's Trying Mecanum Drive

Quote:
Originally Posted by sasha831 View Post
we were not satisfied with the stock code provided by WPI
What aspect of the WPILib code was not satisfactory for your team?


Reply With Quote
  #3   Spotlight this post!  
Unread 06-01-2015, 01:23
sasha831 sasha831 is offline
Sasha
FRC #4529 (AI Robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Australia
Posts: 35
sasha831 is an unknown quantity at this point
Re: For Team's Trying Mecanum Drive

We found that, at least for us, it was not a plug and play solution, and took us quite a while to get anything working, and when we finally did get it working, it was far from perfect - while creating the library was more work then getting the stock code working, there is now an easy plug and play solution for future years
__________________
Theory is when you know everything but nothing works. Practice is everything works but no one knows why. On our Team, theory and practice are combined: nothing works and no one knows why!
Reply With Quote
  #4   Spotlight this post!  
Unread 06-01-2015, 07:54
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,071
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: For Team's Trying Mecanum Drive

Quote:
Originally Posted by sasha831 View Post
We found that, at least for us, it was not a plug and play solution, and took us quite a while to get anything working, and when we finally did get it working, it was far from perfect
It would be helpful and enlightening if you could be more specific. For example, are you claiming that the imperfect operation of your bot was caused by incorrect inverse kinematic computation in WPILib?


Reply With Quote
  #5   Spotlight this post!  
Unread 06-01-2015, 09:15
sasha831 sasha831 is offline
Sasha
FRC #4529 (AI Robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Australia
Posts: 35
sasha831 is an unknown quantity at this point
Re: For Team's Trying Mecanum Drive

I'm sure the WPI libs have the correct kinematic calculations happening, it's just that it took us a few entire days to get them working - we had a lot of general library/compatibility issues which I couldn't name specifically now, and when we did get them working, the drive was a little wonky, curving slightly to one side and a few minor inconveniences similar to that.

In addition, the library we created gives the user a much more custom control over the robot, with functions simplify not only driving, but collecting the necessary input for mecanum from joysticks, or gyros for a FOD system

At the end of the day our library is just an extra resource for teams using mecanum, that could end up simplifying their lives
__________________
Theory is when you know everything but nothing works. Practice is everything works but no one knows why. On our Team, theory and practice are combined: nothing works and no one knows why!
Reply With Quote
Reply


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 05:52.

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