- ButtonR1/2:In Take
- ButtonL1/2:Shoot
- ButtonX/Y:设置发射速度
-
RemoteSetUp:设置电机最大扭矩(100),设置电机角度?(0)
-
电机驱动:
- RunMyVehicle:底盘控制(输入:左侧底盘电压百分比,右侧底盘电压百分比)
- RunMyPaw:设置爪子(输入:爪子电压百分比)
- RunMyShoot:设置发射(输入:发射电压百分比)
-
ShowTeamNum:显示队伍编号
-
Remote_vehicle_control:根据手柄摇杆位置等信息控制底盘
-
MyRemote:根据手柄按键等信息控制其他电机功能
- vexcodeInit:Used to initialize code/tasks/devices added using tools in VEXcode Pro.This should be called at the start of your int main function.用于使用VEXcode Pro工具添加代码/任务/设备的初始化。这应该在你的 int main 函数开始时调用。
- Control_Motors::Control_Motors:设置电机(组)配置(数量,功率单位,旋转方向,控制手柄……)
- Control_Motors::SetUp:电机初始化设置(列表,按钮,初始角度,编码器……)
- Control_Motors::RunMotors:通过电压,功率等使电机转动
- Control_Motors::RemoteMotors:通过电机(组)前后方向功率控制电机
- Control_Motors::RunMotorsRotation:转向特定角度
- Control_Motors::StopMotors:停止所有电机
- Control_Motors::SetStopMode:设置停止模式
- Control_Motors::SetTimeOut:设置电机多长时间未转到指定角度所使用的最长时间,如未完成则停止
- Control_Motors::SetMotorsName:设置电机名称
- Control_Motors::SetMaxTorque:设置最大扭矩
- Control_Motors::SetMotorsRotation:设置电机角度
- Control_Motors::GetSensorValue:获取传感器角度
- Control_Motors::GetRpm:获取转速
- Control_Motors::GetSpeed:获取速度
- Control_Motors::SetMyEncoder:设置编码器
- Control_Motors::GetEncoderValue_Deg:获取编码器角度
- Control_Motors::CreatMotors:创建新电机(组)
- Control_Motors::SetStopMode:设置停止模式
- Control_Motors::GetRotationValue:获取角度
- Debug:调试