I am having difficulty with our headings. I know they are supposed to be exact but I have set and reset them and nothing has changed. the turns are not what they are supposed to be. Whenever I set the heading too 0 at the beginning of the program and tell it turn to heading 90 degrees it will do more or less. I am not sure how to fix this.
Whatâs the error ? 1 degree ? 20 degrees ?
What code are you using ?
I am using Vexcode IQ blocks
It is usually off by about 5-10 degrees
ok, I should have said please post the code you are using.
My assumption would be that perhaps you are just using a drivetrain âturn to headingâ block, 5 or 10 degrees may be about as good as that will get, are you using a gyro or the internal IMU if you have IQ generation 2 ?
I have the same question. I canât find the âturn to headingâ block at all! In the VR examples itâs under the dark blue movement blocks but it does not show up in my blocks coding template. We are using the inertial internal sensor.
What do you mean by VR examples?
To have a turn to heading block, you must have a drivetrain, not 2 individual motors.
the âturn to headingâ blocks are under the section labeled âdrivetrainâ
I see, so if you are using autonomous and have split the motors and could get them to work together -would the âspin âmotorâ to position x degreesâ work the same?