![]() |
[FTC]: Encoders
Does anybody have any sample code for encoders that i can take a look at. Thanks if you do.
|
Re: [FTC]: Encoders
Which language?
If you are using RobotC, this will work Quote:
|
Re: [FTC]: Encoders
I don't think you need to do the motor[motorname] = 100;, I think the encoders already go to the target encoder positions.
Is that right? |
Re: [FTC]: Encoders
You still need to motor[motorname] = 100;. nMotorEncoderTarget[] does not move the motor. It only set the target.
|
Re: [FTC]: Encoders
Oh..really...what happens when the encoders reach the target position?
|
Re: [FTC]: Encoders
The motors should just stop.
|
Re: [FTC]: Encoders
I want to know how to use encoders on an arm in and out of autonomous. I have gotten it to go up but its not reconizing a second button in robotc what should i do
|
Re: [FTC]: Encoders
Can you post what code you have so far?
|
| All times are GMT -5. The time now is 18:03. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi