Repository navigation
fix(fr3): coriolis torque limits - #352
Merged
Merged
Conversation
…ollers libfranka compensates gravity in torque control but not Coriolis / centrifugal torques; its impedance examples add model.coriolis() to the commanded torque. Neither RCS controller did: joint_controller() sent only Kp*e - Kd*dq, and osc() computed the Coriolis vector but never used it. Without it, fast motions are tracked worse (the error is proportional to dq^2) and part of the PD effort is spent fighting velocity-dependent torques. Both controllers now add the Coriolis vector before the joint-limit guard (so that guard still blocks torque towards a limit) and before rate limiting and the torque limit clamp.
The torque limit clamp of the joint and OSC controllers defaulted to 5 Nm for every joint, which is far below what the controllers need for stiff tracking and saturates the PD terms. Use the joint torque limits of the Franka specification instead: 87 Nm for joints 1-4 and 12 Nm for joints 5-7.
The ring buffer of HardwareCameraSet kept 1000 framesets by default, about 1.5 GB per RGB-D camera at 640x480, although only the latest frameset is read. 30 framesets are about one second at 30 fps.
Matches the default ring buffer length of the hardware cameras, about one second at 30 fps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.