Skip to content

Add PID to turn position control into torque control #9

Description

@ducmngx

Unless we figure out a way to change damping, kp, and stiffness during runtime. I am thinking about adding a PD or PID controller to read this position control (from the planner output) and return torque/effort input to send to MuJoCo. Doing so we will basically control the whole process, from planning to control at the lowest level.

When we use torque control, we will need to tune all these damping, kp, and stiffness numbers to make the arm super unstable (the robot will no longer send force to keep the arm still) and rely completely on our control signal. The good thing is we can potentially make the robot fails by simply sending no effort to a joint, or even a reduced force to mimic low power behavior.

Image

I can lead this ticket but I want to hear if @Saadmaghani has any experience with PID

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions