|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
[FTC]: Encoders
Does anybody have any sample code for encoders that i can take a look at. Thanks if you do.
|
|
#2
|
||||
|
||||
|
Re: [FTC]: Encoders
Which language?
If you are using RobotC, this will work Quote:
|
|
#3
|
||||
|
||||
|
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? |
|
#4
|
|||
|
|||
|
Re: [FTC]: Encoders
You still need to motor[motorname] = 100;. nMotorEncoderTarget[] does not move the motor. It only set the target.
|
|
#5
|
||||
|
||||
|
Re: [FTC]: Encoders
Oh..really...what happens when the encoders reach the target position?
|
|
#6
|
|||
|
|||
|
Re: [FTC]: Encoders
The motors should just stop.
|
|
#7
|
||||
|
||||
|
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
|
|
#8
|
||||
|
||||
|
Re: [FTC]: Encoders
Can you post what code you have so far?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FTC]: Problems with Motor Encoders? | FTC 2891 | FIRST Tech Challenge | 2 | 16-02-2009 19:03 |
| [FTC]: Tips page on using FTC Encoders with LabVIEW | PhilBot | FIRST Tech Challenge | 7 | 27-01-2009 14:00 |
| [FTC]: FTC read encoders vi | Jim.D | FIRST Tech Challenge | 8 | 26-12-2008 23:42 |
| [FTC]: Progress report on using encoders | PhilBot | FIRST Tech Challenge | 11 | 14-11-2008 14:01 |
| [FTC]: [FTC]: Ontario Provincial FTC Start/End Times | cbhl | FIRST Tech Challenge | 8 | 16-12-2007 13:37 |