Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Problems with driving (http://www.chiefdelphi.com/forums/showthread.php?t=90425)

Wicked 29-01-2011 15:12

Problems with driving
 
1 Attachment(s)
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 |

Ether 29-01-2011 15:21

Re: Problems with driving
 
Quote:

Originally Posted by Wicked (Post 1011121)
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.



Wicked 29-01-2011 15:51

Re: Problems with driving
 
What exactly is that going to show?

Alan Anderson 30-01-2011 11:52

Re: Problems with driving
 
Quote:

Originally Posted by Wicked (Post 1011121)
...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?

Tom Line 30-01-2011 12:25

Re: Problems with driving
 
Quote:

Originally Posted by Wicked (Post 1011121)
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.


All times are GMT -5. The time now is 10:17.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi