unitreerobotics / unitree_sdk2_python

Python interface for unitree sdk2
BSD 3-Clause "New" or "Revised" License
27 stars 15 forks source link

[ClientStub] send request error. #6

Closed Lin-jun-xiang closed 2 weeks ago

Lin-jun-xiang commented 2 weeks ago

Problem

The client error cause from: https://github.com/unitreerobotics/unitree_sdk2_python/blob/bd24b5be05b67eb044ebcec9f35d0698040b5360/unitree_sdk2py/rpc/client_stub.py#L50-L55

I have used debug mode, then find the self.___publication_matched_count is 0 which cause the client error.

https://github.com/unitreerobotics/unitree_sdk2_python/blob/bd24b5be05b67eb044ebcec9f35d0698040b5360/unitree_sdk2py/core/channel.py#L129-L140

However, I have no idea why the self.___publication_matched_count is 0.


Environment