View Single Post
  #2   Spotlight this post!  
Unread 27-02-2014, 15:57
joelg236 joelg236 is offline
4334 Retired Mentor & Alumni
AKA: Joel Gallant
no team
Team Role: Mentor
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Calgary
Posts: 733
joelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond repute
Re: Bunch of Different Issues

Quote:
Originally Posted by TenaciousDrones View Post
Ok so I'm done posting a ganzillion different threads about different problems, so I'm just going to make one with everything together.

Our problems include but are not limited to:
- spikes not working
- unsure of how to use pressure switch
- unsure if our gyro is programmed correctly
- unsure if our potentiometer is programmed correctly
- unsure if our Talon motor controller is programmed correctly
- unsure if our solenoids are programmed correctly
- unsure how to get vision into Netbeans
- unsure how to test any of our programming now.

If you have anything that might be useful, please just say it because my partner and are in desperate need right now. We are using RobotBuilder exported to Java. For Vision we have the tape detected in RoboRealm but we are willing to use another program if someone isn't used to RoboRealm. Thanks in advance.
Spikes - is the light illuminating on the digital sidecar beside the PWM cable? If not, are you setting the position to Forwards or Backwards?

Pressure switch - Create a DigitalInput object and get its input. True usually means pressure is not at 120PSI yet.

Gyro - Are you creating a Gyro object and calling getAngle() from it? Do you have the correct port for the analog signal, and are you sure it is wired correctly?

Potentiometer - Create an AnalogChannel object and get its voltage or average (depending on usage).

Talon - Should just be a Talon object set using the set(double) method.

Solenoid - Single action or dual action? Single is only one boolean setting its state, and dual has three positions (left, right, off)

Vision - There are many options here - what do you need vision for?

Testing - Do you have an extra cRIO available from a local team? There have been attempts at simulators, but I haven't found anything very good yet.
__________________
All opinions are my own.
Reply With Quote