So we’re using this gyro for the first time and haven’t really found much documentation about it.
It’s plugged into the SPI port in the RoboRio and declared in the KOnBoardCS0, but we can’t get it to update its values to SmartDashBoard. I put the IsConnected and its angle. The isConnected flashes occasionally but mostly stays false, and the angle mostly stays at cero and occasionally displays tiny numbers. I’ve tried with two Gyros and none seem to work. Any idea as to what could be happening?
It could not be plugged in; there are a few cases where the ports may not connect together as they should:try holding down the gyro to the Rio and see if that fixes it.
Thanks for the advice, Turns out it isn’t quite an electronic problem, as a test in a Timed Robot worked, however I’m having problems with the command based version. I can’t get them to update and the connection flashes
Well Command based framework extends timed robot so I wouldn’t know why it works there; I’ll leave it to someone who knows more.
If you share your code, I can take a look
This is the last thing I’ve tried
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.