I want to implement PID control on my 4 wheel mecanun robot. I want to give a position instruction to my robot and that it follow the following curves of velocity and position. The only feedback that my robot have is an encoder on each wheel . How can I code this?

  • $\begingroup$ Welcome to Robotics Charles, but I'm afraid that it is not clear what you are asking. We prefer practical, answerable questions based on actual problems that you face, so it's a good idea to include details of what you want to achieve, what you tried, what you saw & what you expected to see. Please take a look at How to Ask & tour for more information on how stack exchange works and work through the Robotics question checklist to edit your question to make it clearer. $\endgroup$ – Chuck Apr 1 at 14:46
  • 1
    $\begingroup$ Your question title makes it seem like you want help implementing a PID controller, but the body of your question seems like you want help generating the S-curve for your position profile. Could you please clarify what you want to do, what you've tried, and why you think it's not working? $\endgroup$ – Chuck Apr 1 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.