My team is using the Modern Robotics Gyro Sensor. Whenever we use the gyro sensor, we see an error on the driver station that says Warning: Problem with "gyro". We checked our configuration and we put it in the 12C, and we selected MR Gyro. Also we heard the gyro was supposed to light up blue when we initialize the robot. We know that this problem is a problem with the driver station, but we do not know how to fix it. Does anyone know how we can solve this problem?
Announcement
Collapse
Technology Forum Has Moved!
The FIRST Tech Challenge Technology forum has moved to a new location! Please take a look at our forum blog for links and instructions on how to access the new forum.
Note that volunteers (except for FTA/WTA/CSA will still access their role specific forum through this site. The blog also outlines how to access the volunteer forums.
Note that volunteers (except for FTA/WTA/CSA will still access their role specific forum through this site. The blog also outlines how to access the volunteer forums.
See more
See less
Modern Robotics Gyro Sensor Warning: Problem with "gyro"
Collapse
X
-
Did you plug the level shifter and adaptor cables in the right way?
The big question is why are you using the Modern Robotics Gyro. There is a gyro built into the Rev Hubs. The example program shows how to use it.
Our team's MR gyro was not a very good sensor, it had a lot of drift, we don't know if that was common. We went to the Adafruit Bno055 gyro which worked much better, then the Rev Hubs came out and they have the Bno055 gyro built in.
-
To expand on what 3805Mentor said: while it's physically possible to plug the MR gyro directly into the Rev level shifter, that won't work. You need to use an adapter cable that switches the SCL and GND wires.
Also agree there's no reason to use that sensor if you just want to know the robot's heading. But we have mounted it on an arm to monitor it's position (when the arm motor encoder wasn't working).
Comment
-
Originally posted by 3805Mentor View PostDid you plug the level shifter and adaptor cables in the right way?
The big question is why are you using the Modern Robotics Gyro. There is a gyro built into the Rev Hubs. The example program shows how to use it.
Our team's MR gyro was not a very good sensor, it had a lot of drift, we don't know if that was common. We went to the Adafruit Bno055 gyro which worked much better, then the Rev Hubs came out and they have the Bno055 gyro built in.
Comment
-
If we wanted to use the rev hub built in gyro sensor would we use the SensorBNO055IMU and SensorBNO055IMUCalibration programs.
If you plan to mount the Rev hub vertically (or upside down), then you may need to change the axis configuration and/or axis sign, which is not addressed in the example op mode, but which is discussed in this old thread.
Comment
-
Originally posted by jkenney View Post
Yes, the SensorBNO055IMU example demonstrates its use. We've had great results without ever having to resort to using the SensorBNO055IMUCalibration program.
If you plan to mount the Rev hub vertically (or upside down), then you may need to change the axis configuration and/or axis sign, which is not addressed in the example op mode, but which is discussed in this old thread.
Comment
-
Originally posted by Bionic Enforcers Rep. View Post
Is the configuration for the imu on port zero
Comment
-
Originally posted by jkenney View Post
The BNO055 chip in the Rev hub is hard-wired into I2C port 0. So in your config file, you'll want to add a BNO055 device to port 0. To make it compatible with the example op mode, name it "imu".
Comment
-
Originally posted by Bionic Enforcers Rep. View Post
If we are using two expansion hubs would we put add it in the config file for both or just one?
Comment
Comment