|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Default Code Functionality
Its been a while since I've been on CD, but here we go.
I've been mentoring some students in using Labview, which I have also been learning. I have a basic understanding of how to implement different functions and interact with different devices through the default framework. We've implemented tank drive and have started on coding the mechanisms. My question is, what is the default functionality of the framework? What I mean by this is, what are features that are implemented by default and how dose joystick 1 call them. I understand the vi structure and have already worked with the axises on the joysticks for the drive routine, I just am unsure what the buttons do and don't want to create conflicts while programming them. Thanks. |
|
#2
|
|||||
|
|||||
|
Re: Default Code Functionality
The Teleop block diagram contains a comment that claims that Button 2 resets the gyro. The Joystick Read subVI disagrees, and when the code and the comments disagree, the code wins.
The USB device named Joystick 1 controls everything. Its X and Y axes feed Arcade Drive. Button 3 activates the auto-aim code. When it is first pressed, the camera targeting information is used to determine a desired turn angle. While it is still pressed, a PID routine uses gyro feedback to control Arcade Drive and spin the robot to the target. Buttons 8 and 9 together reset the gyro. |
|
#3
|
||||
|
||||
|
Re: Default Code Functionality
That's exactly what I needed, thanks.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problems integrating CMUCAM code and IFI Default Code | Windward | Programming | 2 | 06-02-2007 16:48 |
| Math functionality in EasyC? | scottmso | Programming | 7 | 16-02-2006 14:52 |
| problems using gyro/adc code with camera default code | tanstaafl | Programming | 7 | 22-01-2006 23:09 |
| user code to default code | phoenixomega001 | Programming | 5 | 09-01-2005 00:09 |
| Inserting Naviagation code into Default code? | actorindp | Programming | 3 | 28-01-2004 18:12 |