Go to Post If you want to have other teams cheer for you all day long at competition, name your team "Robot Coming Through". - Gary Dillard [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 29-01-2011, 15:12
Wicked Wicked is offline
Registered User
FRC #0354 (G-House Pirates)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: New York
Posts: 46
Wicked is an unknown quantity at this point
Problems with driving

Our Teleop.vi appears to be working correctly, and our motors and PWMs are all in proper order. However, we're getting a problem when we attempt to drive.

In Arcade Drive:

When the joystick is moved left, the robot rotates to the right.
Similarly, when the joystick is moved right, the robot rotates to the left.
Driving forward and backward presents no similar problem.

In Holonomic Drive:

When the joystick is moved forward, the robot drives backward.
When the joystick is moved backward, the robot drives forward.
Crabbing left and right presents no problems.

Our Begin and Teleop VIs are in the image attached below. We've been trying different motor inversions, and so far, none of them have worked.

FrontLeft | T | F | T |
FrontRight | F | T | F |
RearLeft | T | F | F |
RearRight | F | T | T |
Attached Thumbnails
Click image for larger version

Name:	drive_error.png
Views:	31
Size:	44.0 KB
ID:	9877  
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2011, 15:21
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
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: Problems with driving

Quote:
Originally Posted by Wicked View Post
Our Teleop.vi appears to be working correctly, and our motors and PWMs are all in proper order. However, we're getting a problem when we attempt to drive.

In Arcade Drive:

When the joystick is moved left, the robot rotates to the right.
Similarly, when the joystick is moved right, the robot rotates to the left.
Driving forward and backward presents no similar problem.

In Holonomic Drive:

When the joystick is moved forward, the robot drives backward.
When the joystick is moved backward, the robot drives forward.
Crabbing left and right presents no problems.

Our Begin and Teleop VIs are in the image attached below. We've been trying different motor inversions, and so far, none of them have worked.

FrontLeft | T | F | T |
FrontRight | F | T | F |
RearLeft | T | F | F |
RearRight | F | T | T |
Load the 2011 FRC LabVIEW Framework default 4-motor tank drive with 2 joysticks. Put the robot up on blocks. Operate the each joystick, one at a time, and observe and record the wheel movements. Then tell us what you observed.


Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2011, 15:51
Wicked Wicked is offline
Registered User
FRC #0354 (G-House Pirates)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: New York
Posts: 46
Wicked is an unknown quantity at this point
Re: Problems with driving

What exactly is that going to show?
Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2011, 11:52
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Problems with driving

Quote:
Originally Posted by Wicked View Post
...our motors and PWMs are all in proper order.
Your symptoms suggest otherwise.

Can you post a picture of your wiring, with your motors labeled?
Reply With Quote
  #5   Spotlight this post!  
Unread 30-01-2011, 12:25
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,517
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Problems with driving

Quote:
Originally Posted by Wicked View Post
Our Teleop.vi appears to be working correctly, and our motors and PWMs are all in proper order. However, we're getting a problem when we attempt to drive.

In Arcade Drive:

When the joystick is moved left, the robot rotates to the right.
Similarly, when the joystick is moved right, the robot rotates to the left.
Driving forward and backward presents no similar problem.

In Holonomic Drive:

When the joystick is moved forward, the robot drives backward.
When the joystick is moved backward, the robot drives forward.
Crabbing left and right presents no problems.

Our Begin and Teleop VIs are in the image attached below. We've been trying different motor inversions, and so far, none of them have worked.

FrontLeft | T | F | T |
FrontRight | F | T | F |
RearLeft | T | F | F |
RearRight | F | T | T |
It certainly sounds, in arcade mode, as if you have your wires swapped between your left and right motors. This would correct your left/right issue, and not affect your forward and back (which works fine).

Tank mode would tell you if you have them correct or swapped. I assume Ether suspects the same.
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 10:17.

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