Quote:
Originally Posted by tomy
Also, how do you check what version your driver station is and your crio i do not have the crio with me but i would like to know so when i do get to the competition i can easily check
|
The Driver Station version is desplayed at the bottom of the LCD screen.
The cRIO version can be checked using the FRC Diagnostic Tool at:
http://thinktank.wpi.edu/resources/2...indow_ver2.zip
When you start that up though, the version information is off the screen to the right.
---------------
This will give you the same control that you already have.
As with all code changes though, put the robot up on blocks until you've tested it. It's too easy to reverse the PWMs by accident, or have the motors or wiring inverted.
Part of the problem with doing it the way you have is that RobotDriveDefRef is messed up so that autonomous wouldn't work.
Even your manipulator drive should at least have the RobotDriveDefRef taken off of it.
I've attached to the original post what the Autonomous described would look like.
--------------
A better way to handle your manipulator is to learn how to use a single motor.
In your case for example:
1) Go to the Pallet WPI Robotics Library -> RobotDrive ->Advanced -> Motor Control
2) Use Motor Open, Set Speed, and Close
Here's a picture of what that would look like: