Carnegie Mellon Intro to Programming VEX IQ
Getting Started (Completed as Guided Lesson)
System Configuration
1) About VEX IQ (3 Questions)
A1: Attach rechargeable battery to Clawbot (Classroom demonstration)
2) Updating VEX IQ System Firmware SKIP THIS SECTION
3) Downloading ROBOTC Firmware (3 Questions)
If you are having problems with your robot follow these steps:
Download the Firmware
2. Unplug the USB cable and plug it in again
3. Turn off/on your robot
4. Remove then replace the battery
5. Check your program to be sure that you are using the correct Motor or Sensor port and check the Motors and Sensor Setup to be sure you have selected the Clawbot IQ with Sensors
6. Run the VEXos Utility (If you do not know what this is ask Mr. Merrill)
7. Ask Mr. Merrill for help
A1: {Video} Turn on Clawbot
A2: {Video} Download ROBOTC firmware
A3: {Video} Turn off Clawbot
A4: Remove battery from Clawbot and show Mr. Merrill where to place battery for charge
Your First Program (Physical Robot)
1) Writing Your First Program (5 Questions)
A1: {Video} Create and save the program MovingForward to the appropriate folder. Ask Mr. Merrill to set up your folder.
2) Downloading and Running (5 Questions)
A1: {Video} Download and run the program MovingForward to the Clawbot at your computer tethered and on top of a cube to prevent movement (Ask Mr. Merrill for a cube)
A2: {Video} Download and run the program MovingForward untethered on one of the competition tables
3) Motors and Sensors Setup (5 Questions)
A1: {Video} Follow the video and be sure to select the Clawbot IQ With Sensors. You will not need to do anything else, since we are not using a custom robot. Show Mr. Merrill that the IQ with Sensors is selected. It should look like the picture below:
Your First Program (Virtual Robot)
1) Writing Your First Program SKIP THIS SECTION
2) Downloading Your First Program (3 Questions)
A1: {Video} Log in by clicking Login As Guest (Show Mr. Merrill that you have logged in)
A2: {Video} Run the program MovingForward on the virtual robot using the First Program Challenge.
3) Camera Controls in the Virtual Worlds (2 Questions)
A1: {Video} Go to First Program and click and drag to adjust the camera to show Mr. Merrill the front of the clawbot.
4) Measurement Toolkit (5 Questions)
A1: {Video} Go to First Program and make 3 markers then clear them.
Movement
Expedition Atlantis SKIP THIS SECTION
Moving Forward
1) Introduction With Sensabot (3 Questions)
2) Robot Configuration Skip This Section
3) Moving Forward (3 Questions)
A1: {Video} Create and run the program Forward3Rotations on the physical robot
A2: {Video} Run the program Foward3Rotations on the virtual robot using the Moving Forward Challenge
A3: Mini Challenge 1 Create and run the program MoveDistance the Clawbot moves a specific distance (Ask Mr. Merrill to choose a distance for you)
A4: Try It 1! Create and run the program MoveBackwards on the physical robot
A5: Try It 2! Change the program Forward3Seconds in seconds instead of rotations and run on the physical robot
A6: Try It 3! Change the program ForwardSpeed to run for 3 seconds at 25 speed. Then add another program block to run at 50 speed for 3 seconds. MAKE THIS AS ONE PROGRAM!
4) Arm Control (3 Questions)
A1: {Video} Create and run the program ArmControlUp on the physical robot. The arm will raise but will fall due to its weight. There should only be one motor block in this program!
A2: {Video} Run the program ArmControlUp on the virtual robot using the Arm Control Challenge.
A3: {Video} Modify the program ArmControlUD to raise the arm and lower it back to its original starting position on the physical robot.
A4: Try It 1! Modify the program ArmControlLED in activity 5 with three setTouchLEDColor commands with three different colors and run on the physical robot. The directions are a bit strange but the program should start with the touch LED showing a color, raise up the arm, show another color, on the LED, lower the arm, and show another color on the LED. Also, I think moving forward you should be using seconds instead of degrees or rotations for both the ArmMotor and the ClawMotor. I have given you the correct amount of seconds to raise the arm to its furthest point and to bring it back back down.
You should always use negative or postive power when changing the direction of a motor!!! Never use negative rotations.
A5: Create and run a program called ClawMotor to open and close the clawMotor. Use the MoveMotor command set to use seconds. In order to make the gripper open and close use positive and negative power. See the picture below to know what to use.
A6: Mini Challenge 3: Cargo Transport Create and run the program Cargo Transport to make the clawbot grab a cube set in front of it, raise up the cube, drive out to a distance (ask Mr. Merrill to assign you a distance), lower the cube, and release its grip. The arm will start in the lowered position with the claw open.
5) Moving Forward Review Skip This Section
C) Sensabot Challenge
A1: Create and run the program SensabotV with the Virtual Robot using the Sensabot Challenge
A2: Modify the program Sensabot for the physical robot (Ask Mr. Merrill for the Sensabot Challenge distances)
Turning
1) Introduction with Orchard Tractor (2 Questions)
2) Robot Configuration Skip This Section
3) Turning in Place (2 Questions)
A1: {Video} Create and run the program TurningInPlace using 2 rotations
A2: Try It! 1Modify the program TurningInPlace to turn left using 2 rotations (2 Questions)
A3: Try It! 2 Modify the program TurningInPlace to turn right 270 degrees (2 Questions)
A4: Mini Challenge 1: 90 Degree Challenge Create and run the program 90DegTurnRight that turns the Clawbot 90 degrees to the right
A5: Mini Challenge 1: 90 Degree Challenge run the program 90DegTurnRight from activity 4 on the virtual robot using the 90 Degree Challenge.
A6: Modify the program 90degTurnLeft so the Clawbot turns 90 degrees left
4) Turning Review Skip This Section
C) Orchard Challenge
A1: Create and run the program OrchardChallenge on the virtual robot. Be sure to use the Orchard Challenge Classic 2.0. Use the Autopilot IQ robot for this challenge (Look at the pictures below)! You can change the power in the Forward Block to 100 to make the challenge go faster.
Click the ROBOTS button
Select the Autopilot IQ Robot
Be sure to change your Motor and Sensor setup for the Autopilot robot
Ruins of Atlantis SKIP THIS SECTION
Sensors
Forward Until Touch
1) Introduction to Touch Sensor (2 Questions)
2) Robot Configuration Skip This Section
3) Move Until Touch (3 Questions)
A1: {Video} Create and run the program MoveUntilTouch on the physical robot.
The Carnegie Mellon website likes to use the SetMultipleMotors block to power the motors on and wait until the touch sensor is pushed. However, you do not need to use it if you are only powering on one motor. If you are only powering on one motor like the arm motor or claw motor, then you can use the SetMotor block instead:
A2: Try It 1! Create and run the program ColorBumper that runs the clawbot until the touch sensor is pushed. The LED starts with Green and changes to RED when the touch sensor is pressed.
A3: Try It 3! Create and run the program FwdUntilRelease that runs the clawbot with your finger pressing up against the touch sensor. Remove your finger to stop the clawbot.
A4: Mini Challenge 1 Vacuum Challenge Create and run the program Vacuum on the physical robot (Ask Mr. Merrill where to do the challenge)
A5: Boolean Logic: Comparison Operators copy the following chart in your composition notebook. You do not need to copy the Sample Comparison or Result column.
i) Big Idea #1 and #2 (5 Questions)
4) Review Skip This Section
C) Touch Sensor Challenge Create and run the program ArmPositionChallenge on the physical robot that has the clawbot (ask Mr. Merrill to assign you a distance) collect a colored cube and return to the start.
HINT:
Forward Until Near
1) Introduction to Hexarotor (1 Question)
2) Robot Configuration Skip This Section
3) Forward Until Near (1 Question)
A1: {Video} Create and run the program MoveUntilNear clawbot will move forward and stop when it is 500mm from a VEX cube (ask Mr. Merrill to show you where to place it). Remember that the ultrasonic sensor is on the rear of the robot! You will need to put a block on the top of the program to get this program to work. First you will need to click on Window, Menu Level and then Super User:
Then select the setDistanceMaxRange block and place it on top with the settings you see below:
A2: Mini Challenge 1 Threshold Values Create and run the program ThresholdValue clawbot will run and display a different LED color for each distance from a VEX cube (yellow after the 1st distance, blue after the 2nd distance, and red after the 3rd distance) then robot stops. Remember that the ultrasonic sensor is on the rear of the robot! (Ask Mr. Merrill to show you the distances)
A3: Mini Challenge 2 Move Until Far Create and run the program MoveUntilFar clawbot will back away from a VEX cube and stop when it is a certain distance from the cube away. Remember that the ultrasonic sensor is on the rear of the robot! (Ask Mr. Merrill to assign you a distance)
4) Review Skip This Section
C) Dynamic Maze Challenge
A1: Create and run the program MazeChallengeV with the Virtual Robot using the Maze Challenge Classic. Use the Autopilot IQ robot for this challenge! You will need to turn the robot around as your first program block so that the ultrasonic sensor is facing forward.
Click the ROBOTS button
Select the Autopilot IQ Robot
Be sure to change your Motor and Sensor setup for the Autopilot robot
A2: Modify the program MazeChallenge for the Physical Robot (Ask Mr. Merrill where to run this challenge)
Turn For Angle
1) Introduction With Golf Course Mower (3 Questions)
2) Robot Configuration Skip This Section
3) Turn for Angle pt. 1 (2 Questions)
A1: {Video} Create and run the program TurnForAngle clawbot turns to the left slightly more than 90 degrees
4) Turn for Angle pt. 2 (2 Questions)
A1: {Video} Create and run the program TurnForAngleLeft clawbot turns to the left exactly 90 degrees.
A2: Try It 1! Create and run the program RightTurn1 clawbot will turn infinitely to the right.
A3: Mini Challenge 1 Right Turns Create and run the program RightTurn2 clawbot will turn to the right exactly 90 degrees.
A4: Mini Challenge 2 Gyro Lap Modify and run the program RightTurn2 to make the clawbot drive around a box use the virtual robot using Gyro Lap.
A5: Complete Mini Challenge 2 Gyro Lap on the physical robot.
5) Review Skip This Section
C) Golf Course Mower Challenge
A1: Create and run the program MowerChallenge with the Virtual Robot using either Mower Challenge. Use the Autopilot IQ for this challenge just like you did for the Maze Challenge.
Forward Until Color
1) Introduction to Autonomous Motor Vehicles (2 Questions)
2) Robot Configuration Skip This Section
3) Forward Until Red (2 Questions)
A1: {Video} Create and run the program MoveUntilColor clawbot will move forward until it senses a red colored cube (Be sure that the gripper is set to the open position). You will also need to make sure the you change the Color Detector in the Motors and Sensor setup to Color Name like in the picture below:
A2: Try It 1! Color Senses Values Copy the program below and save it as ColorSensorValues. Be sure to change the color detector in the motor and sensor setup to Color Name. Use this program to display the exact color that the color sensor is detecting. Ask Mr. Merrill to explain.
Be sure that the Motors and Sensor setup looks like below:
A3: Mini Challenge 1 Red Light, Green Light, Go! Modify and run the program MoveUntilColor clawbot will wait on the color red VEX cube but move forward when it changes to green. Be sure to place a wait block for 1 second at the beginning of your program. This allows the color sensor to get an accurate reading of your color.
A4: Bonus Modify and run the program MoveUntilColor from Mini Challenge 1 Clawbot will display the color red on the LED when it is stopped and green when it moves forward.
A5: Modify the program from Activity 2 and rename it BlackLineCheck to see what value your color sensor is detecting for the black line of the next challenge (ask Mr. Merrill). Go to the Motors and Sensor Setup and change the colorDetector from Color-Color Name to Color-Greyscale. Be sure to write down the number that is displayed so you know what is considered black.
Be sure that the Motors and Sensor setup looks like below:
Be sure to change the color sensor to GRAYSCALE in Motors and Sensors Setup
A6: Mini Challenge 2 Forward to Stop Line Modify and run the program MoveUntilColor clawbot will move forward until it senses a black line. You will need to have a program line that looks something like this:
A7: Color Names Copy the color names in your composition notebook. Look at the bottom of the Color 3 page!
4) Review Skip This Section
C) Traffic Signal Challenge
A1: Create and run the program TrafficChallengeV with the Virtual Robot using either Traffic Signal Challenge.
A2: Modify the program TrafficChallenge on the Physical Robot. The LED should turn red when stopped and green when driving.
Palm Island SKIP THIS SECTION
Program Flow
Loops
1) Introduction to Container Transporter (1 Question)
2) Robot Configuration Skip This Section
3) Looped Movements (2 Questions)
A1: {Video} Create and run the program MoveLoop clawbot will move back and forth forever in a loop.
A2: Mini Challenge 1: Square Dance Create and run the program SquareDance1 on the virtual robot. Clawbot will move around the box infinitely.
4) Loop With Count Control (3 Questions)
A1: {Video} Create and run the program MoveLoopCount clawbot will move back and forth exactly 5 times.
A2: Try It 1! Changing Loop Count Create and run the program ChangeLoopCount clawbot will move back and forth exactly two times.
A3: Mini Challenge 2: Square Dance 2 Create and run the program SquareDance2 clawbot will go around a VEX cube exactly one time using a loop to repeat each side. You must use a loop count of 4.
5) Loop With Sensor Control (3 Questions)
A1: {Video} Create and run the program MoveLoopDistance Clawbot will move back and forth until an object is placed in front.
A2: Try It 1! Repeat Until Touch Sensor Create and run the program RepeatUntilTouch clawbot will move back and forth on a loop until the touch sensor is pressed.
A3: Mini Challenge 1: Square Dance 3 Create and run the program SquareDance3 on the virtual robot. Clawbot will move around a VEX cube and stop when it senses an object. Be sure to use the Obstacle Detection Clawbot.
i) Big Idea #3 (3 Questions)
6) Review Skip This Section
C) Container Transporter Challenge
A1: Create and run the program ContainerChallenge on the virtual robot using Container Handling Classic (Be sure to select the Line Following Clawbot) . The clawbot will grab 3 cubes and return them to the designated area. You must use the gyro sensor for your turns!
If/Else
1) Introduction to Strawberry Plant Sorter (1 Question)
2) Robot Config SKIP THIS SECTION
3) Turn If Blocked (2 Questions)
A1: {Video} Create and run the program MoveIfClear clawbot will turn right if there is an object in front of it or move forward when there is no object in front. The distance sensor is in the back of the robot, so backwards means forward.
A2: Mini Challenge 1: Color Sensor Comparison Create and run the program ColorComparison clawbot will turn right if it detects the color GREEN and turn left for any other color. Be sure to place a wait block for 1 second at the beginning of the program.
4) Looped Decisions (1 Questions)
A1: {Video} Create and run the program MazeRunner clawbot will move forward if there is a clear path in front or turn right when there is an abject in front. Use 300mm instead of 500mm. Remember, that the ultrasonic sensor is on the back of the robot. That means that forward on your robot is actually backward! Change the amount of forward rotations to 1 instead of 3.
A2: Try It! 1: Smarter Maze Solver Create and run the program SmarterSolver clawbot will use LEDs to show movement (GREEN for forward and RED for turn right) and the program should terminate after 10 moves. Remember to Change the amount of forward rotations to 1 instead of 3.
A3: Mini Challenge 1: Tiles Maze Create and run the program TiledMaze on the virtual robot. The clawbot will move through a maze to the exit. Use the Autopilot IQ robot for this challenge! Change the amount of forward rotations to .5 instead of 3.
Click the ROBOTS button
Select the Autopilot IQ robot
Be sure to change your Motor and Sensor setup for the Autopilot robot
5) Review Skip This Section
C) Strawberry Plant Challenge
A1: Create and run the program StrawberrySorter with the Virtual Robot using Strawberry Plant Classic. The clawbot sorts 4 colored cubes. GREEN is good and sorted to the right, and any other color is bad and sorted to the left. Be sure to use the Clawbot IQ Obstacle Detection robot! In the Motor and Sensor setup it is called RVW Clawbot IQ. When you select the color sensor, be sure to select colorDetector and not clawColorDetector.
Repeated Decisions
1) Introduction With Autonomous Tractor (1 Question)
2) Robot Config SKIP THIS SECTION
3) Obstacle Detection Failures (4 Questions)
A1: {Video} Create and run the program ObstacleAttempt1 on the physical robot. Clawbot will move 4 rotations whether there is an obstacle or not. Remember that the ultrasonic sensor is on the rear of the robot so your robot will need to travel backwards and not forward.
A2: {Video} Modify the program from Activity 1 and rename it ObstacleAttempt2 and run on the physical robot. Clawbot stops at an object but ignores the encoder value in the repeat block. Remember that the ultrasonic sensor is on the rear of the robot! You will not be able to copy the program from the video, since the clawbot will be moving backwards. The motor encoders will be rotating backwards, which means that they will be producing degrees that are negative. Also remember that negative numbers are less than zero!
4) Obstacle Detection (3 Questions)
A1: {Video} Create and run the program ObstacleDetection on the virtual robot Clawbot will move 1440 degrees (4 rotations) or stop if there is an object in front of its path. Use the Obstacle Detection Challenge on the virtual brick Be sure to use the autopilot robot!
A2: {Video} Create and run the program ObstacleDetection on the physical robot. Clawbot will move 1440 degrees (4 rotations) or stop if there is an object in front of its path. Remember that the ultrasonic sensor is on the rear of the robot! You will not be able to copy the program from the video, since the clawbot will be moving backwards. The motor encoders will be rotating backwards, which means that they will be producing degrees that are negative. Also remember that negative numbers are less than zero!
A3: Mini Challenge 1: Obstacle Detecting Until Black Line modify and rename the program from Activity 2 to DetectUntilBlack. Clawbot will move forward 1440 degrees (4 rotations) or stop when the color sensor detects a BLACK line. Ask Mr. Merrill to modify your clawbot to have the color sensor facing down. Furthermore, be sure to set your color detector to grey scale and use the color reader program to find the number that represents black. Remember to add 5 to that number and any number less than that number will be black. You can find the directions for this above in Forward Until Color Activity 6. For this activity the clawbot will now be moving forward, since it will not be using the ultasonic sensor.
5) Review Skip This Section
C) Obstacle Orchard Challenge
A1: Create and run the program ObstacleOrchard with the Virtual Robot using Obstacle Orchard Classic 2.0. The clawbot negotiates the maze and will stop for any object it encounters along the way. It will continue along its path once the object is removed. Use the Autopilot IQ robot for this challenge! You can find the directions in Looped Decisions 4 Activity 3. You will need to use the ResetMotorEncoder command in order to complete this challenge. You will need to use this code before you each repeated decision used to travel along each side of the orchard.
Line Tracking
1) Introduction with AMTS (2 Questions)
2) Robot Config SKIP THIS SECTION
3) Line Tracking (3 Questions)
A1: {Video} Create and run the program LineTracking on the physical robot. Ask Mr. Merrill to show you where to run the program and be sure the color sensor is facing downwards.
A2: {Video} Run the program LineTracking on the virtual robot using Line Tracking and select Point A. Be sure to use the Clawbot IQ-Line Tracking robot.
A3: Try It! 1 Right Edge Line Tracking. Modify and run the program LineTracking to track the right edge of the line on the virtual robot using the Try It: Line Tracking challenge and select point A. Be sure to use the Clawbot IQ-Line Tracking robot.
A4: Try It! 2 Line Tracking Threshold Part 1. You will need the program you created called BlackLineCheck. If you do not have this program, you will need to create it again. You will find the directions in the Forward Until Color section (Specifically Activity 2 and Activity 5). Follow the directions on this page to determine your Threshold Value. Be sure to show your work and be prepared to show Mr. Merrill your black and white values!
A5: Try It! 2 Line Tracking Threshold Part 2. Modify and run the program Line Tracking using the threshold value you found from activity 3.
A6: Try It! 3 Turning Ratio. Modify and run the program LineTracking on the virtual robot using the Try It: Line Tracking challenge and select Point B. Be sure to use the Clawbot IQ-Line Tracking robot. You will need to complete part 1 and part 2 to get credit for this assignment. Be prepared to show Mr. Merrill both program parts.
A7: Mini Challenge 1: Line Track for Distance. Create and run the program LineTrackDistance on the physical robot. Be sure to check your threshold value before running this program.
4) Review Skip This Section
5) Line Tracking Challenge
A1: Create and run the program LineTrackingChallenge on the virtual robot using the Line Tracking Classic Challenge. Be sure to use the Clawbot IQ-Line Tracking robot. The robot must never leave the line and cannot go down the wrong path!
Search & Rescue SKIP THIS SECTION
Direct Control
Remote Control
1) Introduction to Remote Control (1 Question)
2) Robot Config
A1: {1st Video} Check to see if your robot is paired to the controller (The numbers for the controller and robot must match). Turn on both the robot and the controller. Press Driver Control and then Run to control the robot. Show Mr. Merrill. Do not run your robot near you computer. Be sure to run it on a experiment tables!
A2: [2nd Video} Follow the instructions to calibrate the controller. The instructions on the video are a little outdated. Just follow the instructions on the VEX IQ screen. When it makes a sound, you have calibrated the controller. Ask Mr. Merrill for a tether cable.
3) Remote Control Values (4 Questions)
4) Driving Control (3 Questions)
A1: {Video} Create and run the program DrivingControl. Drive the clawbot forward, backward, and turn. Be sure to select Teleop Pgms on the VEX IQ brain to run your program.
A2: Try It 1! Arcade Control Create and run the program ArcadeControl. the remote control should now control clawbot motion forward, backward, and turning in arcade mode.
A3: Try It 2! Repeat Until Timer Value Create and run the program RepeatUntilTimer drive the clawbot around the maze from start to finish in 60 seconds. You must complete the maze in 60 seconds (if you have a partner, they must complete the maze as well).
A4: Joystick Sensitivity modify the program DrivingControl (from Activity 1) and change the sensitivity to 50 and then 25.
5) Arm Control (3 Questions)
A1: {Video} Create and run the program DrivingControlArm The remote control should now control the clawbot arm.
A2: Try It 1! Arm Speed Control Create and run the program ArmSpeedControl. Adjust arm speed values to 25, 50, and 100.
A3: Mini Challenge 1 Claw Control Create and run the program RemoteClawControl. The remote control should now control the claw motor.
A4: Mini Challenge 2 Wait For Button Press Create and run the program WaitForButtonPress. Program should begin with the touch LED showing RED. Once pressed, the touch LED should turn to green and the clawbot will be ready to be driven by the remote control.
6) Review Skip This Section
7) Cube Disposal Challenge
A1: Physical Robot You control the clawbot to retrieve colored cubes and place them in the their proper color zone. In order to pass this challenge, you must have placed at least one cube from each color in its proper zone. You will also need to stack the blue cube on top of another cube. Use Cube Disposal Challenge 1 for this activity.
1) Introduction to Operator Assist (3 Questions)
2) Robot Config Skip This Section
3) Driving Assistance (4 Questions)
A1: {Video} Create and run the program DrivingAssitance.
A2: Try It! 1 LED Feedback Modify the program in activity 1 and rename it LEDFeedback. Run the program on the physical robot. The robot will display a different color on the Touch LED for different parts of your program.
A3: Mini Challenge 1: Backward Driving Assistance Create and run the program Backwards on the physical robot. The robot will move backwards if the F(Down) button is pressed, forward if the F(Up) button is pressed, or normal joystick use if none of those buttons are pressed.
A4: Mini Challenge 2: Full Button Control Create and run the program FullButtonControl on the physical robot to navigate a maze. Ask Mr. Merrill to to show you where to run the program.
4) Automatic Pickup (2 Questions)
A1: {Video} Create and run the program AutomaticPickup. Drive the clawbot in front of a VEX cube with the arm down and the claw open, then press a button on the remote control to run a program that will pick up the cube and store it on its rack. Do not worry about using the ultrasonic sensor.
A2: Try It! 1 Modify the program from activity 1 and rename it LEDFeedbackAP. The clawbot will display 3 different colors based on the actions of the program.
A3: Mini Challenge 1 Advanced Automatic Pick Up Modify the program from activity 2 and rename it AdvAutomaticPickup. Automatic pick up program will only work, if the arm is down and the claw is open.
5) Review Skip This Section
6) Cube Disposal Challenge Level 2 NO NEED TO WATCH THE VIDEO! I HAVE A DIFFERENT CHALLENGE FOR YOU. Ask Mr. Merrill to show you where the challenge is and what you will need to do to complete it.
Final Challenge
1) Search and Rescue Challenge (You must use the gyro for all turns!)
A1: Program 1- Fire Room (Use Try It! Search and Rescue on the Virtual Brick. For the Fire Room select Point B. Here are the actions the robot must make:
Robot detects fire
Robot backs over it to put out the fire
Robot detects that the fire is extinguished
Robot exits the fire room and enters the next room
A2: Program 2- Clear Room and Fire Room in one program (Use Try It! Search and Rescue on the Virtual Brick. For the Fire Room select Point B and for the Clear Room select Point A. Your program must use an If/Else block and work for both rooms! Do not use a loop.)
Robot detects that fire is not in the room
Robot displays the color Orange on the touch LED
Robot exits the room and enters the next room
OR
Robot detects fire and follows the program from Activity 1
A3: Program 2- Rescue Room (Use Try It! Search and Rescue on the Virtual Brick. For the Rescue Room select Point C)
Robot detects the survivor
Robot uses arm to lift the survivor and stores it in the back of the robot
Robot exits the rescue room and enters the next room
A4: Program 3- Walled Room and Rescue Room in one program (Use Try It! Search and Rescue on the Virtual Brick. For the Rescue Room select Point C and for the Walled Room select Point D) Your Program must use a switch to know the difference between each room! Do not use a loop.
Robot detects collapsed wall
Robot drives around obstacle
Robot exits the room and enters the next room
OR
Robot detects the survivor and follows the program from Activity 3
A5: Virtual Robot Final Challenge (Combine activity #2 and Activity #4 to complete this challenge) Use either Search and Rescue Challenges on the Virtual Brick. Be sure to use 25% power for your turns to make them more accurate. Program must use a loop to complete all of the rooms!
High Rise
1) Basic Movement 1
A1: To access the Highrise program you will need to set it up within the Graphical ROBOTC program. First click on Robot>Compiler Target>Virtual Worlds. Then Window>Select Virtual World to Use>VEX IQ Highrise and Beltway. When you Download to Robot the Highrise Virtual World program will start. Just log in as normal and follow the instructions. Show Mr. Merrill that you are logged in to Highrise.
A2: Follow the instructions and create the program BasicMovement1. Within the Highrise Virtual World program select training. The instructions for this challenge can be found by clicking the blue paper link to view the PDF file (shown below). The clawbot will need to grab the GREEN cubes and place them in the goal.
2) Basic Movement 2
A1: Follow the instructions and create the program BasicMovement2. The instructions for this challenge can be found by clicking the blue paper link to view the PDF file. Clawbot will pick up the cube, navigate the maze, and drop the cube in the goal.
3) Sensors 1: Touch
A1: Follow the instructions and create the program Sensor1Touch. The instructions for this challenge can be found by clicking the blue paper link to view the PDF file. Clawbot will pick up each cube, use the touch sensor to detect goals, and drop cubes in the goal. 4) Sensors 2: Distance
A1: Follow the instructions and create the program Sensor2Distance. The instructions for this challenge can be found by clicking the blue paper link to view the PDF file. Clawbot will detect each cube with the distance sensor, pick them up and drop them into the goals.
5) Sensors 3: Gyro
A1: Follow the instructions and create the program Sensor3Gyro. The instructions for this challenge can be found by clicking the blue paper link to view the PDF file. Clawbot will use the gyro sensor to turn as it picks up the three cubes and drops them off into the goals.
6) Sensors 4: Color
A1: Follow the instructions and create the program Sensor4Color. The instructions for this challenge can be found by clicking the blue paper link to view the PDF file. Clawbot will move forward until the color sensor detects the RED cube, pick it up, and drop it off in the goal. Be sure to use the Clawbot IQ for this challenge!!!
7) Sensors 5: Lines
A1: Follow the instructions and create the program Sensor5Lines. The instructions for this challenge can be found by clicking the blue paper link to view the PDF file. Be sure to select the the Omniplow IQ robot for this activity. Omniplow will use the downward facing color sensor to move forward past 2 black lines, turn right, move forward past 1 black line, turn left, and move forward to the goal. Be sure to set the color sensor to gray scale. The grey scale value for the color black is 85.
8) Highrise Challenge
A1: Choose a robot, create and run a program that scores at least two cubes on Highrise Bases before time expires. You will not be able to use the remote control for this challenge.