|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
[FTC]: Servo Question
When we power up the robot, the servo centers. How can we set the servo so it doesn't do this?
We are using Labview. Thanks, Team 55 |
|
#2
|
||||
|
||||
|
Re: [FTC]: Servo Question
Uh...A couple things.
1. When a program starts, you almost always have an infinite loop in there to do the driving and junk. While I'm sorry I cannot help you with LabView, I can help you and show you the flow. Servo[one] = 50; - This line sets the Servo as a hypothetical position 50. While( 1== 1) - Now you have your infinite loop and you run all of your remainder code down here. { So basically what you've done is that right when you start up, before you enter the forever loop, you set the servo value and almost instantaneously, your servo will jump to that position first. Then any servo value changes can be made in this section of the code. } Sorry about no LabView. But as far as "flow" is considered, that is how it would run. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FTC]: Team 35's Servo Test | wilsonmw04 | FIRST Tech Challenge | 11 | 03-11-2008 21:47 |
| [FTC]: FTC Servo-Motor Problem with Labview | dnhansen | FIRST Tech Challenge | 1 | 26-10-2008 00:43 |
| [FTC]: FTC Ramp Question | fbaldi25 | FIRST Tech Challenge | 5 | 14-10-2008 16:13 |
| HS-322D servo programming question | JimHull | Programming | 12 | 10-02-2007 15:14 |
| Servo behavior question / advanced servo/PIC programming question | DanL | Electrical | 12 | 18-10-2005 18:33 |