> Other ways to navigate space

Slides:



Advertisements
Similar presentations
Theory of Computer Science - Algorithms
Advertisements

: "therm" = "naut, naus, nav" heat, temperature Relating to boats.
Anchoring in Designated Position
The Navigation Problem Trigonometry Mr. Brennan A plane flies for 2.25 hours (from an airport) at a speed of 240 km/hr Then on a course of 300 degrees.
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Repetition Structures
Navigating the BOE-BOT
The following program will assist you in the areas of Navigation. Choose from below to see the examples graphically illustrated. Running Fix Course Made.
Μαθαίνοντας Python [Κ4] ‘Guess the Number’
Autonomy using Encoders Intro to Robotics. Goal Our new task is to navigate a labyrinth. But this time we will NOT use motor commands in conjunction with.
Agenda Control Flow Statements Purpose test statement if / elif / else Statements for loops while vs. until statements case statement break vs. continue.
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Continuous February 16, Test Review What expression represents the zip car eligibility rules of at least 18 years old and no incidents?
ASP.NET Programming with C# and SQL Server First Edition Chapter 3 Using Functions, Methods, and Control Structures.
Simple Pi Challenge! Pi = 3.14 Diameter = 5.6 cm Distance Robot Travels in 1 Rotation = 3.14 * 5.6 cm 3.14 * 5.6 = cm Circumference = Pi * Diameter.
Lesson 6: Magnetic and Gyrocompasses. Lesson 9: Magnetic and Gyrocompasses  AGENDA: –Directional reference systems –The Magnetic Compass –Digital Flux.
Design of Bio-Medical Virtual Instrumentation Tutorial 2.
BEGINNING PROGRAMMING.  Literally – giving instructions to a computer so that it does what you want  Practically – using a programming language (such.
Find the Mindstorms Icon on the computer.. To start a new program click go.
Game Maker Galactic Mail Advanced Group: Complete Galactic Mail, then start developing an independent project.
ABL-10 Piloting and Navigation Instructor: George Crowl.
Navigation NAU 102 Lesson 18.
Navigation NAU 102 Lesson 1.
Navigation NAU 102 Lesson 20.
SAT Math Scores. Travel Time to Work In repeated sampling, the average distance between the sample means and the population mean will be about
Rating as defined on STCW Code, means a member of the ship's crew
Working with Data Blocks and Frames
Mile-long hurdle race Suppose that we want to program Karel to run a one-mile long hurdle race, where vertical wall sections represent hurdles. The hurdles.
Chapter Eight: Work 8.1 Work 8.2 Efficiency and Power.
Sensors Quadrature Encoders Mike Zook 30-Aug-2016.
Word List: naut, naus, nav
Programming and File Management Part 2
Some Eclipse shortcuts
Dual Races & Small Regattas
Sensors Quadrature Encoders Mike Zook 30-Aug-2016.
Some features of a Stairlift
How to Run a Declared Audit
The order in which statements are executed is called the flow of control. Most of the time, a running program starts at the first programming statement,
Web Programming– UFCFB Lecture 16
Agenda Control Flow Statements Purpose test statement
Indent markers In some cases, you may want to have more control over indents. Word provides indent markers that allow you to indent paragraphs to.
Autonomy using Encoders
Warm-Up 11/13/12 COPY and ANSWER the following questions on p. 38 in your INB. (Use pgs in your textbook for help) What is the difference between.
Shaw STEM Lab
Running a Declared Audit
While Loops and If-Else Structures
Navigation In Dynamic Environment
INTERMEDIATE PROGRAMMING LESSON
Noun Suffixes: -ship, -ment, -ity
Noun Suffixes: -ship, -ment, -ity
Earth and its coordinates
INTERMEDIATE PROGRAMMING LESSON
Welcome to the United States Power Squadrons' Chart Smart Seminar
Mission #1 > Find The Middle.
Page Setup MOAC Lesson 5.
Algorithms Take a look at the worksheet. What do we already know, and what will we have to learn in this term?
Logical Operations In Matlab.
Quiz Questions ITCS 4145/5145 Parallel Programming MPI
Vector Voyages Unit 8 – Day 2.
if-else Structures Principles of Engineering
Chapter Eight: Work 8.1 Work 8.2 Efficiency and Power.
Reducing and Plotting Celestial Sights Quiz
Speed Notes.
Chapter 8 – Work and Energy
UML State Diagrams.
Do Now Heading: The Numbers of Motion
Lego MINDSTORMS EV3.
Page Setup MOAC Lesson 5.
Getting started with LEGO EV3 Mindstorms software
Chapter Eight: Work 8.1 Work 8.2 Efficiency and Power.
Presentation transcript:

> Other ways to navigate space Advanced Movement > Other ways to navigate space

Understanding Energy Your Ship has a finite amount of energy It automatically regains 4 energy per second Each command may have an initial energy cost required to execute AND an ongoing cost to continue to perform the operation If you ship runs out of energy while performing a command, it will stop executing the command

AllStopCommand new AllStopCommand() Executes Immediately Immediately Stops Your Ship (Good thing your ship doesn’t have a crew…) Costs 40 Energy + Half Your Health

STEER new SteerCommand(int degrees) new SteerCommand(int degrees, boolean block) degrees = Number of degrees to adjust course heading block = indicates if the command should block or not (defaults to true) Blocking or Non-Blocking Command Adjusts your Movement Direction by the indicated number of degrees Does not adjust your orientation If you are not moving, this command will have no effect Costs 4 Energy Per Second

Warp new WarpCommand() new WarpCommand(double distance) distance = amount to travel (up to 400) in current orientation’s direction Blocking Command At least 1 second warm-up before warp commences Warps to a Random Location (no arguments) 5 second cooldown Warps in the direction of your orientation the given distance (up to 400) 1 second per 50 distance requested to warp cooldown Costs 10 Energy + Costs 9 Energy Per Second