From 3dfa3cd03a7c8c6df0c5f97726f0ad875e150c8d Mon Sep 17 00:00:00 2001 From: Ha1n1GzZZ <1473186062@qq.com> Date: Sat, 8 Jun 2024 11:31:06 +0800 Subject: [PATCH] have wrong fuction name --- example/python/stand_go2.py | 4 ++-- simulate_python/test/test_unitree_sdk2.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/python/stand_go2.py b/example/python/stand_go2.py index 154eea5..ca52195 100644 --- a/example/python/stand_go2.py +++ b/example/python/stand_go2.py @@ -29,9 +29,9 @@ input("Press enter to start") if __name__ == '__main__': if len(sys.argv) <2: - ChannelFactortyInitialize(1, "lo") + ChannelFactoryInitialize(1, "lo") else: - ChannelFactortyInitialize(0, sys.argv[1]) + ChannelFactoryInitialize(0, sys.argv[1]) # Create a publisher to publish the data defined in UserData class pub = ChannelPublisher("rt/lowcmd", LowCmd_) diff --git a/simulate_python/test/test_unitree_sdk2.py b/simulate_python/test/test_unitree_sdk2.py index 5737e58..771cb4b 100644 --- a/simulate_python/test/test_unitree_sdk2.py +++ b/simulate_python/test/test_unitree_sdk2.py @@ -21,7 +21,7 @@ def LowStateHandler(msg: LowState_): if __name__ == "__main__": - ChannelFactortyInitialize(1, "lo") + ChannelFactoryInitialize(1, "lo") hight_state_suber = ChannelSubscriber("rt/sportmodestate", SportModeState_) low_state_suber = ChannelSubscriber("rt/lowstate", LowState_)