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.
I can lead this ticket but I want to hear if @Saadmaghani has any experience with PID
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.
I can lead this ticket but I want to hear if @Saadmaghani has any experience with PID