Using The PID function in RobotC

The place to learn about and discuss the story and general information of the project. Ask your questions here!

Using The PID function in RobotC

JesinBrodey
Moon Flunkie
Moon Flunkie
JesinBrodey
Moon Flunkie
Moon Flunkie
Joined: March 17th, 2018, 6:00 am

March 31st, 2018, 7:23 am #1

Hello,

We are trying to use PID to keep our double wheel thrower spinning at the same speed. However, when we implemented it, both wheels start spinning, then after about 2 seconds, one wheel stops and starts spinning the opposite direction. I'm assuming it's because one of the ime's is reading a negative value, and reverses to match the other motor. Am I correct in this, and if so, how do I correct this.

Please help.

I didn't find the right solution from the Internet.

References:-
http://www.robotc.net/forums/viewtopic.php?f=53&t=13437
Blockchain mobile advertising

Thanks
Quote
Like
Share