I need help with my new inertial sensor, and I would like to know how I can get a value of just one axis value, specifically the y axis.
You should use “(inertial name).pitch(degrees)” inside your program or roll depending on what you need. To find out which axis you would need, go to your devices and click the inertial sensor to see what all the things are. The x and y axis are defined as pitch or roll in the inertial sensor, I believe.
So if I were telling a robot to wait until the inertial reached a certain degree in the axis it would be: