How can I Implement a PID controller on an object?

Discussion in 'Simulation' started by jiawei li, Oct 4, 2018.

  1. Hello,

    Please tell me how to create a PID controller for a rigid body?

    For example:

    I want to control a 1-D rotational motion of a rigid body by using PID controller along with a given angular trajectory.

    Thanks for your help

    Sincerely
     
  2. Okay, I know how to do the PID control now, it is a fun thing to do.
     
  3. Hi Jiawei, would you mind giving some pointers or some code examples for how to make the controller? For instance say there is a sphere and I'd like to be able to move it manually? Thanks!