Hello there,
I am Henry.
I have worked with a gyroscope interfacing with Arduino and raspberry Pi, I know the possible pitfalls that you may encounter when working with this sensor and can help you bypass them.
I worked with it on quadcopter projects for stability in flight using the ruler angles: yaw, pitch and roll.
The angular rotations gotten from the sensor is supposed to be filtered with a complementary filter or Kalman filter since the raspberry Pi has a lot of processing power to offer.
For connecting to the raspberry Pi we would use I2C serial communication.
If you have any questions or need other clarification or you wish to discuss more requirements, do well to message me.
Which of the gyroscope sensors are you using?