Inertial sensor pitch value

I can’t seem to find the code to get the pitch value from the inertial sensor
Is there a c++ code for it?
I’m currently making the balance part for autonomous

here,
inertialSensor.pitch() = int angle. That you want to.

I setup the inertial in the drivetrain menu though
If that makes sense