Reading roll, pitch, and yaw through Ardupilot

Hi everyone!

I was curious if anyone knows how to get initial values for the roll, pitch, and yaw degrees. On Mission Planner, you can see them through the quick screen, but I wanted to add the initial values to my UserCode for Copter3.4.6. Thanks in advance!