Closed PeterBowman closed 2 years ago
Temporary workaround:
set ivar mvar all (enableCsv 1)
.twist
commands in streamingDeviceController: just skip --movi
(--gain
becomes unused).How to tackle this:
The second option looks cleaner, although it requires the BCC to store previous commanded/actual cartesian values. In any case, this is only to prevent huge position command steps. In streamingDeviceController, the "virtual" TCP is not affected in any way, it's free to move beyond position limits. This also means that, in order to regain control (as allowed by BCC), the user needs to be lucky enough to move the virtual TCP exactly where it surpassed the robot's reachable space.
I'm inclined to close this as invalid. As explained in the linked issue, the velocity limitation is enforced by the low-level driver. Yes, we can really mess things up without proper care and if those limits are set to higher values. Still, it can't be really avoided in --movi
mode.
The second option looks cleaner, although it requires the BCC to store previous commanded/actual cartesian values. In any case, this is only to prevent huge position command steps.
Note to self: this might not be a bad idea after all. I'd need to check all cases where limit checks are actually expected, both joint and cartesian controller sides. At https://github.com/roboticslab-uc3m/kinematics-dynamics/issues/173#issuecomment-493191279, delegating velocity checks onto the joint controller seemed the correct way, but are they applied everywhere? BCC could perform a second (or first) check just to make sure. Otherwise, why would we bother having position checks in BCC if they could stay at the iPOS device?
I'm inclined to close this as invalid. As explained in the linked issue, the velocity limitation is enforced by the low-level driver. Yes, we can really mess things up without proper care and if those limits are set to higher values. Still, it can't be really avoided in
--movi
mode.
Closed as invalid, then. Now, passing --movi
will display a warning: https://github.com/roboticslab-uc3m/kinematics-dynamics/commit/ff5092ac0fd0d9fc4bbe40f2d4678eb4d0d7bf6d. If you landed here after reading the inline comment, see workaround at https://github.com/roboticslab-uc3m/kinematics-dynamics/issues/186#issuecomment-579706674.
Steps to reproduce and explanation:
--movi
mode, the app will construct a virtual trajectory on the infinitesimal position increments exerted by the user on the joystick (ref, https://github.com/roboticslab-uc3m/kinematics-dynamics/issues/173#issuecomment-493479201).