Skip to content

Read Frequency from both the arms is very less. (10x lesser than write) #1166

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

Open
Jeevesh2009 opened this issue May 27, 2025 · 1 comment
Open

Comments

@Jeevesh2009
Copy link

Jeevesh2009 commented May 27, 2025

I am using waveshare ST3215 HS servos to build the arms , using ESP32 Servo driver from waveshare.
I am getting There is no status packet! error while running the code.I tried to debug and found out that if we increase the wait_length in sdk (for rxpacket) it read all values .

wait_length = (6 + data_length) * param_length + 100

This will wait for 100 more packets and takes the encoder values from motors.
Its working without any errors and i can even collect some data But if you see the below line it tells that read freq from both arms is very less. That results in a very jittery motion of follower.

INFO 2025-05-23 12:51:40 rol_utils.py:82 dt:45.88 (21.8hz) dtRlead:17.38 (57.5hz) dtWfoll: 0.43 (2341.0hz) dtRfoll:28.02 (35.7hz)

NOTE:The above info is without any delay(+100) I tried teleoperating only one motor and no changes to original code. Can someone provide any solution.

@brainwavecoder9
Copy link
Contributor

I wonder if this is related. Discord user @svaengheld figured out this can be resolved by upgrading the firmware (3.9 -> 3.10 if I recall):
https://discord.com/channels/1216765309076115607/1237741463832363039/1378393049146589267

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