|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Gyro error on RoboRIO
I've been attempting to get a gyroscope working on the team's test board, but I keep getting a cryptic error on the driver station when I upload the code. The error I get is:
Error on line 34 of Gyro.cpp: A parameter is out of range.: channel (must be accumulator channel) Any advice on how to proceed? When I remove the gyro code, it works just fine. |
|
#2
|
|||
|
|||
|
Re: Gyro error on RoboRIO
What channel is your gyro on? They can only be attached to analog inputs 0 and 1.
|
|
#3
|
|||
|
|||
|
Re: Gyro error on RoboRIO
Looked again and realized that it was actually attached to a PWM port. Haha.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|