Hello, How do i use the new inertial sensor to follow a heading? For example, what if i want the robot to follow a 0 degree heading for 3 rotations.
hello? can you guys notice me?
I haven’t used the inertial sensor yet, but I’d assume you’d check if the angle is correct, and if not, give more power to the side that’s behind.
Also first you’d have to convert rotations to a distance for the accelerometer to handle
lol i figured it out now.
nvm it stopped working
The story of robotics members
Use a PID loop to correct for any rotation from 0 degrees (i.e. when the robot is turning too far to the left, turn right).
However, this a rather unnecessary use of the gyroscope’s function, as V5 motors run at the same speeds, making the robot go generally straight.
A gyroscope is typically used to make more accurate rotations with the robot. Following a heading is not a gyroscope’s strong suit.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.