rvw getting started

Upload: rizaldy-rohimawan-santoso

Post on 07-Apr-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/3/2019 Rvw Getting Started

    1/141

    Quickstart Guide - ROBOTC 3 Robot Virtual World Programming

    ROBOTC 3 has numerous improvements designed to make programming easier for new program-mers including the Robot Virtual World (RVW) Simulation Tool. This document is designed to helpyou to learn how to use the RVW Simulation Tools. The document has lots pictures and step-by-stepinstructions. If there is something in the document that is unclear please forward your comments

    and questions to [email protected] so that we can answer your question and improve the guide.

    The guide is divided into the following sections:Download, Install, and Open ROBOTC 3 - Page 2

    Step One - Download and Install Software

    Step Two - Open ROBOTC 3

    Managing Licenses in ROBOTC 3 - Page 4Step One - Open Manage LicensesStep Two - Select Manage LicensesStep Three - Add Another LicenseStep Four - Select the New License Type

    Step Five - Create a Desktop IconStep Six - Activating Your License

    Download Robot Virtual World Level Packs - Page 7 Step One - Go to the Robot Virtual World Website

    Step Two - Select and Download the New Robot Virtual World

    Conguring ROBOTC to Run the Robot Virtual World Software - Page 8Step One - Select Your Robot Platform TypeStep Two - Select Your Compiler TargetStep Three - Select the Robot Virtual WorldStep Four - Open a Sample ProgramStep Five - Download the Program to the Virtual RobotStep Six - Select the Robot Virtual World Challenge

    Step Seven - Test Your Code

    Navigating the Robot Virtual World Simulator Interface - Page 14

    Once you have downloaded and in-stalled any version of ROBOTC 3.x, youhave everything you need (NXT andCortex drivers excluded). No Additionaldownloads of ROBOTC software arerequired; in fact, dont try to download

    and install additional versions ofROBOTC or you will be greeted with theerror message at the left.

    If you want to add additional platformtypes or ROBOTC follow the directionsfound in the Managing Licenses sectionof this document

    Error 1316

  • 8/3/2019 Rvw Getting Started

    2/14

    2

    Download, Install, and Open ROBOTC 3.0

    Step One - Download and Install Software

    To use the Robot Virtual World software you must download ROBOTC 3.0. You can download a

    60 day trial fully functional trial version at:www.robotc.net/rvw.

    Pictured below are screenshots that are found at thewww.robotc.net/rvwwebsite. Select theversion that you would like to download; LEGO or VEX. Follow the directions that you typicallyfollow to download and install software. The shots below show examples of they types of screensthat you will nd when using Mozilla Firefox or Explorer. For best results, allow the installer to installthe program in the directory that ROBOTC wants to install the software into.

    A screen shot from Mozilla Firefox

    A screen shot from Explorer

  • 8/3/2019 Rvw Getting Started

    3/14

    3

    Step Two - Open ROBOTC 3.0

    Open ROBOTC 3 and nd the start page. If your computer is connected to the Internet

    the live start page willprovide you with the latest updates for ROBOTC as well as links toforums, training materials and support. The live start page is modied regularly by ROBOTCdevelopers. You can also nd help at the ROBOTC forums -www.robotc.net/forums.

    Pictured below are the opening screens for ROBOTC for Mindstorms and ROBOTC for VEXCORTEX and PIC Start Pages.

  • 8/3/2019 Rvw Getting Started

    4/14

    4

    Managing Licenses in ROBOTC 3.0

    Step One - Open Manage LicensesWhen youve installed ROBOTC 3.0 you have also installed the engine to run the Robot Virtual Worldssoftware. In order to access the RVW software you need to use ROBOTCs License Management system.To access the License Management System select Help/Manage Licenses. See below.

    Step Two - Select Manage LicensesPictured below is the ROBOTC License Management interface that pops up when you select ManageLicenses. In this example, we downloaded a 30 day trial-license of ROBOTC for LEGO MINDSTORMSand the management system shows that we are in Trial Mode.

    Select Help and a dropdown menu appears. SelectManage Licenses.

    In this example we downloaded a trialversion of ROBOTC for MINDSTORMS. Themanagement system shows that the licenseis in trial mode and that the license has 30days left on the trial

    Select Add License to add another ROBOTCproduct to your computer.

  • 8/3/2019 Rvw Getting Started

    5/14

    5

    Step Three - Add Another LicenseThis system will allow you to quickly add different features that are already built into your version of

    ROBOTC. Adding more products creates additional ROBOTC Platform Types.

    Step Four - Select the New License Type

    Begin by selecting Add License.When you select Add License thehighlighted box above appears.

    Select the drop down arrowand scroll down to the type oflicense that you want toactivate. In this example we haveselected ROBOTC Virtual Worldsfor MINDSTORMS.

    Select Start Trial to begin usingthe software.

    ROBOTC automaticallyinstalls the new license andyou are ready to run yoursoftware.

  • 8/3/2019 Rvw Getting Started

    6/14

    6

    Step Five - Creating a Desktop Icon

    If you select Create Desktop IconROBOTC will automatically place anew Icon on your desktop.

    Congratulations! You are now readyto begin programming with your newRobot Virtual World using software!

    If you have purchased ROBOTC andhave the License ID and the Password,then you would enter it here toactivate you software.

    To get to this screen you select -Help/Manage Licenses/Add License

    Step Six - Activating Your License

  • 8/3/2019 Rvw Getting Started

    7/14

    7

    New Level Packs for Robot Virtual Worlds will be released on a regular basis. We are committed todeveloping new Virtual World programming sandboxes designed to give students new programmingchallenges. The process for downloading and using a new virtual world is shown below.

    Step One - Go to the ROBOTC RVW WebsiteGo towww.robotc.net/rvwand select Download Robot Virtual Worlds.

    Step Two - Select and Download the New Robot Virtual WorldPictured below are two example Robot Virtual Worlds, there are many other worlds available.

    Select Download and followthe installation instructions. Thenew world will be installedinto the same folder thatROBOTC was installed into.This enables ROBOTC tond the new RVW the nexttime that you open your

    software.

    Download Robot Virtual World Level Packs

    Note - You can skip this step and use the RVW that arealready installed with ROBOTC 3 or you can downloadone of the level packs below

  • 8/3/2019 Rvw Getting Started

    8/14

    8

    Step One - Select Your Robot Platform TypeROBOTC works on multiple platform types and needs to know what platform type that it will target.

    The checkmark at the leftshows that the LEGOMINDSTORMS NXTplatform has been selected.

    Select Robot/Compiler Targetand then select Virtual Worlds.

    Step Two - Select Your Compiler TargetROBOTC targets both real robots and virtual robots, you need to tell it which type of robot that you

    want to program.

    The checkmark at the leftshows that the VEX 2.0 Cortexplatform has been selected.

    Conguring the Robot Virtual World Software

  • 8/3/2019 Rvw Getting Started

    9/14

    9

    Step Three - Select the Robot Virtual World

    Every version of ROBOTC 3 comes with the ROBOTC Curriculum Challenge Preview already loadedwith the software. There are currently over 40 RVW programming challenges. When you downloadand install a new RVW Level Pack ROBOTC will automatically add the new RVW into the

    Select Virtual World menu.

    The checkmark at the leftshows that the ROBOTCCurriculum ChallengePreview has been selected.

    The checkmark at the leftshows that Palm Islandhas been selected.

  • 8/3/2019 Rvw Getting Started

    10/14

    10

    Step Four - Open a Sample ProgramROBOTC 3.0 contains over 100 fully commented sample programs enabling you to beginprogramming the RVW immediately.

    Select Open Sample Program and a menu with folders willopen like what is shown below. Each folder contains fully

    commented sample programs. The rst set of sample programsare for the LEGO platform, the second set is for VEX.

    Pictured above are several NXTMotor Example programs.

    Picture below are two folders of sampleprograms. The top folder labeled VEXis for the PIC controller and the VEX2folder is for the Cortex controller.

  • 8/3/2019 Rvw Getting Started

    11/14

    11

    Step Five - Download the program to the Virtual RobotSelect Robot/Compile and Download Program or press F5 to upload the software to the robot.

    ROBOTC Curriculum ChallengesPreview - contains two sample RVWs.

    ROBOTC Curriculum ChallengesPack - 30 programming challengesthat align with the challenges inthe ROBOTC curriculum.

    Above - Bowled OverFTC Robotics ChallengeBelow - VEX Gateway Challenge

    Palm Island - the rst of six islandchallenges that will be releasedthis year.Other challenges that wevemodeled and will release includean Ice World, Desert World, CaveWorld, Underwater World, FutureWorld, and Planet H99.

    Pictured below are examples ofscreens that may pop up once

    you have compiled and down-loaded your program.

    The screen that pops up willdepend on the Robot VirtualWorld that youve selected torun your robot in.

  • 8/3/2019 Rvw Getting Started

    12/14

    12

    Step Six - Select the RVW Challenge

    Pictured directly below are a set of screen shots from the Curriculum Challenge Pack. We haveselected the Labyrinth Challenge. If ROBOTC is congured correctly, when you download your codethe RVW automatically pops to the front of ROBOTC and you are ready to use the RVW simulator.

    The example below shows what pops upif the Labyrinth Challenge is selected.

    Once the challenge is selected a new screen will pop up that contains: a description of the challenge,where to nd reference materials, and a link to a PDF that describes the challenge.

  • 8/3/2019 Rvw Getting Started

    13/14

    13

    Step Seven - Test Your CodePictured below is the RVW simulation screen. To run the code select Begin Activity.

    Select Begin Activity

    Press the Blue Arrow Button and your robot willbegin executing the code.

    Note: To edit the code select the programming area of ROBOTC and the virtualsimulation screen will disappear. Select Download and Compile to run the codeagain.

  • 8/3/2019 Rvw Getting Started

    14/14

    Using the RVW Simulator Interface

    Press the blue arrow button to execute the code.

    Press the Green Return button to restart the robot.

    Select the Home button to return to the challenge selection menu.

    Camera 1 Over the robots shoulder, use mouse to adjust.

    Camera 2, Top down xed view.

    Camera 3, User dened by scrolling the mouse.