Using the unitree app API mode to connect the go2 to the same Wi-Fi as the computer. The network card name is set as Wi-Fi which get by ipconfig>> InterfaceAlias: Wi-Fi.
When running example/helloworld/, the publisher and subscriber work smoothly and produce the expected results.
However, when executing test.StandDown(), an error occurs with the message "[ClientStub] send request error. id=xxx".
Problem
Using the unitree app API mode to connect the go2 to the same Wi-Fi as the computer. The network card name is set as
Wi-Fi
which get byipconfig>> InterfaceAlias: Wi-Fi
.When running
example/helloworld/
, thepublisher
andsubscriber
work smoothly and produce the expected results.However, when executing
test.StandDown()
, an error occurs with the message"[ClientStub] send request error. id=xxx"
.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
is0
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
is0
.Environment