Vex V5 Turning 90 Degrees With Inertial Sensor

I just watched this video and i want to turn my drivetrain like this. Can anyone help me? I have an inertial sensor.

but i want to do with an inertial sensor, idk how should i program this sensor?

Just replace the encoder values with inertial rotation values for the turning pid

do you have any tutorial videos or documents for the inertial sensor?

It’s pretty easy to do if you are using the Drivetrain. It is built into the Devices > Drivetrain configuration.

If you are using VexCode Pro, you can use the following post as an example. It includes instructions for a six motor drivetrain but you can do it with two or four motors by adjusting the motor groups.

Got it! thanks for all this