Go to Post REMEMBER - there ARE things more important than robots... false - Botwoon [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 04-02-2017, 12:25
CjDace's Avatar
CjDace CjDace is offline
Skyline Samurai
AKA: Scotbot Programmers
FRC #4284 (Scotbot)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2011
Location: Cincinnati, Ohio
Posts: 13
CjDace is an unknown quantity at this point
Help with Mecanum Drive Orientation

As we are setting up our Mecanum drive in Java, we are encountering a problem: while we can get three of our motors to drive in the correct direction at any given time, at least one is off during either strafing or driving straight. For example, after inverting a couple motors, our strafing worked perfectly, but the drive was turning when it should have been going straight. However, it is not one particular motor - based on the direction our joystick is oriented, different motors are driving incorrectly. For example, the left rear motor may be going in the correct direction when we try to strafe with the other motors driving incorrectly, while the left front motor is the one driving incorrectly while we try to go straight.

We have tried many combinations of inverting motors and joystick axes, but can only figure out combinations that allow us to drive forward and back without strafing, or combinations that can strafe but turn while going forward and back. Any help, advice, or better resources to solve this problem would be appreciated.
__________________
Scotbot Programmers


"I have not failed. I have just found 10,000 ways that do not work."
~ Thomas Edison
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2017, 21:34
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,764
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: Help with Mecanum Drive Orientation

Your original post just left way too many questions open. What robot driving rules/infrastructure are you using?

Edit: It is certainly possible by looking at all the responses of your system to figure out the problem, but the easiest way is to start with verifying that each wheel is correct. Write a test robot that allows you to activate each wheel individually, and verify that the correct wheel is moving the correct direction. If you have that working and the mecanumdrive is still crazy, check the order of the motors that you used in the constructor, or which wire you attached if using LabView.
__________________

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 : 05-02-2017 at 06:41.
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 09:44.

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