Pull-Request: Bring Python SDK (Go2 Edu) in line with Go2 V 1.1.6 high-level interface #76
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates unitree_sdk2_python to the current high-level interface defined in the C++ headers shipped with Go2 firmware V 1.1.6 (May 2025).
It adds all new motion-switcher APIs, removes deprecated calls, corrects every numeric ID, and provides a clean demo script.
Motivation
NameError/3203 unknown apion current robots.Changes
go2/sport/sport_api.pysport_api.hpp(IDs 1001-2058).* Added new V 2.0 IDs
2044‒2058and aliases forStaticWalk,TrotRun,EconomicGait(1061‒1063).go2/sport/sport_client.py* Added wrappers:
HandStand,ClassicWalk,FreeBound,FreeJump,FreeAvoid,WalkUpright,CrossStep,StaticWalk,TrotRun,AutoRecoverSet/Get,SwitchAvoidMode.* Removed deprecated
WalkStair.go2_sport_client.pylistto show IDs.