Go to Post FIRST is about family, making new friendships, belonging somewhere, doing something you love, and finding out what your real love is in life, so when you're old and wrinkly you can look back at high school and say "This is when I found myself." - Winged Wonder [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 11-02-2014, 17:30
Levansic's Avatar
Levansic Levansic is offline
Registered User
AKA: Len Evansic
FRC #0585 (Cyber Penguins)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Tehachapi, CA
Posts: 185
Levansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud of
Holonomic drive weirdness

We've used holonomic drive in several previous robots, but this weekend we saw something that we had not previously seen. Unfortunately, I don't have captures of the code, but we opened up a four-motor drive reference, and passed it to an unmodified WPI cartesian holonomic drive vi. We used X, Y, and Z axes for x and y translation and rotation respectively. We did not hook up a gyro, as we were only looking to use robot-specific rather than field-specific control.

Once the motor directions were properly set, we could correctly rotate left or right. Pushing the stick forward (Y+) gave the expected motor rotations to drive that direction. Pulling the stick backward (Y-) caused the robot to rotate - all wheels turning the same direction, rather than two clockwise and two counter clockwise.

Has anyone else seen this?

Our next moves are to deadband the three axes of the joystick, and to assemble our own holonomic drive vi.
Reply With Quote
  #2   Spotlight this post!  
Unread 11-02-2014, 20:51
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Holonomic drive weirdness

I would open the panel of the holonomic VI and verify that the joystick axes are coming in correctly. It may also make sense to look at the dashboard to see if the output values make sense relative to the joystick values. I'd put it on wheels and use small joystick values to determine if there is a left/right or front/back swap that explains the outcome.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 17-03-2014, 02:53
Levansic's Avatar
Levansic Levansic is offline
Registered User
AKA: Len Evansic
FRC #0585 (Cyber Penguins)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Tehachapi, CA
Posts: 185
Levansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud of
Re: Holonomic drive weirdness

I started this thread a little over a month ago, and will now update with what we found this weekend. We put a deadband on all three of the joystick axes, and that seemed to make this problem go away, as the Z-axis centering of the joystick was poor.

This weekend, this problem came back in spades, which was quite confusing. It did not occur to us that the deadband was not wide enough for our left-handed driver at the regional this weekend, to use the joystick that was contoured for right-handed people like myself or the programmer who worked on that code. Every time our driver moved the stick, a z-axis input was registered, making our robot spin constantly. In fairness, our original deadband was just barely wide enough for right handed people, as letting go of the stick had a ~50% chance of starting an unintentional spin, which we hadn't tested.

Holonomic drive vi is OK.
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:53.

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