View Single Post
  #1   Spotlight this post!  
Unread 24-10-2013, 16:21
sthreet's Avatar
sthreet sthreet is offline
Registered User
AKA: scott threet
FRC #4692
 
Join Date: Oct 2012
Rookie Year: 2012
Location: Toutle Lake
Posts: 84
sthreet is an unknown quantity at this point
Servos, cameras, and inverting limit switches

Hello people. Currently our robotics team is working on updating our robot, just to finish what we started last year. I have ran into a few problems that I haven't been able to figure out and any help would be good.

Servos. I can't get them to move, I've tried to set the position and angle to getPosition/Angle and add a decimal or whole number to it. (1 or below.) I've looked at the labVIEW example for servos and tried using buttons to set the angle to a solid number, but haven't been able to figure out. This is all in teliop as I haven't moved all the code to periodic tasks for last years program. (I will probably do that for this year.)

Camera. Do I have to add anything to the code? We've tried the configuration software, reset it, used it again, used ethernet cable to connect the camera to the bridge, and made sure it has power. I remember not having to add anything, but i'm not 100% sure.

Inverting limit switches. I've tried moving the code from the true case in the case selector I use to the false area and the false code to the true area. I've also tried running the boolean through a not gate before sticking it into the case selector. I tried these at two different times. Both times it worked exactly the same as before. The objective is to use limit switches (already been shrink wrapped) to allow a motor to move in a certain direction only if the limit switch is pressed. We already have it working the other way, but cannot get it to work this way.

Thanks for any help and time.
Reply With Quote