|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
[FTC]: Do Servo's reset during start up?
Hey Guys,
I was wondering if the Servos reset to their central position during start up. For any people that have gone to competition, like..when the robot is powered up, do the servos return to their zero position or do they remain where they are? Or is the current position set as the zero..? I was wondering how that works. Thankx |
|
#2
|
||||
|
||||
|
Re: [FTC]: Do Servo's reset during start up?
I believe that the servos try and set to zero at start up. You can change this with coding I think. I believe that's how we solved our problem. I'll check with my Programmers and have them post what we did.
|
|
#3
|
||||
|
||||
|
Re: [FTC]: Do Servo's reset during start up?
Hm...It would seem to me that the current position at which the servos rest would be set to zero....
But i'm not sure. |
|
#4
|
||||
|
||||
|
Re: [FTC]: Do Servo's reset during start up?
If I remember correctly, the position the servo hits when you first supply power to the servo is the "zero" position. It's the same thing that's going to happen when it enter competition at the beginning of the game. It doesn't matter what position you put it into before the game. The zero is an absolute value and can't be changed. This can be useful when programing though. Zero will be the same position no matter where it was positioned before the start.
|
|
#5
|
|||||
|
|||||
|
Re: [FTC]: Do Servo's reset during start up?
Is the value zero (0) or is the value 128? Servos can range from 0-255 so the center position would be 128, right?
|
|
#6
|
|||
|
|||
|
Re: [FTC]: Do Servo's reset during start up?
Quote:
Somewhere in the Q and A, it says you can send the servo's to a starting position before autonomous, so that you start in the 18" cube. The only problem with this is that the servos could be powered a long time waiting for the match to start. |
|
#7
|
|||
|
|||
|
Re: [FTC]: Do Servo's reset during start up?
Under RobotC, servos will not move after a power up. For us, we can easily move the servos while the robot is waiting for the auto-op to start. If you assign a value (0~255) in your program, servos would try to move that that location. From this point, a servo would always move to the location where the firmware told it to move to in the last loop.
In the newest RobotC templates, you can initialize servo values after a power up in your code. It does not have to be the center values. |
|
#8
|
||||
|
||||
|
Re: [FTC]: Do Servo's reset during start up?
Quote:
|
|
#9
|
|||
|
|||
|
Re: [FTC]: Do Servo's reset during start up?
When we are powering up the servos head to zero after the first time we press a button. Anyone know why? This is an issue because this missaligns the servos. I think I have a workaround (make a button not in use align the servos, but I would prefer not to have to do that).
|
|
#10
|
||||
|
||||
|
Re: [FTC]: Do Servo's reset during start up?
. This is what I have recently figured out. The servos are naturally positioned and I believe they do automatically set to the 0 position when you start them. But inside the FTC template, there is a new section for initialize position. Inside that section try posting this code. servo[servoA] = ServoValue[ServoA]; this should keep servoA exactly where it is. (Check my syntax, I don't think that's exactly it.) |
|
#11
|
|||||
|
|||||
|
Quote:
Then unless you send a servo command the servo will just stay where you put them ( by hand ). In labview, servo commands go from 1 - 255. A servo position of 0 means go to the last commanded position. Once you send a servo command, the servo goes there and holds that position. If you don't issue another command for a few seconds, the servo will power down. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FTC]: Non-technical topics during interview | ManicMechanic | FIRST Tech Challenge | 0 | 28-12-2007 00:53 |
| [FTC]: [FTC]: Ontario Provincial FTC Start/End Times | cbhl | FIRST Tech Challenge | 8 | 16-12-2007 13:37 |
| Camera won't initialize when reset from RC - reset from OI and Power-up works, | krunal | Programming | 7 | 15-01-2007 00:13 |
| In a Pickle: Servo's stay at 127 | vector023 | Programming | 11 | 14-02-2006 17:54 |
| Servo's and EduBots? | DanL | Motors | 6 | 13-01-2003 10:11 |