Lesson 8 of 2250 minutes

Motion and Degrees of Freedom

Start with the lesson question, connect the representations, and test the model with evidence.

motionvelocityaccelerationdegrees of freedomconfiguration spaceconstraintsunderactuation

Learning objectives

  • Represent position and orientation in named coordinate frames.
  • Relate velocity, acceleration, degrees of freedom, and constraints.
  • Apply simple forward and inverse kinematics.
Lesson flowHook, model, explanationShow guidance

Inspect the opening phenomenon

Predict what changes, then name the evidence.

Apply in the lab

Name the evidence before reading the answer.

Read only what helps

Then use the lab and recall check.

More when needed

Transcript and resources stay available below.

Course progress

AI & Robotics Foundations · Motion, Frames, and Kinematics · Lesson 8

Motion and Degrees of Freedom

In progress

Decision challenge

Observe the phenomenon. Then connect the representations.

Use the opening example to make a prediction, identify evidence, and explain which model supports it.

Why Can't This 3-DOF Robot Move Sideways?

Predict whether three configuration DOF guarantee three independent motion commands.

Before

Predict whether three configuration DOF guarantee three independent motion commands.

During

Track the difference between x-y-yaw and v-omega.

After

Explain reachable later versus movable now.

Reference drawerTranscript, source notes, scripts, and package status stay tucked away until you need them.7 files

Lesson reading

live

50 min

Video script

draft

Transcript fallback

available

courses/ai-robotics/modules/03-motion-frames-and-kinematics/lessons/02-motion-and-degrees-of-freedom/video-transcript.md

Reachable Later, Movable Now Lab

draft

25 min

Mastery check

live

6 questions / 10 min

Book section:courses/ai-robotics/modules/03-motion-frames-and-kinematics/lessons/02-motion-and-degrees-of-freedom/book-section.md
Transcript for accessibility and fallback

# Transcript This rover has three degrees of freedom. So why can’t it move directly sideways? Degrees of freedom count the independent values needed to specify configuration. On a flat floor, those are x, y, and yaw. But configuration is not instantaneous motion. Ideal differential-drive wheels command forward speed v and turning rate omega. They do not command sideways slip. So three configuration degrees of freedom does not mean three independent velocity commands, and degrees of freedom is not actuator count. Can the rover still reach a point to its side? Yes. It can turn, drive, and turn again. Remember: reachable later is different from movable now. Explore the full lesson on EduQuest.

Reading lab

Core explanation

Connect the lesson's words, diagrams, graphs, evidence, and equations.

Opening challenge: A rover can eventually reach any pose on a flat floor, so why can it not move directly sideways right now?

Degrees of Freedom Count Configuration

A robot's configuration is the smallest set of numbers needed to specify where all its rigid parts are. The set of possible configurations is configuration space, or C-space. Its dimension is the robot's number of degrees of freedom (DOF).

A differential-drive rover with three planar configuration freedoms but only forward and turning instantaneous motion

A free rigid body in a plane has three DOF: position xx, position yy, and orientation θ\theta. In three-dimensional space it has six: three translations and three rotations. Constraints remove independent choices. A hinge permits one rotation; a slider permits one translation.

Configuration Is Not Motion

Configuration qq answers where. Velocity q˙\dot q answers how fast and in which direction configuration is changing. Acceleration q¨\ddot q answers how velocity is changing. Units expose mistakes: position may be metres or radians, velocity metres per second or radians per second, and acceleration metres per second squared or radians per second squared.

For a planar rover:

q=[x,y,θ]Tq=[x,y,\theta]^T

It has three configuration DOF. A differential-drive rover normally commands forward speed vv and yaw rate ω\omega. With ideal no-side-slip wheels:

x˙=vcosθ,y˙=vsinθ,θ˙=ω\dot x=v\cos\theta,\qquad \dot y=v\sin\theta,\qquad \dot\theta=\omega

At θ=0\theta=0, it cannot command an instantaneous world-yy slide. Yet by driving and turning, it can reach different yy positions later. Reachable eventually is not the same as movable directly now.

DOF Is Not Actuator Count

DOF counts independent configuration coordinates; actuators count independent control inputs in the chosen model. A system is underactuated when its available inputs cannot independently command every modeled DOF. The rover has three configuration DOF but two usual inputs, vv and ω\omega. Wheel constraints couple the motion.

Joint limits reduce range but do not normally change DOF inside that range. Locking a joint adds a constraint and can reduce DOF. Singular configurations can temporarily remove useful motion directions even when the mechanism's nominal DOF count is unchanged.

Worked Evidence Check

A rover starts at (0,0,0)(0,0,0) and executes v=1 m/sv=1\text{ m/s}, ω=0\omega=0 for two seconds under an ideal constant-velocity model. It reaches (2,0,0)(2,0,0). If it instead commands v=0v=0, ω=π/2 rad/s\omega=\pi/2\text{ rad/s} for one second, it remains at (0,0)(0,0) while yaw becomes π/2\pi/2. Combining timed forward and turning segments produces sideways displacement without sideways slip.

Retrieval Pause

  1. What does DOF count?
  2. Why does a planar differential-drive rover have three configuration DOF but only two common velocity commands?
  3. Explain why “cannot slide sideways now” does not mean “cannot reach a point to the side.”

Sources and Further Learning

Sources are linked and paraphrased. The teaching visual is an original HH asset.

Practice labReachable Later, Movable Now LabOpen this when you are ready to apply the model, collect evidence, and check your explanation.25 min

Objective

Separate configuration DOF from instantaneous allowed velocity using a paper or spreadsheet rover.

Setup

No hardware or paid software is required. Represent state as (x,y,θ)(x,y,\theta) and commands as (v,ω)(v,\omega).

Materials

  • grid paper or a spreadsheet;
  • pencil or keyboard;
  • calculator.

Steps

  1. Start at (0,0,0)(0,0,0), with yaw zero pointing along +x.
  2. Apply (v,ω)=(1,0)(v,\omega)=(1,0) for two one-second steps; record each pose.
  3. Reset. Apply (0,π/2)(0,\pi/2) for one second, then (1,0)(1,0) for two seconds.
  4. Try to write a single legal command that produces pure sideways velocity at yaw zero.
  5. Explain why no such ideal differential-drive command exists.
  6. Design a turn-drive-turn sequence that reaches (0,2,0)(0,2,0).
  7. Compare: configuration DOF, command inputs, reachable poses, and instantaneously allowed velocities.

Expected Result

The rover reaches a point to its side through a sequence, but cannot produce instantaneous sideways slip. Its configuration uses three values while its usual command uses two.

Troubleshooting

  • If forward motion changes world y at yaw zero, recheck axes.
  • If turning changes x or y during an in-place ideal turn, separate translation from rotation.

Reflection Questions

  • What physical effect would violate the no-side-slip model?
  • Why is DOF not simply the number of motors?

Extension Challenge

Add a maximum speed and yaw-rate limit. Find the shortest legal command sequence you can construct to reach (0,2,0)(0,2,0), then explain which constraint controls the completion time.

Accessibility and Safety Fallback

Use a screen-reader-friendly table with time, x, y, yaw, v, and omega columns. This simulation-first activity has no moving hardware.