The PID class should have few more safety checks:
- check that
measured_jp is within joint limits (+/- tolerance)
- check that
measured_jv is reasonable (maybe use trajectory generation max velocity x some factor)
- check that
setpoint_jv is capped (as we do for setpoint_jp). We could use trajectory generation velocity x some factor
The PID class should have few more safety checks:
measured_jpis within joint limits (+/- tolerance)measured_jvis reasonable (maybe use trajectory generation max velocity x some factor)setpoint_jvis capped (as we do forsetpoint_jp). We could use trajectory generation velocity x some factor