Go to Post If you water it and nurture it and fertilize it and put it out in the sunlight, it might just grow up to be a big lathe... :) - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 28-01-2015, 21:00
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: Mecanum Trouble

Hold on a second, I think I know what's going on. On the "Open 4 Motor.vi", there are actually 4 terminals to invert motors. It looks like you have both of the bottom ones set to true and the top two unwired (which defaults to false). This would mean that Both your front left and front right motors are inverted, but not the other ones. Your inversions should match on sides, not front to back. I have attached a photo that should explain it a bit better.

Try going back to the default code (run the wires directly from the joystick axes to the holonomic vi) and see if inverting the correct motors fixes everything for you. If you push the joystick forward, and the robot moves backwards, switch the inversions to the right side instead.
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	16
Size:	6.7 KB
ID:	18035  
__________________
I'm right 90% of the time, so why worry about the other 3%?
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2015, 18:32
REDBARON's Avatar
REDBARON REDBARON is offline
Registered User
AKA: Jack
FRC #3556 (Get Smart)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: FL
Posts: 16
REDBARON is an unknown quantity at this point
Re: Mecanum Trouble

We've sorted out the rotation problems by coding in a button that switches to arcade and using that to rotate, however we have noticed that strafing remains on the x-axis. but the y-axis causes rotation. we would like to resolve this and have the y-axis remain the same and the x-axis change
Reply With Quote
  #3   Spotlight this post!  
Unread 31-01-2015, 17:37
Dawg2T4's Avatar
Dawg2T4 Dawg2T4 is offline
Registered User
AKA: Chandler Douglas
FRC #3556 (GET SMART)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Lake City, Fl.
Posts: 31
Dawg2T4 is an unknown quantity at this point
Re: Mecanum Trouble

Hey guys, sorry its been a while, but we still dont have a solution. We did find out our Talons were not ID'd correctly and we have fixed that. So here's the situation.
We changed the Holonomic.vi so that the values were correct. After a few more tests, we swapped the X and Y-axis wires that lead into the Holonomic.vi in teleop. We ended up having something similar to arcade drive, but with the Z-axis of the controller being used for strafing, and the strafing malfunctioning so that the wheels in front both ran forward, and the back ones ran back, rather than strafing right, and the front ran backwards, and the back forwards, rather than strafing left.
__________________
- Chander, star of Frisbeez in the Trap

http://www.youtube.com/watch?v=3bM_Sv3xJ54
Reply With Quote
  #4   Spotlight this post!  
Unread 05-02-2015, 18:56
Dawg2T4's Avatar
Dawg2T4 Dawg2T4 is offline
Registered User
AKA: Chandler Douglas
FRC #3556 (GET SMART)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Lake City, Fl.
Posts: 31
Dawg2T4 is an unknown quantity at this point
Re: Mecanum Trouble

Very strange happenings!

So, needless to say, your guys' fixes worked. The reason it didn't help us at first is because we had a Talon IDing issue on our Mobile Test Bed. Then, when we decided to code the drive on our smaller test bed, something very strange happened. Every time we issued a forward signal to the roboRIO, the motors on our test bed ran backwards. After losing a lot of sleep and a lot of troubleshooting, we found out that the smaller motors on our test bed (the bag motors) run reverse of the Mini Cims, which made testing very confusing. Very strange!
__________________
- Chander, star of Frisbeez in the Trap

http://www.youtube.com/watch?v=3bM_Sv3xJ54
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 20:46.

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