It seems that you have some misunderstanding about this forum.
Here is a place to have a discussion related to NI product, not free teaching space.
You can find a lot of article about the topic on web.
For example, 車輪移動ロボット
I'm JapaneseWhy do you need a gyro sensor when making a two-wheeled balance robot?
Not exactly a LabVIEW-related question, but a gyro sensor gives you the current angle/inclination of your object (or at least, of the sensor).