The answersDownload the PDF
Worksheet

U2.3 A drive that goes sideways

Kinematics and frames · University · about 25 min

BugBotLab
NameClassDate

What this lesson is about

Three degrees of freedom on the floor, and what holonomic buys you.

Questions 6 marks in all

  1. [1 mark]Why is a car non-holonomic while the BugBot is holonomic?

    1. AA car has three degrees of freedom on the floor but only two controls, and cannot move sideways directly
    2. BA car has fewer degrees of freedom on the floor than the BugBot
    3. CA car cannot change its heading while it is moving
    4. DA car's controls are blocking and the BugBot's are not
  2. [1 mark]This robot's sideways full scale is 15 cm/s. At what speed does drive(0, 70, 0) move it, in cm/s?

  3. [1 mark]With V_MAX = 20 cm/s and V_LAT = 15 cm/s, drive(70, 70, 0) is sent expecting a 45 degree diagonal. At what angle to the right of straight ahead does the robot actually travel, to the nearest degree?

  4. [1 mark]Which of these does a holonomic drive buy you?

    Tick every answer that is true.

    1. AThe robot can point its camera at one thing while travelling towards another
    2. BErrors in x and y can be corrected by separate terms at the same time
    3. CAny curve on the floor is a path the robot can follow
    4. DBetter efficiency than a wheeled car
    5. EFewer actuators to control
  5. [1 mark]Code that treats a command as a velocity asks for a straight diagonal. What happens?

    1. AThe robot drifts to one side of the line, because each axis has its own full scale
    2. BThe robot follows the line exactly, just more slowly
    3. CThe robot spins, because the diagonal couples into rotation
    4. DNothing goes wrong, because commands on every axis are percentages of the same speed
  6. [1 mark]The green zone is to the robot's right. Which command gets it there without turning?

    1. Adrive(0, 70, 0)
    2. Bdrive(70, 0, 0)
    3. Cdrive(0, 0, 70)
    4. Ddrive(0, -70, 0)

The task: crab into the zone

The green zone is to the robot's right. Get into it without turning: the robot has to arrive facing the same way it started.

from bugbot import *
connect()

# drive(forward, sideways, rotation)

Plan your program here, then type it in and press Run.

QR code
Do it on the robot
www.bugbotlab.com/learn/u2-3-holonomic/
The simulator checks it and tells you when it passes. Nothing to install, no account.

Challenges

  1. Drive a diagonal by using forward and sideways together. Is the path straight?
  2. Drive in a circle without changing the heading at all, using only the two translation terms.
  3. Measure the sideways top speed and the forward top speed, and work out the ratio. Keep the number.