Hello, we are trying to program the servos, and they won't move. We are programming with the MIT App Inventor and are using the Matrix motor and servo controller. The motors run fine, but we can't get the servos to move. We are using the exact code that is in the FIRST training for servos. We have tried several different servos. Nothing. Does anyone know what could be wrong?
Announcement
Collapse
No announcement yet.
Servos won't move
Collapse
X
-
Team FTC9387
Good morning. Here is our example of working servo control. We are using 2 servo's for a robotic gripper function.
If the driver presses the A button:
Right.servo.position = 1 , right servo will close
Left.servo.position = 0, left servo will close
If the driver presses the X button:
Right.servo.position = 0 ; right servo will open
Left.servo.position = 1 ; left servo will open.
To achieve these values, our team first worked on one servo, say the right servo, to understand what the values were for open/close. They repeated the process for the left servo motor. They were able to create the above table of position values to get their gripper to work properly.
Here is the code our team is using:
Hope it helps..
Eric
Team# FTC9977
-
Originally posted by FTC9387 View PostHello, we are trying to program the servos, and they won't move. We are programming with the MIT App Inventor and are using the Matrix motor and servo controller. The motors run fine, but we can't get the servos to move. We are using the exact code that is in the FIRST training for servos. We have tried several different servos. Nothing. Does anyone know what could be wrong?
the servos prior to using them, as they default in the pwmDisable state.
In java this would be calling the pwmEnable() method on the ServoController.
Comment
-
Another possibility is a bad control module. We've had two DOA controllers. One of them lit up and could be seen by the phone, but didn't output a signal to control anything.
You can download the Core Device Discovery program to make sure it's not an electronics problem:
FTC 4962 / 3638
FLL 11 / 21 / 9293
Comment
-
Originally posted by BSV View PostAnother possibility is a bad control module. We've had two DOA controllers. One of them lit up and could be seen by the phone, but didn't output a signal to control anything.
You can download the Core Device Discovery program to make sure it's not an electronics problem:
http://modernroboticsinc.com/coredevicediscoveryThanks,
Programmer - FTC Delta Kappa
Comment
-
Originally posted by BSV View PostAnother possibility is a bad control module. We've had two DOA controllers. One of them lit up and could be seen by the phone, but didn't output a signal to control anything.
You can download the Core Device Discovery program to make sure it's not an electronics problem:
http://modernroboticsinc.com/coredevicediscovery
Comment
Comment