Robot C setup 2015

Download Report

Transcript Robot C setup 2015

Robot C and
Natural Language
Step #1
Begin by opening up Robot C from your desktop.
Step #2
Create a folder
• Create a folder on your desktop to insert all
your Robot C files,
• Here you will begin with your template and
other basic programs,
• Immediately change the name of your
modified file!
Step #3
Begin with Sample Program, VEX2
Test 1
Step #3b
Open > Basic Movement
Test 1
Step #3c
Select >
Moving Forward
Test 1
Step #3d
Moving Forward is a sample program which may be modified.
Test 1
Step #4
Change the name to TEST 1
Save in your desktop folder
Verify
your
plateform
type:
Step #5
Select >
Robot >
Platform Type >
VEX 2.0
Step #6
Update Cortex:
Robot >
Download Firmware>
Automatically Update VEX Cortex
Step #7
Step #8
Cortex wiring schematic
lineFollower
This information should match the
motor and sensors setup done in
ROBOTC
potentiometer
bumpSwitch
touchSwitch
leftMotor
rightMotor
clawMotor
Motors
• 2-wire motors can be connected directly to
ports 1 and 10 on the VEX Cortex
• The VEX Motor Controller 29 allows you to
connect the VEX 2-wire Motors to any of the
standard 3-wire ports on the VEX Cortex.
• To use the VEX Motor Controller 29, plug the
3-wire end into one of the MOTOR ports (29) on your VEX Cortex Microcontroller.
Complete Motor & Sensor Setup
Allows you to configure and name all of the motors
and sensors connected to your robot.
Analog Sensor Setup
Type a name to describe
the sensor.
Choose the type of
sensor – the only analog
sensors for GTT are Line
Follower and
Potentiometer.
Sensor Setup
Type a name to describe
the digital sensor
location or purpose. Both
the limit and bumper
switches are Touch Type.
LED’s can be plugged in
to dgtl9-dgtl12, the type
is Digital Out.
Test 1
Try other sample programs
Great job!!!
Begin on your tasks assignments.