Arm of robot swinging

we use a 190/1 reduction on two Neo motors to move the arm of our robot. we control that movment with PID. but when i start the shooter (nothing conected with the arm in programming), the arm sometimes swings like crazy. this has breaked our shooter 2 times an almost breaked another 2. why can this happen ?
sorry if bad english, its my second language :slight_smile:
here is my code

the code is not optimized an has some remnants of old tests

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.