I am trying to use the inertial sensor to make my robot do a point-turn. But I don’t really have any experience with the inertial sensor yet. Can someone help me? This is what I have so far.
Hello, and, first of all, please, use [code] .... [/code]
tags to quote your full code instead of a screenshot - that will make it much simpler.
You don’t have to re-calibrate your inertial sensor before each turn. Doing it once at the program startup is enough and, I believe, the latest version of vex firmware is already doing it for you.
Then you may want to take a look at the code examples in the following linked topics:
Inertial Sensor Drifting and Not Stopping - #3 by weilin
Inertial sensor turn help
How do I set up the heading for an Inertial Sensor?
Inertial sensor programming - #7 by weilin
Hope this helps.
3 Likes