Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot set joint torque value more than 1.0, trigger "cmd.AddJntTrq not properly initialized" error #107

Open
RRRRR214 opened this issue Jan 26, 2024 · 0 comments

Comments

@RRRRR214
Copy link

RRRRR214 commented Jan 26, 2024

Greeting!

I know it has been quite a while since this project was posted, but I believe there's no harm in asking for help :)
Currently, I am working with a controller that uses hardware_interface::EffortJointInterface. The robot works with JOINT_IMPEDANCE strategy device_->doJntImpedanceControl(device_->getMsrMsrJntPosition(), newJntStiff, newJntDamp, newJntAddTorque, false);. The calculated command joint torques are set through joint_handles_[i].setCommand(tau_cmd(i)); However, if tau_cmd exceeds the range of -1.0 to +1.0, the hardware drives' contactor will shut off and display a warning: 'LR:FRI cmd.addJntTrq not properly initialized' along with an 'FRI Interpolation error'. When tau_cmd is within the specified range, the robot joints can rotate, but sometimes it struggles to overcome friction."
PS: I have carefully gone through issue #67 , and I believe it is some other issue causing my problem.

@marcoesposito1988 @carlosjoserg @hamalMarino @teiband
Any help is appreciated!! Many thanks!! Many thanks!! Many thanks!!
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant