Open xela-95 opened 9 months ago
@traversaro if there are specifications (written somewhere or from experience on the robot) let me know, so that we can gather them here.
@traversaro if there are specifications (written somewhere or from experience on the robot) let me know, so that we can gather them here.
I am not aware if there are any written specification, but what happens in most implementation is that the measured quantity is used to initialize the setpoint, see for example:
Interestingly, this logic seems not be used in velocity, but that is probably a bug:
Interestingly, this logic seems not be used in velocity, but that is probably a bug:
Thinking a bit more about this, perhaps the logic is to do the safest possible thing in the change of control mode, i.e. ensure that the desired velocity is 0, so this could have sense.
It is of utmost importance to manage correctly the switch from one control mode to another, to guarantee the smoothest transition, for example by properly setting new correct references to track.