欢迎来到 VEX AIM 的 API 参考网站#
探索使用 VEXcode AIM 进行编程所需的一切,包括使用 Blocks 和 Python 进行编程。本指南将帮助您浏览网站并充分利用现有资源。
此 API 信息适用于以下任一情况:
VEXcode AIM by VEX Robotics
Microsoft 的 Visual Studio Code,带有 VEX Visual Studio Code 扩展
WebSocket integration via the VEX AIM Websocket Python Client
See the WebSocket pages for setup and usage.
API Sections#
如何使用 API 参考#
选择您的语言:决定是否要在您的项目中使用 Blocks 或 Python。
浏览或搜索:使用导航菜单或搜索栏来定位特定的命令或块。
阅读描述:每个块或方法都包含一个描述,解释其目的、参数和任何重要说明。
Review the Examples: For commands that include examples, try them out with your own robot to see how they behave! For text-based examples in Python, select the Copy button to copy the example to your clipboard so it can be pasted into your coding environment.
Experiment and Modify: Try out the command in your projects. Modify its parameters to fit your needs and observe the effects.
成功秘诀#
Start Simple: Begin with basic projects to get comfortable with VEXcode.
阅读 API 参考:探索 API 参考以了解可用的功能及其操作。
定期练习:您编写的代码越多,您对平台的熟练程度就会越高。
编码愉快,欢迎来到 VEXcode AIM!