Go to Post I just want to see Aerial Assist again. Played on Lunacy regolith. With minibot poles. Which are on coopertition bridges. Is that too much to ask for? ;) - M. Lillis [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #2   Spotlight this post!  
Unread 08-01-2017, 01:46
sher_221b's Avatar
sher_221b sher_221b is offline
Registered User
AKA: Sadiyo Hassan
FRC #4818 (The Herd (4818))
 
Join Date: Apr 2016
Rookie Year: 2016
Location: West Fargo, North Dakota
Posts: 1
sher_221b is an unknown quantity at this point
Quote:
Originally Posted by yank View Post
Hello,



My team is trying out mecanum wheels (AndyMark 4 inch diameter) on our robot for FTC Velocity Vortex. Driving forwards, backwards, and turning works fine, however, we are not able to strafe sideways.



When we press the gamepad A button or the gamepad B button (our strafe controls), the robot moves in random directions, although occasionally it does strafe properly for a few seconds (which probably rules out any mechanical reasons for failure).



N.B.: "Bot" is a public class (please see bot.java); FL, FR, BL, BR refer to motors that power mecanum wheels (front-left, front-right, back-left, back-right respectively)



We suspect that using the "Bot" class causes problems, though we are not completely sure why or if that is true at all.



We would greatly appreciate any advice on this matter. I've posted links to our code below:



Teleop program

Direction (enum)

Bot.java



Thank you very much.

There is code out there for mecanum drive you can find to verify your code. Our team built 3 drive trains this year and I was part of the mecanum team. Though I wasn't in charge of coding, our robot was having the same issue of unable to drive side ways or diagonal. We realized the orientation of the wheel affected it's mobility drastically and if it wasn't in the correct order, it would prohibit sideways movement. Before changing the code, look up orientation of the wheels because there are different orientations out there and we did it 3 different ways before it worked with our code.


Sent from my iPhone using Tapatalk
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 07:08.

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