Unit 11 · lesson

Position Is an Estimate

A robot usually does not possess a magical variable called true_position.

It estimates position from measurements.

GPS, wheel encoders, cameras, beacons, lidar, IMUs, and external tracking systems all observe different pieces of the problem.

Pose needs a reference

The statement:

The robot is at x = 2 meters.

is incomplete.

Two meters from what?

A coordinate frame gives the numbers meaning.

map frame
origin (0,0)
   └──── x →
   |
   y

The robot can also have its own body frame with x pointing forward.

A sensor mounted on the robot may have a third frame.

Relative and global

Wheel encoders are excellent at measuring relative wheel motion. They do not directly provide an absolute map position.

An external marker might provide a global reference but only when visible.

Robotics often combines:

  • frequent relative measurements;
  • occasional absolute corrections.

The estimate changes over time

Every movement updates the pose estimate.

If each update contains a small error, the position can drift.

That is not necessarily a software bug. It is a consequence of integrating imperfect measurements.

Frame mistake

Imagine a camera detects an object 1 meter "forward" from the camera.

If the camera is rotated 90 degrees relative to the robot, treating camera-forward as robot-forward puts the object in the wrong direction.

Many robotics failures are correct numbers in the wrong frame.

Label the frames

Draw a mobile robot with:

  • map frame;
  • robot/body frame;
  • one sensor frame.

Mark each origin and x-axis direction.

Then write one measurement in the frame where it naturally exists and explain what transformation would be needed before another subsystem can use it.

Pose has more than position

For a mobile robot in a flat environment, a common pose representation is:

(x, y, θ)

where x and y describe position and θ describes heading.

Two robots can occupy the same (x, y) location while facing opposite directions. Their next motion will not have the same effect.

Estimates need a source and a timestamp

Suppose software reports:

{
  "x_m": 2.41,
  "y_m": 1.08,
  "heading_deg": 87.2
}

That object looks precise. It does not tell you:

  • which sensors produced the estimate;
  • when it was calculated;
  • uncertainty;
  • which coordinate frame defines x and y.

Those omissions matter.

A pose estimate should be treated as evidence produced by an estimator, not as the robot's true location handed down by nature.

Ask what can move the estimate

For wheel odometry, wheel motion updates the pose. For vision-based localization, a landmark observation may correct it. For inertial sensing, angular-rate integration may influence heading.

Every estimator has a mechanism and therefore a failure mode. Before trusting a pose, identify what evidence can change it and what conditions can make that evidence wrong.

process flow

Engineering Design and Prototyping: Engineering Evidence Flow

  1. Plan

    Name the system, criterion, constraint, and safety condition.

  2. Model

    Trace the control, energy, and feedback paths.

  3. Test

    Run a bounded approved test and record evidence.

  4. Revise

    Document correction, limitation, and next safe action.

Read this concept flow as plain text
  1. Plan. Name the system, criterion, constraint, and safety condition.
  2. Model. Trace the control, energy, and feedback paths.
  3. Test. Run a bounded approved test and record evidence.
  4. Revise. Document correction, limitation, and next safe action.