![]() |
Tank Drive Troubles
1 Attachment(s)
Okay, so We have the arm motors programmed pretty as you please, we are using a tank drive to control the two drive motors, as well as the two arm motors that we have. The arm motors do exactly what they are supposed to do. as well as our drive motors, but we are having issues with programming the drive motors to turn or re-invert themselves to turn. is there anyone out there who can give us some insight? we are completely stuck and out of ideas on this. There is also a photo that might help you guys. thanks very much from the Marinerds.
|
Re: Tank Drive Troubles
I don't know labview at all, but do you need to invert one of the joystick axis?
Remember that full forward is -1. |
Re: Tank Drive Troubles
Easy way to test for proper operation of a Tank drive.
1.Put the robot up on blocks so the wheels are off the ground and not touching anything. 2. Push whichever joystick corresponds to the left side forward. Check if the left side drive wheels move forward. 2a. If they don't go to Begin.VI and wire a true constatnt into the Invert Left terminal of the Open X Motor drive. 3. Push the right joystick forward. Check if the right side drive wheels move forward. 3a. If they don't go to Begin.VI and wire a true into the Invert Right terminal of the Open X Motor drive. 4. Save and rerun, or rebuild and set as startup 5. Verify both sides now move in the proper direction. |
Re: Tank Drive Troubles
Quote:
and our problem is that we can't figure out how to program the first joystick to do all four things. we can only get it to do either forward and backward, or left and right. |
Re: Tank Drive Troubles
2 Attachment(s)
Quote:
Your FRC LabVIEW installation supports Arcade Drive. See attached screenshots of the Functions Palette and the Help. |
Re: Tank Drive Troubles
well then can i use two arcade drives? or one tank and one arcade drive?
because i need the one joystick to be able to control the arm, and one to control the driving. |
Re: Tank Drive Troubles
Quote:
Quote:
Don't use Arcade or Tank Vis to control non-drivetrain motors. See this post. |
Re: Tank Drive Troubles
The arcade drive VI takes one joystick input, IIRC. Maybe an X and a Y input. Either way, they come from the same joystick.
|
Re: Tank Drive Troubles
Quote:
Quote:
|
Re: Tank Drive Troubles
Ether, thank you so much, you really helped answer a lot of questions.
:) |
Re: Tank Drive Troubles
Quote:
|
| All times are GMT -5. The time now is 03:44. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi