If you want to control your TNY-360 using Python, you're at the right place!
This section is here to get you started with the Python SDK for your TNY-360. Whether you're building a desktop application, a web interface, or just want to experiment with Python, we've got you covered.
To dig deeper into the SDK, check out the on our GitHub repository.
The TNY-360 documentation is still under redaction.
For immediate instructions, please refer to :
from tny_360_sdk import TNY360
ROBOT_IP_ADDR = '192.168.4.1' # Replace with your TNY-360 IP address
# Create an instance of the TNY-360
robot = TNY360()
try:
robot.connect(ROBOT_IP_ADDR)
print("Connected to TNY-360 successfully!")
except Exception as e:
print(f"Failed to connect to TNY-360: {e}")
robot.walk(x=0.2, y=0.0, yaw=0.0) # Move forward
print("Walk command dispatched successfully!")
Any help with the Python SDK is very welcome, so if you want to contribute, please check out our GitHub repository and join the discussion in the issues or the Discord server!