Skip to main content
logo
Forgotten your username or password?
Home
  • English ‎(en)‎
    • English ‎(en)‎
    • Español - Internacional ‎(es)‎
    • Français ‎(fr)‎
    • Türkçe ‎(tr)‎
    • Ελληνικά ‎(el)‎
    • Module 22

      From Relative to Absolute

      Learning to Navigate Using Absolute Positions

      Module Identity

      Title
      From Relative to Absolute - Learning to Navigate Using Absolute Positions
      Subject Areas
      Engineering Computer Science Mathematics Robotics
      Format
      Advanced mathematical programming with trigonometry, coordinate system transformations, visual programming with FOSSBot, algorithmic problem-solving, collaborative debugging, progressive skill building from relative to absolute navigation
      Teacher Preparation Time
      60-75 minutes (includes preparing coordinate grids, testing navigation algorithms, setting up waypoint challenges)
      Required Lesson Time
      45 minutes (can be extended for advanced challenges)
      Age Range
      16+ years (Upper Secondary & University Students)
      Keywords
      Coordinate Systems, Relative Positioning, Absolute Positioning, Trigonometry, Arctangent, GoTo Function, Waypoint Navigation, Spatial Reasoning, Algorithmic Logic, Robot Heading, Position Tracking, Path Planning
      Summary

      This advanced module bridges the gap between intuitive relative movement and precise absolute positioning, a fundamental challenge in robotics and autonomous navigation. Students progress from simple "move forward, turn left" commands to sophisticated coordinate-based navigation, learning to transform absolute (x, y) destinations into executable robot instructions. The module's power lies in its mathematical rigor—students apply trigonometry to calculate angles using arctangent and distances using the Pythagorean theorem, then implement these calculations as a programmable GoTo(x, y) function. Through seven progressive activities, learners discover how robots track their position and heading, convert between coordinate systems, and navigate complex paths through multiple waypoints. By creating their own navigation functions, students experience the same challenges faced by engineers developing GPS systems, autonomous vehicles, and industrial robots—transforming abstract mathematical coordinates into real-world movement commands that account for current position, orientation, and the geometry of 2D space.

      Introduction

      The distinction between relative and absolute positioning represents one of the most fundamental concepts in navigation, computing, and robotics. When we give directions like "turn left at the corner, then go straight for two blocks," we're using relative positioning—each instruction depends on the current state. But when GPS tells us to navigate to coordinates (40.7128°N, 74.0060°W), it's using absolute positioning—a fixed point in space regardless of where we start. This module explores this critical distinction through hands-on robot programming, transforming abstract coordinate mathematics into tangible navigation challenges.

      The intellectual journey from relative to absolute positioning mirrors the historical development of navigation itself. Ancient sailors used relative navigation—following coastlines and using wind directions—before developing absolute systems using celestial navigation and eventually GPS. Similarly, students begin with intuitive relative commands that mirror human navigation ("go forward," "turn right") before progressing to the mathematical precision of coordinate-based movement. This transition requires not just understanding coordinates but also mastering the trigonometry that converts a target position into actionable movement commands: calculating the angle to turn using arctangent(Δy/Δx) and the distance to travel using √(Δx² + Δy²).

      The crowning achievement of this module is the creation of a GoTo(x, y) function—a fundamental building block of autonomous navigation. Students must synthesize multiple concepts: tracking the robot's current position and heading, calculating the angular difference between current and desired orientations, determining the shortest rotation, and computing the exact distance to travel. This function encapsulates the core challenge of robotics: translating high-level goals ("go to position X") into low-level motor commands ("turn 47.3 degrees, move forward 15.2 cm"). By the module's end, students have built the same navigation primitives used in everything from warehouse robots to Mars rovers, gaining deep appreciation for the mathematical foundations underlying autonomous systems.

      Basic Knowledge

      • • Proficiency with visual programming environments
      • • Understanding of coordinate systems (x, y positions on a grid)
      • • Elementary trigonometry (sine, cosine, tangent functions)
      • • Right triangle relationships and Pythagorean theorem
      • • Inverse trigonometric functions (particularly arctangent)
      • • Basic robot movements (forward, backward, turning)
      • • Angle measurement and conversion (degrees/radians)

      Learning Outcomes

      By the end of this module, students will be able to:

      Conceptual Understanding

      • ✓ Distinguish between relative and absolute positioning in 2D space
      • ✓ Understand the concept of robot heading and its role in navigation
      • ✓ Analyze how turning affects subsequent movement directions
      • ✓ Convert movement instructions between coordinate systems

      Mathematical & Algorithmic Skills

      • ✓ Calculate angles using arctangent(Δy/Δx) for navigation
      • ✓ Compute distances using the Pythagorean theorem
      • ✓ Apply trigonometric functions to solve spatial problems
      • ✓ Translate spatial problems into algorithmic solutions

      Programming & Implementation

      • ✓ Program robots using both relative movements and absolute coordinates
      • ✓ Create a GoTo(x, y) function that transforms coordinates to robot commands
      • ✓ Implement waypoint navigation using sequential absolute positions
      • ✓ Debug and refine navigation programs for accuracy

      Engineering & Problem-Solving

      • ✓ Apply geometric and spatial reasoning to plan robot movements
      • ✓ Test and iterate navigation strategies for optimal paths
      • ✓ Collaborate to solve complex navigation challenges
      • ✓ Evaluate navigation precision and efficiency

      📐 Key Mathematical Concepts

      Angle Calculation:

      θ = arctan(Δy/Δx) = arctan((y_target - y_current)/(x_target - x_current))

      Distance Calculation:

      d = √(Δx² + Δy²) = √((x_target - x_current)² + (y_target - y_current)²)

      Note: Activities for this module are under development. The structure includes seven progressive exercises from basic relative movement to advanced waypoint navigation.

  • Download Lesson Plan
  • Evaluation
Close shade box
Previous section
Next section
  • Download Lesson Plan

    • Download Lesson Plan (EN) File
    • Download Lesson Plan (FR) File
    • Download Lesson Plan (ES) File
    • Download Lesson Plan (GR) File
    • Download Lesson Plan (TR) File
  • Evaluation

    • d

 
Back

The European Commission support for the production of this website does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsi­ble for any use which may be made of the information contained therein.

You are currently using guest access (Log in)