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

Use of DirectServo instead of SmartServo? #291

Open
yoonhokim0409 opened this issue Aug 20, 2022 · 1 comment
Open

Use of DirectServo instead of SmartServo? #291

yoonhokim0409 opened this issue Aug 20, 2022 · 1 comment

Comments

@yoonhokim0409
Copy link

yoonhokim0409 commented Aug 20, 2022

Hello,

I was wondering whether there is a way to enable the use of DirectServo, which seems to have benefits for some applications that require low latency. For joystick teleoperation, for instance, it seems DirectServo works much better from my experiences of using KST-Kuka-Sunrise-Toolbox based on DirectServo than with iiwa_stack based on SmartServo.

Screenshot 2022-08-20 122228

Unlike SmartServo, in which both velocity and acceleration can be configured, DirectServo has only velocity as a configurable parameter. I have been looking into the Java codes of iiwa_stack and came to the conclusion that some class files that are equivalent to SmartServo may be needed for DirectServo in the iiwa_msgs package.

For example, I will need equivalents of
SetSmartServoJointSpeedLimits.class --> SetDirectServoJointSpeedLimits.class
SetSmartServoJointSpeedLimitsRequest.class --> SetDirectServoJointSpeedLimitsRequest.class
SetSmartServoJointSpeedLimitsResponse.class --> SetDirectServoJointSpeedLimitsResponse.class,
with the accleration parameter deleted.

It seems, however, that there are no .java source files from which these class files are compiled in iiwa_stack package, so I was wondering how I could add these new classes.

@exo-core: Do you have any idea or advice on my attempt to enable the use of DirectServo?

@omarrayyann
Copy link

@luke-kim409 @exo-core Did you manage to enable the use of Direct Servo?

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

2 participants