hello! im currently using a gyro sensor to get values coming from a ball on a flat surface. the idea is to reset the ball when it stops moving/being touched. At that point the gyro is reset to zero until pressed again. Works fine if ball returns to original position, but im trying to make it so the values are relative to location. If the ball is in a square drawn on the floor, pushing it towards the top will always give that value, but if the gyro is off axis when it starts(tilted slightly right) the value will not achieve that. Somewhat of a beginner at this stuff still, so maybe i shouldnt be using a gyro for this application at all? Any help greatly appreciated!
Sure, the problem is on line 341.
Please tell us more about this unusual idea, after taking a glance through the "How to get the best out of the forum" post, linked at the head of every forum category.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.