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

I can't control the mycobot m5 in ubuntu with 10-20HZ control cmd #111

Open
Black0Moonlight opened this issue Nov 29, 2024 · 3 comments
Open

Comments

@Black0Moonlight
Copy link

Describe the bug
I can't control the mycobot m5 in ubuntu with 10-20HZ control cmd

To Reproduce
Steps to reproduce the behavior:
I use this method to move and check time delay:
def move_mycobot(self):
# self.mc.sync_send_angles(list(np.degrees(self.robot_joint_positions)), 50, 0.1)
last_time = time.time()
self.mc.send_radians(list(self.robot_joint_positions), 50)
dt = time.time()-last_time
print(dt)

And dt is like this:
1.5237412452697754

1.5245559215545654

1.5268266201019287

Why this huge delay?

Expected behavior
In user cook book, it is said that command frequency can be 10-20HZ, and I want to control the move of robot arm as real time as possible.
"
2 关于参数
Q:mycobot280-M5通讯频率是多少呢?
A:10-20Hz。
"
Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • Browser chrome
  • Version 3.6.0
@anla-xu
Copy link
Collaborator

anla-xu commented Nov 29, 2024

Please provide the firmware version you are using. We recommend you to install atom v6.5 and pymycobot < v3.6.0

@Black0Moonlight
Copy link
Author

Please provide the firmware version you are using. We recommend you to install atom v6.5 and pymycobot < v3.6.0

Thank you. I use firmware with: robot version 7.0.0 and basic version 2.3.0. I also flashed atom v6.5, but I found no difference.

@anla-xu
Copy link
Collaborator

anla-xu commented Dec 4, 2024

The normal communication frequency should not exceed 100ms. Please test it again using atom v6.5 and pymycobot v3.5.9. There is no problem.

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