Something like what is described in this post of ODrive it would be also very interesting to have
This has worked for me:
motor.velocity_limit = speedSP;
where speedSP is the setpoint of the velocity you want.
Then initiate the angle command in angle mode.
Where βmotorβ is an instance of BLDCMotor