# API和SDK

## 简介

为了方便用户通过自行开发的程序或者编写G-code程序控制机械臂，我们提供了Rotrics机械臂的API和SDK文档。Rotrics机械臂是基于Marlin固件开发的，兼容大部分Marlin的G-code指令，用户也可以查看对应语言的API文档来开发机械臂控制程序，轻松的将机械臂集成到项目中。

目前只完成了机械臂G-code指令和控制协议的内容，Python、Java、C++等语言的API预计在众筹发货完成后一个月内完成。

## 本节目录

[机械臂G-code指令和控制协议](https://www.manual.rotrics.com/v/v1.0-chinese/api_and_sdk_chn/ji-xie-bi-kong-zhi-xie-yi)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.rotrics.com/v1.0-chinese/api_and_sdk_chn.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
