|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Servos not working
Yeah. As a last minute thing I am adding moving camera view. However the servo motor isn't working. Neither of the ones that I opened today work so I don't think it's hardware related. So I start off by making a Servo...
Servo beatrice = new Servo(4,10); double beatricex; //double for angle Digital module is in slot 4, with servo attached to PWM slot 10. Then during teleop's loop, I have this: if (rightjs.getRawButton(4)){ beatricex--; } if (rightjs.getRawButton(5)){ beatricex++; } beatrice.setAngle(beatricex); Pressing the buttons does nothing. I have tried several variations, such as setting it with a constant in the code, using set instead of setAngle, and using an axis on the joystick. Nothing works. I'm thinking something stupid is being done by me and I'm just too blind and sleep-deprived to see it. |
|
#2
|
|||||
|
|||||
|
Re: Servos not working
Is the 6 volt power jumper installed on output 10? Without it, the servo has no power...
|
|
#3
|
|||
|
|||
|
Re: Servos not working
Sorry for my noobiness, but I never dealt with getting 6v power out of the board and I'm the only person on my team working on this part. What exactly do I need to do/what is the jumper and how do I attach it?
I'm assuming it's the two pins next to the PWM so I will try that I guess. |
|
#4
|
||||
|
||||
|
Re: Servos not working
yep, grab some jumpers off of a dead jaguar, they fit perfectly
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Servos not moving | Marlfox | Electrical | 2 | 02-09-2009 06:24 PM |
| Working with spikes and servos in labview | EROCK | Technical Discussion | 2 | 01-07-2009 11:38 AM |
| IR Board Not Working (But NOT Fried) | itsme | Electrical | 2 | 02-18-2008 06:11 AM |
| CMUCam Servos not Responding on Robot | krigby | Programming | 7 | 01-20-2006 11:19 PM |
| Servos not getting right voltage | sheyna | Programming | 2 | 01-17-2006 09:57 PM |