-
Notifications
You must be signed in to change notification settings - Fork 545
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
Servo cannot reach the desired control rate #2955
Comments
It looks like changing to the |
I see a lower rate when I try to toggle directions back and forth, maybe because there is some dead time in between switching keys somewhere between me and what servo receives. But if I just hold down a button and go right into joint limits/singularity, I hit 100 Hz no problem on my 4 year old laptop? servo_rate.mp4 |
Here's another one in which I am just spamming arrow keys in twist mode. servo_rate_2.mp4 |
You're right, it must be some kind of Linux button debouncing issue. |
Description
Launch a Servo demo, e.g.
ros2 launch moveit_servo demo_ros_api.launch.py
ros2 run moveit_servo servo_keyboard_input
Monitor the joint command publication rate:
ros2 topic hz -w 500 /panda_arm_controller/joint_trajectory
It's nowhere close to the desired rate of 100 Hz. I get ~60 Hz. Not sure exactly when this regression happened but I suspect PR #2651.
The text was updated successfully, but these errors were encountered: