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

set joint speed in set_servo_angle_j #16

Open
buckleytoby opened this issue Sep 14, 2023 · 2 comments
Open

set joint speed in set_servo_angle_j #16

buckleytoby opened this issue Sep 14, 2023 · 2 comments

Comments

@buckleytoby
Copy link

When performing joint based motion, we have the option to specify speed in the function set_servo_angle_j:
int set_servo_angle_j(float angles[7], float speed=0, float acc=0, float mvtime=0)

However checking the source code it would appear that speed is never used, and instead last_used_joint_speed is used, which is only set through set_servo_angle

Is there a way to set joint speed (and preferably a different value for each joint) through the API?

@vimior
Copy link
Collaborator

vimior commented Sep 14, 2023

@buckleytoby
This interface does not support speed setting for the time being, refer to Speed argument ignored by set_servo_angle_j

@buckleytoby
Copy link
Author

when attempting to follow that example I set my mode to 6 (joint online trajectory planning mode) and yet no command sent to set_servo_angle is executed. Note that while I'm using cpp instead of python as in the example, I use the exact same commands but in the cpp binding.

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