Hey i am in the programming and we are trying to use the gyro and the accelerometer.
We managed to use the gyro but the roboRIO does not recognize the accelerometer.
What can we do?
Hello! I think more information is needed to help progress from the symptom of “accelerometer not recognized” to the root-cause of the problem.
- Can you post the code you observed the issue with?
- How did you determine that the accelerometer was not recognized? What did you expect to see, and what did you actually see?
- What is the part number of the electronic components you are using? Links to the place you purchased them would help too.
- How is each part wired into the roboRIO? Diagrams or pictures here would help.
This thread may help. FRC Gyro and Accel Documentation
Sounds like that model is at least 6 years old.
What do you plan to use the accelerometer for?
No accelerometer in Rev B
It was removed but the label wasn’t.
The roboRIO has an accelerometer if that helps.
Isn’t that the accel on the bottom of the picture?
This link below shows the progression. It shows Rev B marked on the PWB but labels it as Rev A, with accelerometer. The next version removes the accelerometer with the chip select jumper added.
we want to measure our speed so we could calculate our distance from the hub.
And use the distance for shoot calculations.
No accelerometer in the FRC price range, including this one, is low noise enough to integrate into velocity, let alone double-integrate into position. You should consider using drivetrain encoders instead to directly measure position and velocity.
Forgot about that Rev. B of the Rev A board
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.