View Single Post
  #5   Spotlight this post!  
Unread 09-02-2013, 00:11
SPHogan SPHogan is offline
Registered User
FRC #4232 (AHS Redbird Robotics)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Alton
Posts: 7
SPHogan is an unknown quantity at this point
Re: Jaguar lights are solid, Labview is outputting code, robot not responding

Alright, here's part of our Begin.vi, the rest of Begin.vi has been left default.
http://imgur.com/LBu6yCu

And here's the Teleop.vi. All of the Case Structures, when set to "False," simply output a zero.
http://imgur.com/qfvEtoR

Here's a basic rundown of what I want our program to do:
  1. Pushing a joystick forward moves a motor on one side. Since we have two joysticks, each controls a side. This works fine.
  2. We have a system that pushes frisbees into position to fire. This is "Queue." It is controlled by the throttle and Button 1 of the same joystick.
  3. Our "Launcher" mechanism is essentially the same thing. Controlled by the throttle and Button 1 of the other joystick, with the throttle setting speed.
  4. We want the "Lift" system to be controlled by two buttons. Button 2 sends a value of -1 and should lower the robot. Button 3 sends a value of 1 and should raise the robot.

That's a basic rundown. As I said, the drive system works flawlessly. Also, we've determined there is no problem with the other motors, as we moved those over to the working (red and green) Jaguars, and they operated as expected.

Running the code through LabView and using the probe tool shows that, towards the end of each line, the desired output is being to sent to the Tank Drive vi.

If you need any more details, I'll try my best to provide you with them. I'm really quite new to LabView and programming in general, so the chance that I've made an elementary mistake is pretty high. Thanks again for the help!