移动你的机器人#
Moving Your Robot
本教程将引导您使用 VEXcode GO 中的 drive for 模块来控制机器人前进和后退。教程结束时,您将完成一个可以控制机器人前进和后退的项目。
请确保您的机器人已配置驱动系统,以便在工具箱中看到驱动系统模块。如果您尚未添加驱动系统,请参阅配置设备。
在 when started 模块下方连接两个 drive for 模块。
启动时,下方连接了两个用于驱动模块的驱动器。#
当开始 :: hat events
驱动 [向前 v] (100) [毫米 v] ▶
驱动 [向前 v] (100) [毫米 v] ▶
在第二个模块中,将方向参数更改为反转。
Make sure your robot is connected to VEXcode, then select Start to run the project. The robot will drive forward, then drive the same distance in reverse.