Closed Lin-jun-xiang closed 4 months ago
Hi, I met the same problem. Could you please tell me how you solved the problem?
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"
.I have used debug mode, then find the
self.___publication_matched_count
is0
which cause the client error.
Hi @Lin-jun-xiang ,
I'm trying to run the high-level control example go2_sport_client.py
using the unitree_mujoco
simulation and specifying the network interface lo
. I encountered the same error message you've mentioned:
[ClientStub] send request error. id: 252906806156372
Did you figure out how to solve it?
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