ROBOTC Natural Language - VEX Cortex Reference:
|
|
|
- Marian Sharyl Small
- 10 years ago
- Views:
Transcription
1 Setup Functions: Robot Type Choose which robot you want to write a program for. Note that not including this command defaults to "robottype(none);" Also please note that this command should be the first thing in your "task main()". robottype(type); Parameters: type Valid Robot Types for type: none - this will not set up any motors and sensors for you (this is the default.) recbot - sets the motors and sensors to match a default Recbot. swervebot - sets the motors and sensors to match a default Swervebot. robottype(); robottype(recbot); This snippet of code will set the robot type to none by default, skipping the setup process. You must manually set the motors and sensors in the 'Motors and Sensors Setup' menu. This snippet of code will set the robot type to recbot. This will automatically set up the motor and sensor ports to match those of a default Recbot. Movement Functions: Set Servo Set a servo to a desired position. setservo(servo, position); Parameters: servo, position Acceptable Motors for servo: MOTOR ports 2 through 9 (and your names for them given in Motors and Sensors Setup.) Valid Range Values for position: -127 to 127. setservo(); This snippet of code will set the servo on motor-port 6 to position 0 (center). The default motor-port is port6 and the default position is 0 for setservo(). setservo(port8, 37); This snippet of code will set the servo on motor-port 8 to position 37. ROBOTC Natural Language - VEX Cortex Reference 1
2 Start Motor Set a motor to a speed. startmotor(motor, speed); Parameters: motor, speed Acceptable Motors for motor: MOTOR ports 1 through 10 (and your names for them given in Motors and Sensors Setup.) Valid Range Values for speed: -127 (reverse) to 127 (forward) where 0 is stop. startmotor(); wait(); stopmotor(); startmotor(port8, -32); wait(0.5); stopmotor(port8); This snippet of code will run the motor in motor-port 6 at speed 95 for 1.0 seconds and then stop it. The default motor-port is port6 and the default speed is 95 for startmotor(). This snippet of code will run the motor in motor-port 8 at speed -32 for 0.5 seconds and then stop it. Stop Motor Stops a motor. stopmotor(motor); Parameters: motor Acceptable Motors for motor: MOTOR ports 1 through 10 (and your names for them given in Motors and Sensors Setup.) startmotor(); wait(); stopmotor(); This snippet of code will run the motor in motor-port 6 at speed 95 for 1.0 seconds and then stop it. The default motor-port is port6 for stopmotor(). startmotor(port8, -32); wait(0.5); stopmotor(port8); This snippet of code will run the motor in motor-port 8 at speed -32 for 0.5 seconds and then stop it. ROBOTC Natural Language - VEX Cortex Reference 2
3 Wait Functions: Wait Wait an amount of time measured in seconds. The robot continues to do what it was doing during this time. wait(time); Parameters: time Valid Range Values for time: 0.0 to and up. wait(); This snippet of code will run the robot forward for 1.0 seconds and then stop. The default time is 1.0 (seconds) for wait(). wait(2.73); speed for 2.73 seconds and then stop. Wait in Milliseconds Wait an amount of time in milliseconds. The robot continues to do what it was doing during this time. waitinmilliseconds(time); Parameters: time Valid Range Values for time: 0 to and up. waitinmilliseconds(); This snippet of code will run the robot forward for 1000 milliseconds (1.0 seconds) and then stop. The default time is 1000 (milliseconds) for waitinmilliseconds(). waitinmilliseconds(2730); speed for 2730 milliseconds (2.73 seconds) and then stop. ROBOTC Natural Language - VEX Cortex Reference 3
4 Robot Movement Functions: Note that for desirable results with the following set of functions, you must use the "robottype();" Setup Function with either recbot or swervebot in the beginning of your "task main()". Forward Both wheels rotate forward at the same speed, causing the robot to move forward. forward(speed); Parameters: speed Valid Range Values for speed: 0 to 127 (however forward() will always move your robot forward.) wait(); This snippet of code will run the robot forward for 1.0 seconds and then stop. The default speed is 95 for forward(). wait(2.0); speed for 2.0 seconds and then stop. Backward Both wheels rotate backward at the same speed, causing the robot to move backward. backward(speed); Parameters: speed Valid Range Values for speed: -127 to 0 (however backward() will always move your robot backward.) backward(); wait(); This snippet of code will run the robot backward for 1.0 seconds and then stop. The default speed is -95 for backward(). backward(-63); wait(2.0); This snippet of code will run the robot backward at half speed for 2.0 seconds and then stop. ROBOTC Natural Language - VEX Cortex Reference 4
5 Point Turn Both wheels rotate at the same speed but in opposite directions, causing the robot to turn in place. pointturn(direction, speed); Parameters: direction, speed Valid Directions for direction: left and right. Valid Range Values for speed: -127 to 127. pointturn(); wait(); This snippet of code will make the robot turn right in place at speed 95 for 1.0 seconds and then stop. The default direction and speed are right and 95 for pointturn(). pointturn(left, 63); wait(0.4); This snippet of code will make the robot turn left in place at half speed for 0.4 seconds. Swing Turn One wheel rotates while the other does not move, causing the robot to make a wide turn around the stopped wheel. swingturn(direction, speed); Parameters: direction, speed Valid Directions for direction: left and right. Valid Range Values for speed: -127 to 127. swingturn(); wait(); swingturn(left, 63); wait(0.75); This snippet of code will make the robot make a wide right turn at speed 95 for 1.0 seconds and then stop. The default direction and speed are right and 95 for swingturn(). This snippet of code will make the robot make a wide left turn at half speed for 0.75 seconds. ROBOTC Natural Language - VEX Cortex Reference 5
6 Stop Both wheels do not move, causing the robot to stop. Parameters: N/A wait(); This snippet of code will run the robot forward for 1.0 seconds and then stop. (Note that there are no parameters for stop(). wait(2.0); speed for 2.0 seconds and then stop. Line Track for Time The robot will track a dark line on a light surface for a specified time in seconds. linetrackfortime(time, threshold, sensorleft, sensorcenter, sensorright); Parameters: time, threshold, sensorleft, sensorcenter, sensorright Valid Range Values for time: 0 to and up. Valid Range Values for threshold: (light) 0 to 4095 (dark). Acceptable Sensors for sensorleft, sensorcenter, sensorright: ANALOG ports 1 through 8 (and your names for them given in Motors and Sensors Setup.) linetrackfortime(); linetrackfortime(7.5, 99, in6, in7, in8); This snippet of code will make the robot follow a dark line on a light surface for 5.0 seconds using a threshold of 505 and line tracking sensors in analog-ports in1, in2, and in3 (L, C, R) and then stop. These values and sensors are the defaults for linetrackfortime(). This snippet of code will make the robot follow a dark line on a light surface for 7.5 seconds, using a threshold of 99 and line tracking sensors in analog-ports 6, 7, and 8 (L, C, R) and then stop. ROBOTC Natural Language - VEX Cortex Reference 6
7 Line Track for Rotations The robot will track a dark line on a light surface for a specified distance in encoder rotations. linetrackforrotations(rotations, threshold, sensorleft, sensorcenter, sensorright); Parameters: rotations, threshold, sensorleft, sensorcenter, sensorright Valid Range Values for rotations: 0 to and up. Valid Range Values for threshold: (light) 0 to 4095 (dark). Acceptable Sensors for sensorleft, sensorcenter, sensorright: ANALOG ports 1 through 8 (and your names for them given in Motors and Sensors Setup.) linetrackforrotations(); linetrackforrotations(4.75, 99, in6, in7, in8); This snippet of code will make the robot follow a dark line on a white surface for 3.0 rotations using a threshold of 505 and line tracking sensors in analog-ports in1, in2, and in3 (L, C, R) and then stop. These values and sensors are the defaults for linetrackforrotations(). This snippet of code will make the robot follow a dark line on a white surface for 4.75 rotations, using a threshold of 99 and line tracking sensors in analog-ports 6, 7, and 8 (L, C, R) and then stop. ROBOTC Natural Language - VEX Cortex Reference 7
8 Move Straight for Time The robot will use encoders to maintain a straight course for a specified length of time in seconds. movestraightfortime(time, rightencoder, leftencoder); Parameters: time, rightencoder, leftencoder Valid Range Values for time: 0 to and up. Acceptable Sensors for rightencoder, leftencoder: DIGITAL ports 1 through 11 (and your names for them given in Motors and Sensors Setup.) movestraightfortime(); movestraightfortime(7.5, dgtl5, dgtl3); This snippet of code will make the robot move forward, maintaining a straight heading for 5.0 seconds using quadrature encoders in digital-ports dgtl1(+dgtl2) and digtl3(+dgtl4), and then stop. These values and sensors are the defaults for movestraightfortime(). This snippet of code will make the robot move forward, maintaining a straight heading for 7.5 seconds using quadrature encoders in digital-ports 5+6 and 3+4, and then stop. Move Straight for Rotations The robot will use encoders to maintain a straight course for a specified distance in rotations. movestraightforrotations(time, rightencoder, leftencoder); Parameters: rotations, rightencoder, leftencoder Valid Range Values for rotaions: 0 to and up. Acceptable Sensors for rightencoder, leftencoder: DIGITAL ports 1 through 11 (and your names for them given in Motors and Sensors Setup.) movestraightforrotations(); movestraightforrotations(4.75, dgtl5, dgtl3); This snippet of code will make the robot move forward, maintaining a straight heading for 1.0 rotations using quadrature encoders in digital-ports dgtl1(+dgtl2) and digtl3(+dgtl4), and then stop. These values and sensors are the defaults for movestraightforrotations(). This snippet of code will make the robot move forward, maintaining a straight heading for 4.75 rotations using quadrature encoders in digital-ports 5+6 and 3+4, and then stop. ROBOTC Natural Language - VEX Cortex Reference 8
9 Tank Control The robot will be remote controlled in such a way that the right motor is mapped to the right joystick and the left motor is mapped to the left joystick. tankcontrol(rightjoystick, leftjoystick, threshold); Parameters: rightjoystick, leftjoystick Valid Channels for rightjoystick, leftjoystick: Any VEXnet Remote Control channel, however Ch2 and Ch3 make the most sense for this application. while(true) { tankcontrol(); } This snippet of code will remote control the robot using "tank control". The default right and left joysticks are Ch2 and Ch3, and 10 for tankcontrol(). while(true) { tankcontrol(ch1, Ch4, 5); } This snippet of code will remote control the robot using "tank control" with channel 1 as the right joystick and channel 4 as the left joystick with a threshold of 5. Arcade Control The robot will be remote controlled in such a way that the movement of the robot is mapped to a single joystick, much like a retro arcade game. arcadecontrol(verticaljoystick, horizontaljoystick, threshold); Parameters: verticaljoystick, horizontaljoystick Valid Channels for verticaljoystick, horizontaljoystick: Any VEXnet Remote Control channel, however Ch2+Ch1 or Ch3+Ch4 make the most sense for this application. while(true) { arcadecontrol(); } This snippet of code will remote control the robot using "tank control". The default vertical and horizontal joysticks are Ch2 and Ch1, and 10 for arcadecontrol(). while(true) { arcadecontrol(ch3, Ch4, 5); } This snippet of code will remote control the robot using "tank control" with channel 3 as the vertical joystick and channel 4 as the horizontal joystick (arcade control with the left-side joystick) with a threshold of 5. ROBOTC Natural Language - VEX Cortex Reference 9
10 Until Functions: Until Touch The robot continues what it was doing until the touch sensor is pressed in. untiltouch(sensorport); Parameters: sensorport DIGITAL ports 1 through 12 (and your names for them given in Motors and Sensors Setup.) untiltouch(); This snippet of code will run the robot forward until the touch sensor in digital-port 6 is pressed, and then stop. The default sensor port is dgtl6 for untiltouch(). untiltouch(dgtl10); speed until the touch sensor in digital-port 10 is pressed, and then stop. Until Release The robot continues what it was doing until the touch sensor is released out. untilrelease(sensorport); Parameters: sensorport DIGITAL ports 1 through 12 (and your names for them given in Motors and Sensors Setup.) untilrelease(); This snippet of code will run the robot forward until the touch sensor in digital-port 6 is released, and then stop. The default sensor port is dgtl6 for untilrelease(). untilrelease(dgtl10); speed until the touch sensor in digital-port 10 is released, and then stop. ROBOTC Natural Language - VEX Cortex Reference 10
11 Until Bump The robot continues what it was doing until the touch sensor is pressed in and then released out. (A delay time in milliseconds can be specified as well.) untilbump(sensorport, delaytimems); Parameters: sensorport, delaytimems DIGITAL ports 1 through 12 (and your names for them given in Motors and Sensors Setup.) Valid Range Values for delaytimems: 0 to and up. untilbump(); This snippet of code will run the robot forward until the touch sensor in digital-port 6 is pressed in and then released out, and then stop. The default sensor port and delay time are dgtl6 and 10 for untilbump(). untilbump(dgtl10, 100); speed until the touch sensor in digital-port 10 is pressed in and then released out (with a delay of 100ms), and then stop. Until Button Press The robot continues what it was doing until a specified button on the VEX LCD is pressed. Connect the VEX LCD to UART-port 2. untilbuttonpress(lcdbutton); Parameters: lcdbutton Valid LCD Buttons for lcdbutton: centerbtnvex - VEX LCD center button rightbtnvex - VEX LCD right button leftbtnvex - VEX LCD left button untilbuttonpress(); This snippet of code will run the robot forward until a button on the VEX LCD is pressed. The default button is centerbtnvex for untilbtnpress(). untilbuttonpress(rightbtnvex); speed until the right button on the VEX LCD is pressed. ROBOTC Natural Language - VEX Cortex Reference 11
12 Until Sonar Greater Than The robot continues what it was doing until the sonar sensor reads a value greater than a set distance in centimeters. untilsonargreaterthan(distance, sensorport); Parameters: distance, sensorport Acceptable Values for distance: 0 to 647 (cm). DIGITAL ports 1 through 12 (and your names for them given in Motors and Sensors Setup.) untilsonargreatherthan(); untilsonargreatherthan(45, dgtl2); This snippet of code will run the robot forward until the sonar sensor in digital-port 8+9 reads a value greater than 30 centimeters, and then stop. The default distance and sensor ports are 30 and dgtl8(+dgtl9) for untilsonargreaterthan(). speed until the sonar sensor in digital-port 2+3 reads a value greater than 45 centimeters, and then stop. Until Sonar Less Than The robot continues what it was doing until the sonar sensor reads a value less than a set distance in centimeters. untilsonarlessthan(distance, sensorport); Parameters: distance, sensorport Acceptable Values for distance: 0 to 647 (cm). DIGITAL ports 1 through 12 (and your names for them given in Motors and Sensors Setup.) untilsonarlessthan(); untilsonarlessthan(45, dgtl2); This snippet of code will run the robot forward until the sonar sensor in digital-port 8+9 reads a value less than 30 centimeters, and then stop. The default distance and sensor ports are 30 and dgtl8(+dgtl9) for untilsonarlessthan(). speed until the sonar sensor in digital-port 2+3 reads a value less than 45 centimeters, and then stop. ROBOTC Natural Language - VEX Cortex Reference 12
13 Until Potentiometer Greater Than The robot continues what it was doing until the potentiometer sensor reads a value greater than a set position. untilpotentiometergreaterthan(position, sensorport); Parameters: position, sensorport Valid Range Values for position: 0 to 4095 (However due to mechanical stops, you may be limited to the range of 5 to 4090.) ANALOG ports 1 through 8 (and your names for them given in Motors and Sensors Setup.) startmotor(); untilpotentiometergreaterthan(); startmotor(port8, 63); untilpotentiometergreaterthan(4000, in4); This snippet of code will run the motor on port 6 at speed 95 until the potentiometer in analog-port 6 reaches a value greater than 2048, and then stop. The default position and sensor port are 2048 and in6 for untilpotentiometergreaterthan(). This snippet of code will run the motor on port 8 at speed 63 until the potentiometer in analog-port 4 reaches a value greater than 4000, and then stop. Until Potentiometer Less Than The robot continues what it was doing until the potentiometer sensor reads a value less than a set position. untilpotentiometerlessthan(position, sensorport); Parameters: position, sensorport Valid Range Values for position: 0 to 4095 (However due to mechanical stops, you may be limited to the range of 5 to 4090.) ANALOG ports 1 through 8 (and your names for them given in Motors and Sensors Setup.) startmotor(); untilpotentiometerlessthan(); startmotor(port8, 63); untilpotentiometerlessthan(40, in4); This snippet of code will run the motor on port 6 at speed 95 until the potentiometer in analog-port 6 reaches a value greater than 2048, and then stop. The default position and sensor port are 2048 and in6 for untilpotentiometerlessthan(). This snippet of code will run the motor on port 8 at speed 63 until the potentiometer in analog-port 4 reaches a value less than 40, and then stop. ROBOTC Natural Language - VEX Cortex Reference 13
14 Until Dark The robot continues what it was doing until the line tracking sensor reads a value darker than a specified threshold. untildark(threshold, sensorport); Parameters: threshold, sensorport Valid Range Values for threshold: (light) 0 to 4095 (dark) ANALOG ports 1 through 8 (and your names for them given in Motors and Sensors Setup.) untildark(); untildark(1005, in4); This snippet of code will run the robot forward until the line tracking sensor in analog-port 2 reads a value darker than 1500, and then stop. The default threshold and sensor port are 1500 and in2 for untildark(). speed until the line tracking sensor in analog-port 4 reads a value darker than 1005, and then stop. Until Light The robot continues what it was doing until the line tracking sensor reads a value lighter than a specified threshold. untillight(threshold, sensorport); Parameters: threshold, sensorport Valid Range Values for threshold: (light) 0 to 4095 (dark) ANALOG ports 1 through 8 (and your names for them given in Motors and Sensors Setup.) untillight(); untillight(1005, in4); This snippet of code will run the robot forward until the line tracking sensor in analog-port 2 reads a value lighter than 1500, and then stop. The default threshold and sensor port are 1500 and in2 for untillight(). speed until the line tracking sensor in analog-port 4 reads a value lighter than 1005, and then stop. ROBOTC Natural Language - VEX Cortex Reference 14
15 Until Rotations The robot continues what it was doing until the quadrature encoder rotations reach the desired value. untilrotations(rotations, sensorport); Parameters: rotations, sensorport Valid Range Values for rotations: 0.0 to and up. DIGITAL ports 1 through 11 (and your names for them given in Motors and Sensors Setup.) untilrotations(); untilrotations(2.75, dgtl3); This snippet of code will run the robot forward for 1.0 rotations using a quadrature encoder in digital-port 1+2, and then stop. The default rotations and sensor port are 1.0 and dgtl1(+dgtl2) for untilrotations(). speed for 2.75 rotations using a quadrature encoder in digital-port 3+4, and then stop. Until Encoder Counts The robot continues what it was doing until the quadrature encoder counts reach the desired value. untilencodercounts(counts, sensorport); Parameters: counts, sensorport Valid Range Values for counts: 0 to and up. DIGITAL ports 1 through 11 (and your names for them given in Motors and Sensors Setup.) untilencodercounts(); untilencodercounts(990, dgtl3); This snippet of code will run the robot forward for 360 encoder counts (1.0 rotations) using a quadrature encoder in digital-port 1+2, and then stop. The default rotations and sensor port are 360 and dgtl1(+dgtl2) for untilencodercounts(). speed for 990 encoder counts (2.75 rotations) using a quadrature encoder in digital-port 3+4, and then stop. ROBOTC Natural Language - VEX Cortex Reference 15
16 Special Functions: LED ON Turn an LED in a specified digital-port ON. turnledon(sensorport); Parameters: sensorport DIGITAL ports 1 through 12 (and your names for them given in Motors and Sensors Setup.) Note that you must set these digital-ports to "VEX LED". turnledon(); turnledon(dgtl7); This snippet of code will turn an LED in digital-port 2 ON. The default sensor port is dgtl2 for turnledon(). This snippet of code will turn an LED in digital-port 7 ON. LED OFF Turn an LED in a specified digital-port OFF. turnledoff(sensorport); Parameters: sensorport DIGITAL ports 1 through 12 (and your names for them given in Motors and Sensors Setup.) Note that you must set these digital-ports to "VEX LED". turnledoff(); turnledoff(dgtl7); This snippet of code will turn an LED in digital-port 2 OFF. The default sensor port is dgtl2 for turnledoff(). This snippet of code will turn an LED in digital-port 7 OFF. ROBOTC Natural Language - VEX Cortex Reference 16
17 Flashlight ON Turn a VEX Flashlight in a specified motor-port ON at a specified brightness. turnflashlighton(motorport, brightness); Parameters: motorport, brightness Acceptable Motors for motorport: MOTOR ports 1 through 10 (and your names for them given in Motors and Sensors Setup.) *NOTE* Brightness control only available in motor-ports 1 and 10, or 2 through 9 when connected to a VEX Motor Controller 29.) Valid Range Values for brightness: (off) 0 to 127 (bright) turnflashlighton(); turnflashlighton(port10, 127); This snippet of code will turn a VEX Flashlight in motorport 4 ON at brightness level 63 (half bright). The default motor port and brightness are port4 and 63 for turnflashlighton(). This snippet of code will turn a VEX Flashlight in motor-port 10 ON at brightness level 127 (full bright). Flashlight OFF Turn a VEX Flashlight in a specified motor-port OFF. turnflashlightoff(motorport); Parameters: motorport Acceptable Motors for motorport: MOTOR ports 1 through 10 (and your names for them given in Motors and Sensors Setup.) turnflashlightoff(); turnflashlightoff(port10); This snippet of code will turn a VEX Flashlight in motorport 4 OFF. The default motor port is port4 for turnflashlightoff(). This snippet of code will turn a VEX Flashlight in motor-port 10 OFF. ROBOTC Natural Language - VEX Cortex Reference 17
CONTENTS. What is ROBOTC? Section I: The Basics
BEGINNERS CONTENTS What is ROBOTC? Section I: The Basics Getting started Configuring Motors Write Drive Code Download a Program to the Cortex Write an Autonomous Section II: Using Sensors Sensor Setup
After: bmotorreflected[port2]= 1; //Flip port2 s direction
Motors Motor control and some fine-tuning commands. motor[output] = power; This turns the referenced VEX motor output either on or off and simultaneously sets its power level. The VEX has 8 motor outputs:
ROBOTC Software Inspection Guide with Additional Help Documentation
VEX ROBOTICS COMPETITION ROBOTC Software Inspection Guide with Additional Help Documentation VEX Cortex Software Inspection Steps: 1. Cortex Firmware Inspection using ROBOTC 2. Testing Cortex Robots using
ROBOTC Programming Competition Templates
ROBOTC Programming Competition Templates This document is part of a software inspection guide for VEX v0.5 (75 MHz crystal) and VEX v1.5 (VEXnet Upgrade) microcontroller-based robots. Use this document
Best Robotics Sample Program Quick Start
Best Robotics Sample Program Quick Start BEST Robotics Programming -- Sample Program Quick Start Page 1 Overview The documents describe the program "Best Competition Template.c" which contains the sample
Testing Robots Using the VEXnet Upgrade
Testing Robots Using the VEXnet Upgrade This document is an inspection guide for VEX v1.5 microcontroller-based robots. Use this document to test if a robot using the VEXnet Upgrade is competition ready.
EasyC. Programming Tips
EasyC Programming Tips PART 1: EASYC PROGRAMMING ENVIRONMENT The EasyC package is an integrated development environment for creating C Programs and loading them to run on the Vex Control System. Its Opening
Downloading a Sample Program over USB
Downloading a Sample Program over USB This document is a guide for downloading and running programs on the VEX Cortex using the USB A-to-A cable. You will need: 1 VEX Cortex Microcontroller with one 7.2V
TETRIX Add-On Extensions. Encoder Programming Guide (ROBOTC )
Introduction: In this extension, motor encoders will be added to the wheels of the Ranger Bot. The Ranger Bot with Encoders will be programmed to move forward until it detects an object, turn 90, and move
Using the VEX Cortex with ROBOTC
Using the VEX Cortex with ROBOTC This document is a guide for downloading and running programs on the VEX Cortex using ROBOTC for Cortex 2.3 BETA. It is broken into four sections: Prerequisites, Downloading
C.I. La chaîne d information LES CAPTEURS. Page 1 sur 5
LES CAPTEURS C.I. La chaîne d information The Touch Sensor gives your robot a sense of touch. The Touch Sensor detects when it is being pressed by something and when it is released again. Suggestions for
North Texas FLL Coaches' Clinics. Beginning Programming October 2014. Patrick R. Michaud [email protected] republicofpi.org
North Texas FLL Coaches' Clinics Beginning Programming October 2014 Patrick R. Michaud [email protected] republicofpi.org Goals Learn basics of Mindstorms programming Be able to accomplish some missions
understanding sensors
The LEGO MINDSTORMS NXT 2.0 robotics kit includes three types of sensors: Ultrasonic, Touch, and Color. You can use these sensors to build a robot that makes sounds when it sees you or to build a vehicle
2/26/2008. Sensors For Robotics. What is sensing? Why do robots need sensors? What is the angle of my arm? internal information
Sensors For Robotics What makes a machine a robot? Sensing Planning Acting information about the environment action on the environment where is the truck? What is sensing? Sensing is converting a quantity
How To Turn On A Robot On A Computer On A Black Box On A Pc Or Macbook
Written Directions for EV3 Line Follow (Heaviside Algorithm) Description: Given a black line and the light sensor on the EV3 robot, we want to have the light sensor read values from the reflected light.
Dr Robot C# Advance Sputnik Demo Program
25 Valleywood Drive, Unit 20 Markham, Ontario, L3R 5L9, Canada Tel: (905) 943-9572 Fax: (905) 943-9197 [email protected] Dr Robot C# Advance Sputnik Demo Program Version: 1.0.0 June 2008-1 - Copyright
YOSEMITE REGIONAL OCCUPATIONAL PROGRAM COURSE OUTLINE. COURSE TITLE: Robotics Engineering I ROP S1 Robotics Engineering I ROP S2
YOSEMITE REGIONAL OCCUPATIONAL PROGRAM COURSE OUTLINE COURSE TITLE: Robotics Engineering I ROP S1 Robotics Engineering I ROP S2 COURSE NUMBER: ROP71501 ROP71502 RECOMMENDED GRADE LEVEL: 11-12 ABILITY LEVEL:
Tutorial for Programming the LEGO MINDSTORMS NXT
Tutorial for Programming the LEGO MINDSTORMS NXT Table of contents 1 LEGO MINDSTORMS Overview 2 Hardware 2.1 The NXT Brick 2.2 The Servo Motors 2.3 The Sensors 3 Software 3.1 Starting a Program 3.2 The
Line Tracking Basic Lesson
Line Tracking Basic Lesson Now that you re familiar with a few of the key NXT sensors, let s do something a little more interesting with them. This lesson will show you how to use the Light Sensor to track
FRC WPI Robotics Library Overview
FRC WPI Robotics Library Overview Contents 1.1 Introduction 1.2 RobotDrive 1.3 Sensors 1.4 Actuators 1.5 I/O 1.6 Driver Station 1.7 Compressor 1.8 Camera 1.9 Utilities 1.10 Conclusion Introduction In this
How To Program An Nxt Mindstorms On A Computer Or Tablet Computer
NXT Generation Robotics Introductory Worksheets School of Computing University of Kent Copyright c 2010 University of Kent NXT Generation Robotics These worksheets are intended to provide an introduction
Programming the VEX Robot
Preparing for Programming Setup Before we can begin programming, we have to set up the computer we are using and the robot/controller. We should already have: Windows (XP or later) system with easy-c installed
Additional Guides. TETRIX Getting Started Guide NXT Brick Guide
Preparing the NXT Brick Now that a functional program has been created, it must be transferred to the NXT Brick and then run. This is a perfect time to take a look at the NXT Brick in detail. The NXT Brick
Speed Based on Volume Values & Assignment (Part 1)
Speed Based on Volume Values & Assignment (Part 1) The Sound Sensor is the last of the standard NXT sensors. In essence it s a kind of microphone which senses amplitude (how loud or soft a sound is), but
Modern Robotics, Inc Core Device Discovery Utility. Modern Robotics Inc, 2015
Modern Robotics, Inc Core Device Discovery Utility Modern Robotics Inc, 2015 Version 1.0.1 October 27, 2015 Core Device Discovery Application Guide The Core Device Discovery utility allows you to retrieve
Multi-Touch Control Wheel Software Development Kit User s Guide
Multi-Touch Control Wheel Software Development Kit User s Guide V3.0 Bulletin #1204 561 Hillgrove Avenue LaGrange, IL 60525 Phone: (708) 354-1040 Fax: (708) 354-2820 E-mail: [email protected] www.grayhill.com/instinct
Analog control unit for mobile robots
Analog control unit for mobile robots Soldering kit for experimentation For Fischertechnik robots and others Most diverse functions Requires no programming Patented sensor technology Summary We are pleased
Software manual Displays and Dash
Displays and Dash Software manual Displays and Dash AIM s.r.l. reserves the right to make changes in the content of this manual without obligation to notify any person of such changes. AIM s.r.l. shall
B0099 - Robo Claw 2 Channel 5A Motor Controller Data Sheet
B0099 - Robo Claw 2 Channel 5A Motor Controller Feature Overview: 2 Channel at 5A, Peak 7A Hobby RC Radio Compatible Serial Mode TTL Input Analog Mode 2 Channel Quadrature Decoding Thermal Protection Lithium
TwinCAT NC Configuration
TwinCAT NC Configuration NC Tasks The NC-System (Numeric Control) has 2 tasks 1 is the SVB task and the SAF task. The SVB task is the setpoint generator and generates the velocity and position control
EV3 Programming. Overview for FLL Coaches. A very big high five to Tony Ayad
EV3 Programming Overview for FLL Coaches A very big high five to Tony Ayad 2013 Nature s Fury Coach Call Basic programming of the Mindstorm EV3 Robot People Introductions Deborah Kerr & Faridodin Lajvardi
Building Robots with NXT and LEJOS. Introduc<on. What is the NXT Robot Pla@orm? Michael Wooldridge (mjw @ liv.ac.uk)
Building Robots with NXT and LEJOS Introduc
F1000T, F1000W System Start up & Calibration procedure
F1000T, F1000W System Start up & Calibration procedure Version Modified By Release notes Issue A Vijayakumar Creation 2010-04-20 USA Selma, TX 78154 www.dynapac.com Page: 1 Introduction This section documents
Watch Your Garden Grow
Watch Your Garden Grow The Brinno GardenWatchCam is a low cost, light weight, weather resistant, battery operated time-lapse camera that captures the entire lifecycle of any garden season by taking photos
INDEX. Google Android Phone OS application and operation 2. Blackberry Operation System(Software Installation and Operation) 13
DVR4rt-H264 Mobile User Guide INDEX DATE: 2011/03/02 VER 1.0 Google Android Phone OS application and operation 2 Blackberry Operation System(Software Installation and Operation) 13 iphone Software installation
Plumsted Township School District Aligned to Common Core State Standards
Pacing Guide Content Area: Science Grade Level: 12 Course Title: Robotics Engineering Course Description: This course teaches students to apply engineering principles and practices to construct, program,
Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]
Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205] Users Manual Robokits India [email protected] http://www.robokitsworld.com Page 1 Bluetooth + USB 16 Servo Controller is used to control up to
High-speed Photography with a Still Digital Camera
High-speed Photography with a Still Digital Camera Matthew Moore North Carolina School of Science and Math 1219 Broad St. Durham, NC 27705 Sponsored By Dr. Loren Winters 12/2/99 Abstract High-speed photography
Classroom Setup... 2 PC... 2 Document Camera... 3 DVD... 4 Auxiliary... 5. Lecture Capture Setup... 6 Pause and Resume... 6 Considerations...
Classroom Setup... 2 PC... 2 Document Camera... 3 DVD... 4 Auxiliary... 5 Lecture Capture Setup... 6 Pause and Resume... 6 Considerations... 6 Video Conferencing Setup... 7 Camera Control... 8 Preview
Advanced Programming with LEGO NXT MindStorms
Advanced Programming with LEGO NXT MindStorms Presented by Tom Bickford Executive Director Maine Robotics Advanced topics in MindStorms Loops Switches Nested Loops and Switches Data Wires Program view
Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide
Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide Sensors LCD Real Time Clock/ Calendar DC Motors Buzzer LED dimming Relay control I2C-FLEXEL PS2 Keyboards Servo Motors IR Remote Control
Experiment 5: Magnetic Fields of a Bar Magnet and of the Earth
MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Physics 8.02 Spring 2005 Experiment 5: Magnetic Fields of a Bar Magnet and of the Earth OBJECTIVES 1. To examine the magnetic field associated with a
Studio One Mackie Control Support
Studio One Mackie Control Support Table of Contents Introduction... 1 1 Setup... 1 1.1 Main Unit... 1 1.2 Extender... 1 1.3 Grouping Units... 2 2 Function Overview... 3 2.1 Mixer... 3 2.1.1 Layout... 3
Myro Overview. Chapter 1
Myro Overview Below is a chapter by chapter summary of all the Myro features introduced in this text. For a more comprehensive listing of all the Myro features you should consult the Myro Reference Manual.
SE05: Getting Started with Cognex DataMan Bar Code Readers - Hands On Lab Werner Solution Expo April 8 & 9
SE05: Getting Started with Cognex DataMan Bar Code Readers - Hands On Lab Werner Solution Expo April 8 & 9 Learning Goals: At the end of this lab, the student should have basic familiarity with the DataMan
Wireless Router Quick Start Guide Rev. 1.0a Model: WR300NQ
Wireless Router Quick Start Guide Rev. 1.0a Model: WR300NQ 1 Step One: Hardware Connection 1. If you have xdsl Broadband internet access, connect your hardware as shown in the following diagram: 2. If
Servo Info and Centering
Info and Centering A servo is a mechanical motorized device that can be instructed to move the output shaft attached to a servo wheel or arm to a specified position. Inside the servo box is a DC motor
IP Interface for the Somfy Digital Network (SDN) & RS485 URTSII
IP Interface for the Somfy Digital Network (SDN) & RS485 URTSII Internet Protocol (IP) Interface Product Options Cat # 1810815 IP Interface Only Cat # 1810870: Interface and DB9/RJ45 Adapter (9015028)
Classroom Activities for the Busy Teacher: EV3
Classroom Activities for the Busy Teacher: EV3 Table of Contents Chapter 1: Introduction... 1 Chapter 2: RileyRover Basics... 5 Chapter 3: Keeping Track... 13 Chapter 4: What is a Robot?... 17 Chapter
Introduction to programming moway
moway Contents Contents... 1 Introduction... 2 Flowcharts... 2 Movement blocks... 5 Conditionals... 6 Loops... 7 AND/OR Operators... 8 Setting flowcharts in order... 10 www.moway-robot.com 1 Introduction
Lego Robot Tutorials Touch Sensors
Lego Robot Tutorials Touch Sensors Bumper Cars with a Touch Sensor With a touch sensor and some robot programming, you can make your robot search its way around the room. It can back up and turn around
Setting up the DeskCNC controller.
1) Determine the steps to linear motion ratios for each axis. 2 2) Determine Maximum velocity (speed). 3 3) Setting up the software Machine Tab 4 4) Setting up the software DeskCNC Setup Tab 5 5) Setting
Scripting Language Reference. SimpleBGC 32bit
Scripting Language Reference SimpleBGC 32bit Firmware ver.: 2.5x Updated: 05.08.2015 Overview Scripting language is intended to control a gimbal by user-written program. This program is uploaded to controller
Tutorial 1. Introduction to robot
Tutorial 1. Introduction to moway robot www.moway-robot.com 1 Index INTRODUCTION... 2 MOWAY ROBOT... 2 MOWAY PERSON COMPARISON... 6 HEARING SENSE EXAMPLE... 11 VISION EXAMPLE... 12 TOUCH SENSE EXAMPLE...
TESTBOX SHAKE TABLE USER MANUAL
TESTBOX SHAKE TABLE USER MANUAL Writer: Eren AYDIN Date: 05.02.2014 Version: 1.0 Index 1. HARDWARE... 3 1.1 GENERAL OVERVİEW... 3 1.2 CONNECTİONS AND STARTUP... 3 2. SOFTWARE... 6 2.1 SETUP... 6 2.2 IP
Multi-Touch Control Wheel Software Development Kit User s Guide
Multi-Touch Control Wheel Software Development Kit User s Guide v1.0 Bulletin #1204 561 Hillgrove Avenue LaGrange, IL 60525 Phone: (708) 354-1040 Fax: (708) 354-2820 E-mail: [email protected] On the
Unit A451: Computer systems and programming. Section 2: Computing Hardware 4/5: Input and Output Devices
Unit A451: Computer systems and programming Section 2: Computing Hardware 4/5: Input and Output Devices Input and Output devices Candidates should be able to: (a) understand the need for input and output
ME 521 Computer Aided Design. 3. CAD Input Devices
Computer Aided Design 3. CAD Input Devices Yrd.Doç. e mail: [email protected] Makine Mühendisliği Bölümü Gebze Yüksek Teknoloji Enstitüsü Hardware of a CAD System 3. CAD Input Devices Computer System
Quick Start Guide to computer control and robotics using LEGO MINDSTORMS for Schools
Quick Start Guide to computer control and robotics using LEGO MINDSTORMS for Schools www.lego.com/education/mindstorms LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. 2004 The LEGO
How to Build a Simple Pac-Man Game
How to Build a Simple Pac-Man Game For today's program, we are going to build a simple Pac-Man game. Pac-Man was one of the very first arcade games developed around 1980. For our version of Pac-Man we
Robot Virtual Programming Games that work with NXT-G, LabVIEW, and ROBOTC
Robot Virtual Programming Games that work with NXT-G, LabVIEW, and ROBOTC What We Will Cover Today Introduction What are Robot Virtual Worlds Research behind Teaching Programming with RVWs RVW Resources
Getting Started Manual
Getting Started Manual LabVIEW LEGO MINDSTORMS NXT Module The LabVIEW LEGO MINDSTORMS NXT Module enables you to perform the following tasks: Develop LabVIEW VIs that run on a host computer and communicate
AEO Head Movement Tracker X-GYRO 1000 USER MANUAL(V1.1bata 20091019)
AEO Head Movement Tracker X-GYRO 1000 USER MANUAL(V1.1bata 20091019) Introduction: X-GYRO 1000 is a two axis head tracking system, based on G sensor technique, designed for tracking complicated three-dimensional
ROBOTICS AND AUTONOMOUS SYSTEMS
ROBOTICS AND AUTONOMOUS SYSTEMS Simon Parsons Department of Computer Science University of Liverpool LECTURE 3 PROGRAMMING ROBOTS comp329-2013-parsons-lect03 2/50 Today Before the labs start on Monday,
Microcontrollers, Actuators and Sensors in Mobile Robots
SISY 2006 4 th Serbian-Hungarian Joint Symposium on Intelligent Systems Microcontrollers, Actuators and Sensors in Mobile Robots István Matijevics Polytechnical Engineering College, Subotica, Serbia [email protected]
Introduction The IMX-1 mixer allows single-stick driving for tank drive style robots. One feature that sets it apart from other mixers is the third in
IMX 1 Invertible RC Mixer Users Guide Introduction The IMX-1 mixer allows single-stick driving for tank drive style robots. One feature that sets it apart from other mixers is the third input channel that
EasyPen i405x. MousePen i608x. User Manual For Windows 7/Vista/XP
EasyPen i405x MousePen i608x User Manual For Windows 7/Vista/XP *The driver may already be updated to a newer version before/after packaging. If your installation screen does not match the contents of
Electric Landing Gear controllers and sequencer LGC12 / LGC 13C
Electric Landing Gear controllers and sequencer LGC12 / LGC 13C Users Guide. Torrent d en Puig, 31. 08358, Arenys de Munt, Barcelona,Catalonia,Spain E-mail: [email protected]. Fax: +34 933 969 743 web: www.xicoy.com
TRIMBLE ATS TOTAL STATION ADVANCED TRACKING SYSTEMS FOR HIGH-PRECISION CONSTRUCTION APPLICATIONS
TRIMBLE ATS TOTAL STATION ADVANCED TRACKING SYSTEMS FOR HIGH-PRECISION CONSTRUCTION APPLICATIONS BY MARTIN WAGENER APPLICATIONS ENGINEER, TRIMBLE EUROPE OVERVIEW Today s construction industry demands more
Platinum App Software Guide
Platinum App Software Guide 1 Contents How to Download the Platinum App... 3 Equipment Requirements... 3 How the App Is Organized... 4 Setting Up Rooms and Shades... 5 Operating Your Window Coverings by
The NXT Generation. A complete learning solution
The NXT Generation A complete learning solution The NXT Generation LEGO MINDSTORMS Education is the latest in educational robotics, enabling students to discover ICT, science, D&T and maths concepts in
IQAN MDM Operation Manual
IQAN MDM Operation Manual Purpose The primary purpose of this document is to inform a user of the IQAN system on the ease of adjustments of the system. A person can create a much smoother machine control
Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD www.arexx.com.cn. Six-servo Robot Arm
Six-servo Robot Arm 1 1, Introduction 1.1, Function Briefing Servo robot, as the name suggests, is the six servo motor-driven robot arm. Since the arm has a few joints, we can imagine, our human arm, in
How to download historical data for a list of securities from outside of Bloomberg using Bloomberg Excel API s History Wizard
How to download historical data for a list of securities from outside of Bloomberg using Bloomberg Excel API s History Wizard There are two primary methods to download historical data for a list of securities
Mixing Station Manual Manual Version 0.21. This manual is not yet complete, please be patient
Manual Version 0.21 This manual is not yet complete, please be patient Content About... 3 Compatible Mixer:... 3 Quick start... 4 Start View... 5 UI Elements... 6 Knobs... 6 Fader... 6 Main View... 7 Channel
product. Please read this instruction before setup your VenomXTM.
Tuact Corp. Ltd. TM Venom X mouse controller combo Setup Software Instruction Thank you for purchasing our VenomXTM product. Please read this instruction before setup your VenomXTM. Introduction Venom
LIFT CONTROL SYSTEMS CATALOGUE 2007
LIFT CONTROL SYSTEMS CATALOGUE 2007 All Your Needs For Elevators INDEX 1. Lift Control Cards... 3 2. Speed Control Units... 7 3. Emergency Rescue Cards... 8 4. Lift Control Panels... 10 5. Photocells...
IR-210/712A + TouchPAD
ICP DAS IR-210/712A + TouchPAD Use Touch HMI Device to Control Infrared Appliances Content Introduction... 3 Chapter 1 Install IR-210 Software... 4 1.1 Install IR-210 Utility... 4 Chapter 2 Learn IR Commands...
The Basics of Robot Mazes Teacher Notes
The Basics of Robot Mazes Teacher Notes Why do robots solve Mazes? A maze is a simple environment with simple rules. Solving it is a task that beginners can do successfully while learning the essentials
Troubleshooting Guide for Jacks Down LED Lights
Troubleshooting Guide for Jacks Down LED Lights Equalizer Systems Auto-Level systems manufactured after 2005 feature a pressure switch system that monitors the retracted state of leveling jacks and any
LIFT CONTROL SYSTEMS CATALOGUE 2007
LIFT CONTROL SYSTEMS CATALOGUE 2007 All Your Needs For Elevators INDEX 1. Lift Control Cards... 3 2. Speed Control Units... 7 3. Emergency Rescue Cards... 8 4. Lift Control Panels... 10 5. Photocells...
Hand Gestures Remote Controlled Robotic Arm
Advance in Electronic and Electric Engineering. ISSN 2231-1297, Volume 3, Number 5 (2013), pp. 601-606 Research India Publications http://www.ripublication.com/aeee.htm Hand Gestures Remote Controlled
CMA ROBOTICS ROBOT PROGRAMMING SYSTEMS COMPARISON
CMA ROBOTICS ROBOT PROGRAMMING SYSTEMS COMPARISON CMA Robotics use different methods to program his robot depending model and process, this document will explain all this system advantage connected with
Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply
Servo Motors (SensorDAQ only) Project 7 Servos are small, relatively inexpensive motors known for their ability to provide a large torque or turning force. They draw current proportional to the mechanical
Stereoscopic 3D Digital Theater System. Operator Manual (MI-2100)
Stereoscopic 3D Digital Theater System Operator Manual (MI-2100) -1- All information contained in or disclosed by this document is confidential and propriety to masterimage Co., Ltd. (hereinafter referred
Introduction WELCOME TO LEGO MINDSTORMS EDUCATION
NXT User Guide Introduction WELCOME TO LEGO MINDSTORMS EDUCATION LEGO MINDSTORMS Education is the next generation in educational robotics, enabling students to discover Science, Technology, Engineering
Suzuki Modular Instrument System (SMIS) 4 Display
988-0151-38B Suzuki Modular Instrument System (SMIS) 4 Display Multi-function Gauge Installation and Operation Instructions Copyright 2009 American Suzuki Motor Corp. All rights reserved. No part of this
Welcome to icue! Version 4
Welcome to icue! Version 4 icue is a fully configurable teleprompter for ipad. icue can be used with an external monitor, controlled by remote and can easily share files in a variety of fashions. 1 of
Teacher Answer Key: Measured Turns Introduction to Mobile Robotics > Measured Turns Investigation
Teacher Answer Key: Measured Turns Introduction to Mobile Robotics > Measured Turns Investigation Phase 1: Swing Turn Path Evaluate the Hypothesis (1) 1. When you ran your robot, which wheel spun? The
Introduction WELCOME TO LEGO MINDSTORMS EDUCATION
NXT User Guide Introduction WELCOME TO LEGO MINDSTORMS EDUCATION LEGO MINDSTORMS Education is the next generation in educational robotics, enabling students to discover Science, Technology, Engineering
MANUAL FOR RX700 LR and NR
MANUAL FOR RX700 LR and NR 2013, November 11 Revision/ updates Date, updates, and person Revision 1.2 03-12-2013, By Patrick M Affected pages, ETC ALL Content Revision/ updates... 1 Preface... 2 Technical
Programming LEGO NXT Robots using NXC
Programming LEGO NXT Robots using NXC This text programming language derived from C language is bended together with IDE BricxCC on standard firmware LEGO Mindstorms. This can be very convenient for those,
Introduction Configuring Your HP Mouse Batteries Replacing the Batteries Mouse Sensor Technology Navigating the HP Mouse Control Center
Introduction Congratulations on your purchase of an HP mouse. This mouse is the latest in a wide range of computer peripherals manufactured by HP. It is designed to provide you with the highest level of
Can Traffic Accidents be eliminated by Robots?
Can Traffic Accidents be eliminated by Robots? Elementary Science and Technology Grade 7 Teaching- learning Module for Unit Light and Sound Abstract This modules leads to a decision making activity related
Autonomous Advertising Mobile Robot for Exhibitions, Developed at BMF
Autonomous Advertising Mobile Robot for Exhibitions, Developed at BMF Kucsera Péter ([email protected]) Abstract In this article an autonomous advertising mobile robot that has been realized in
Building Instructions: Maze Robot
Building Instructions: Maze Robot Basic Design from: Building Robots with Lego Mindstorms Modifications by: David Wang Diagrams and Instructions by: David Wang Diagrams and Instructions generated by: MLCad,
Congratulations for making the decision to become one of the many proud KT-X robot owners.
Congratulations for making the decision to become one of the many proud KT-X robot owners. The following quick start guide will enable to get your KT-X up and running in as little time as possible. Before
POWER NETWORK. 800-02577-iPcams 2/10 Rev. A
POWER NETWORK Total Connect Online Help Guide for: ip Cameras ipcam-wi Camera ipcam-pt Pan and Tilt Camera 800-02577-iPcams 2/10 Rev. A POWER NETWORK ip Cameras Online Help Guide This guide covers the
Laser Calibration Check
Laser Calibration Check Checking Calibration of the Y- and X-Axes 1. Set up the tripod 30 m (100 ft) from a wall and make sure the tripod head is leveled. 2. Attach the laser to the tripod with the handle
