Control robot with AI models
How to make an AI model control your robot?
You just trained an AI model and now you want to use it to control your robot.
Here is how to do it with minimum effort.
Setup an inference server
First, you need to setup an inference server. This server runs on a beefy machine that can run the AI model. It can be your own machine, a cloud server, or a dedicated server.
If you choose a remote location, chose the closest location to minimize latency.
To setup the inference server, follow the instructions in the link below:
Setup the inference server
How to setup the inference server?
Call your inference server from a python script
We provide clients for ACT servers and Pi0 servers.
You can implement the ActionModel
class with your own logic here.
We also provide classes for ACT and pi0 inference server.
Example script for ACT
Example script for Pi0
For more information, check out the implementation here.
Was this page helpful?