ROBOTC-VEX IQ-中文版教材

更新时间:2024-06-17 14:30:01 阅读量: 综合文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

contents

Chapter 1 Getting Started

About VEX IQ VEX IQ

What is ROBOTC Graphical Language? ROBOTCStandard Build Proper Motor Setup VEX IQ Firmware Updates

Installing ROBOTC Graphical on the VEX IQ Brain Initial Wireless Setup

Uploading Autonomous verse Remote Control Programs Troubleshooting

Intro to Programming

How do I start a new program?

How do I write a program using ROBOTC Graphical Language? How do I save/open a new program? How do I edit a program?

Chapter 2 Basic movement

Expedition Atlantis

1

Moving Forward Turning

The Ruins of Atlantis2

Chapter 3 Sensors

The Repeat Structure RepeatThe Repeat Command Repeat

1

2

The Repeat Forever Command Repeat Repeat Until getMotorEncoder Value Repeat Until getColorSensorValue Repeat Until getDistanceValue Repeat Until getJoystickValue Repeat Until getTouchLEDValue Repeat Until getGyroValue Repeat Until getBumperSensorValue Repeat Until getTimerValue

Chapter 4 Program Flow

The While Structure Program Flow While SmartMotor Loop While BumperSensor Loop While Gyro Loop

The If Structure Program Flow The If/Else Structure

The waitUntil Structure Program Flow waitUntil BtnRUp Example Programming Simple Behaviors Motor Commands

Chapter 5 Remote Control

Direct Control Operator Assist Highrise

chapter 1

ROBOTC

VEX IQ ROBOTC

ROBOTC

ROBOTC

ROBOTC

ROBOTC

ROBOTC

ROBOTC

ROBOTC

”View”>”Convert Graphical File to Text”

ROBOTC

ROBOTC

chapter 1

VEX IQ

16

chapter 1

VEX IQ

VEX IQ

1 2 3

VEX IQ

”Update ALL Components”

chapter 1

VEX

VEX IQ

ROBOTC

USB

ROBOTC

VEX IQ

VEX IQ

ROBOTC

chapter 1

1.

ROBOTC for VEX Robotics Graphical

2.

”New File”

”New File”

3. ”New File””Download to Robot”

”Compile Program”

chapter 1

在上面的课程中,我们新建了一个程序,现在我们用最简单的方法完成机器人直行的程序。

1. 选择”Forward”并且用鼠标左键拖住它到右边的数字1的右边,如图所示。

2.”Degrees”\\”Rotation”\\”Time in milliseconds ,seconds ,or minutes”

3. “Forward”

3

chapter 1

”Save”

”Save As”

chapter 1

ROBOTC

”FILE”>”Open Sample Program”

本文来源:https://www.bwwdw.com/article/jtk3.html

Top