View Single Post
  #4   Spotlight this post!  
Unread 26-02-2015, 13:02
pastelpony's Avatar
pastelpony pastelpony is offline
Programmer/Electrical
AKA: Zach M
FRC #3525 (Nuts and Bolts of Fury)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 152
pastelpony will become famous soon enough
Re: roboRIO has solid red light and does not execute code properly

Quote:
Originally Posted by Alan Anderson View Post
Part of your code problem is probably because you're using buttons to control your lift and you haven't considered the case where one button is saying "go reverse" and the other button is saying "don't go forward" immediately afterwards.

The strafing could be any of several things, from a simple misunderstanding of joystick axes to swapped PWM cables to miswired motors to incorrectly mounted wheels. You're going to have to give a very detailed description of what you are doing before anyone can zero in on what's causing what you are getting.
We're using an axis on the joystick for the lift. Any value <1 triggers a shaky response from the jaguar. The code works perfectly on the competition bot but is very faulty on the practice bot which is built to spec. I believe the roboRIO may be at fault because of this.
__________________
Team 3525 Head Programmer (2014- ) - Java (Formerly LabVIEW)
Reply With Quote