德克斯#

Dex 是 VEX V5 Hero Bot,用于 V5RC 25-26 Push Back Playground

机器人概览#

VEXcode VR 机器人窗口,显示 Dex 机器人。图中显示机器人正在使用进料口和传送带收集、提升和分拣方块。

Dex 支持标准 VR 控制和传感器,例如惯性传感器和脑计时器,其他 Dex 特有的功能在 机器人专用模块机器人专用 Python 中有所介绍。

汽车集团#

配置和
Python 命令名称

描述

Dex机器人传送电机。
Conveyor Motor
conveyor_motor

The conveyor motor moves Blocks from the intake up to the top of the robot so the Block can be pushed into a goal.

To bring a Block from the intake to the top of the conveyor, the conveyor motor must spin in the up or forward direction.

Dex机器人进食电机。
Intake Motor
intake_motor

The intake motor rotates the two wheels at the front of the robot. This allows Blocks to be picked up off the ground.

To collect a Block, spin the intake motor in the intake or forward direction.

组件和功能#

组件或功能

使用

API 文档

传动系统

移动和转向机器人。

Blocks - Python

传送电机

将积木从进料口移到机器人顶部,以便将积木推入目标位置。

Blocks - Python

进气马达

旋转机器人前部的两个轮子。这样就可以从地面上拾取积木。

Blocks - Python

AI视觉传感器

检测游戏对象,使机器人能够自主调整方向。

Blocks - Python

保险杠开关

检测模块何时通过进料口并进入传送带。

Blocks - Python

距离传感器

检测机器人前端与物体之间的距离。

Blocks - Python

光学传感器

检测传送带顶部方块的颜色。

Blocks - Python

GPS传感器

返回机器人当前在游乐场上的位置和方向。

Blocks - Python

脑力计时器

记录项目启动以来经过的时间。

Blocks - Python

游乐场#

操场

描述

V5RC 25-26 推回

在 V5RC 25-26 虚拟技能场中,将红色和蓝色方块推入目标。