Lite / Intelligent Robotic Systems / Term 2 worksheet
Worksheet: Intelligent Robotic Systems, term 2
Name: Date:
Week 10: Vectors: arrows you can add
1. a = (2, −3) and b = (−5, 4). What is the x component of a + b?
Answer:
2. What is the magnitude of the vector (6, 8)?
Answer:
3. A drone flies a = (−2, 0) m, then b = (1, 1) m. How far is it from where it started, in metres? (2 decimal places)
Answer: m
4. Two forces of 30 N and 40 N act on a bracket. Which total is impossible?
- 10 N
- 50 N
- 70 N
- 80 N
5. What is 3 × (−2, 1.5)?
- (−6, 4.5)
- (1, 4.5)
- (−6, 1.5)
- (−5, 4.5)
Week 10: Which way is it pointing? Direction with atan2
1. atan2(3, −4) is closest to which angle?
- −36.9°
- 36.9°
- 143.1°
- 216.9°
2. What is the direction of the vector (−6, 6), in degrees measured anticlockwise from the +x axis? Give a value from 0 to 360.
Answer: °
3. A robot link 0.8 m long points at 140° (anticlockwise from +x). What is the y position of its tip, in metres? (3 decimal places)
Answer: m
4. A target is at (−5, 12) m from a robot. How far away is it, in metres?
Answer: m
5. For which vector does tan⁻¹(y/x) give the correct direction?
- (−2, 5)
- (3, −1)
- (−1, −1)
- (0, 4)
Week 10: The dot product: how much do two arrows agree?
1. Find a · b for a = (4, −1) and b = (2, 3).
Answer:
2. Find the dot product a · b for a = (−5, 5) and b = (−4, −5).
Answer:
3. What is the angle between a = (−2, 0) and b = (1, 1), in degrees (0 to 180)?
Answer: °
4. Which vector is perpendicular to (2, 5)?
- (5, 2)
- (−5, 2)
- (2, −5)
- (−2, −5)
5. A 10 N force F = (8, 6) N pushes a cart that can only roll along the x axis. How many newtons act along the rail? (Hint: dot F with the unit vector (1, 0).)
Answer: N
Week 11: One point, many addresses: coordinate frames
1. Frame B's origin is at (3, −1) in frame A, with the same axis directions. A point is at (2, 4) in B. What is its x coordinate in A?
Answer:
2. A robot's distance sensor reports 'obstacle at 0.8 m'. What is missing before the robot can put it on its map?
- Nothing: 0.8 m is 0.8 m
- The frame it is measured in, and where that frame is on the robot and in the world
- The colour of the obstacle
- A more accurate sensor
3. A tool tip is at (5.4, 2.0) m in the world. The robot base origin is at (4.0, 1.5) m in the world, not rotated. What is the tip's y coordinate in the base frame?
Answer: m
4. A gripper frame has its origin at (0, 3) in the world and is rotated 180°. A sensor sits at (3, 0) in the gripper frame. What is its world y coordinate? (3 decimal places)
Answer:
5. A frame is attached to link 2 of an arm, origin at the elbow, x axis along the link. The link is 0.3 m long. Where is the hand in this frame, whatever the joint angles?
- (0.3, 0)
- (0, 0.3)
- It changes with θ2
- (0.3, 0.3)
Week 11: Body frame, world frame: how a vehicle sees the world
1. A vehicle's compass heading is 30°. What is the mathematical angle of its nose (anticlockwise from east), in degrees?
Answer: °
2. An aircraft turns 90° to the right without moving. What happens to a waypoint's coordinates?
- Both world and body coordinates change
- Only the world coordinates change
- Only the body coordinates change
- Nothing changes
3. In a simulation, an aircraft is at (−4, 0) km with its nose pointing 135° anticlockwise from the world +x axis. A waypoint is at (4, −2) km. In the aircraft's body frame (x forward, y to the left), what is the waypoint's forward (x) coordinate, in km? (2 decimal places; negative means behind)
Answer: km
4. Why does a spacecraft's world frame use distant stars instead of north?
- Compasses are too heavy to launch
- There is no magnetic or geographic north away from a planet, but distant stars barely move
- Stars are brighter than the Sun
- It doesn't need a world frame
5. A rover heads north (ψ = 90°) from (0, 0). A rock is at (−3, 5) m. How far to the LEFT of the rover is it, in metres? (Body frame: y is left.)
Answer: m
Week 11: Heading for a waypoint: bearings and turns
1. A waypoint is 5 km east and 5 km north of you. What is its compass bearing, in degrees?
Answer: °
2. A rover is 4 km west and 4 km north of its lander. Its next waypoint is 9 km west and 2 km south of the lander. What compass bearing should it head on (degrees clockwise from north, 0 to 360)?
Answer: °
3. Heading 300°, waypoint bearing 40°. What is the relative bearing, in degrees from −180 to 180 (positive = turn right)?
Answer: °
4. Which call gives a compass bearing (clockwise from north) for a displacement of e km east and n km north?
- atan2(n, e)
- atan2(e, n)
- tan⁻¹(n / e)
- atan2(e, n) − 90°
5. Leg from (−2, 1) km to (4, 9) km. How long is it, in km?
Answer: km
Week 12: Radians and the unit circle
1. Convert 60° to radians (3 decimal places).
Answer: rad
2. Convert 270° into radians. (3 decimal places)
Answer: rad
3. At θ = 250°, what are the signs of (cos θ, sin θ)?
- (+, +)
- (−, +)
- (−, −)
- (+, −)
4. A wheel of radius 0.1 m turns through 3 radians. How far does its rim travel, in metres?
Answer: m
5. A student writes y = L * math.sin(30) for a 30° joint and gets a strange answer. Why?
- math.sin only accepts integers
- math.sin expects radians, so it computed sin of 30 radians
- L must be in centimetres
- Python can't do trigonometry
Week 12: Modelling rotating parts: x = L cos θ, y = L sin θ
1. A 0.4 m link at 30°. What is its tip's y coordinate, in metres?
Answer: m
2. A robot link 0.5 m long points at 300° (anticlockwise from +x). What is the x position of its tip, in metres? (3 decimal places)
Answer: m
3. What is the direction of the vector (−3, 2), in degrees measured anticlockwise from the +x axis? Give a value from 0 to 360.
Answer: °
4. A 0.6 m link turns at 2 rad/s. How fast does its tip move, in m/s?
Answer: m/s
5. A wiper pivots at (0.2, 0) m and is 0.5 m long. Which gives its tip at angle θ?
- (0.5 cos θ, 0.5 sin θ)
- (0.2 + 0.5 cos θ, 0.5 sin θ)
- (0.7 cos θ, 0.7 sin θ)
- (0.2 cos θ + 0.5, sin θ)
Week 12: Periodic motion: A·sin(ωt + φ)
1. y(t) = 5 sin(4t). What is the period, in seconds? (3 decimal places)
Answer: s
2. A piston's height follows y(t) = 3·sin(4·t) cm, with t in seconds. What is the period (time for one full cycle), in seconds? (3 decimal places)
Answer: s
3. Compared with sin(t), the wave sin(t + π/2) is…
- Taller
- Shifted earlier by π/2 s: it's the cosine wave
- Twice as fast
- Upside down
4. A motor vibration repeats every 0.02 s. What is its frequency, in hertz?
Answer: Hz
5. A joint turns through 3π/4 radians. How many degrees is that?
Answer: °
6. Module check: a link of 0.5 m at θ = 3π/2 rad. Where is its tip?
- (0, 0.5)
- (0, −0.5)
- (−0.5, 0)
- (0.5, 0)
Week 13: A matrix is a machine that moves vectors
1. [3 1; 0 2]·(2, 5): what is the first component?
Answer:
2. M = [−2 2; −2 −2] (rows separated by ";") and v = (3, 4). What is the first (x) component of M·v?
Answer:
3. Which matrix sends (1, 0) to (0, 2) and (0, 1) to (−1, 0)?
- [0 −1; 2 0]
- [0 2; −1 0]
- [0 −1; 0 2]
- [2 0; 0 −1]
4. What is the determinant of [4 2; 3 1]?
Answer:
5. A matrix has determinant 0. What can you say?
- It is the identity
- It squashes the plane onto a line or point, so it can't be undone
- It rotates by 0°
- It doubles areas
Week 13: The rotation matrix, built from scratch
1. Which matrix is R(90°)?
- [0 1; −1 0]
- [0 −1; 1 0]
- [1 0; 0 1]
- [−1 0; 0 −1]
2. Rotate the point (−4, 4) by 60° about the origin (positive = anticlockwise). What is the new x coordinate? (3 decimal places)
Answer:
3. The point (5, 12) is rotated by 73°. What is its distance from the origin afterwards?
Answer:
4. [1 0; 0 −1] has unit, perpendicular columns. Why isn't it a rotation?
- Its determinant is −1: it's a mirror flip across the x axis
- Its entries aren't sines and cosines
- It changes lengths
- It is a rotation, by 180°
5. Rotate (3, 1) by 90° about the pivot (2, 1) (not the origin). What is the new y coordinate?
Answer:
Week 13: Order matters: composing and undoing matrices
1. [1 2; 3 4]·[5 6; 7 8]: what is the entry in row 2, column 1?
Answer:
2. A = [−2 2; −2 −2] and B = [2 3; −3 3]. What is the entry in row 1, column 1 of the product A·B?
Answer:
3. In A·B·v, which transformation is applied to v first?
- A
- B
- Both at once
- It depends on the determinant
4. What is the inverse of R(40°)?
- R(40°)
- R(−40°), which equals R(40°)ᵀ
- R(320°)ᵀ
- 1 / R(40°)
5. Rotate the point (4, −1) by 30° about the origin (positive = anticlockwise). What is the new y coordinate? (3 decimal places)
Answer:
Week 14: Homogeneous transforms: rotate and shift in one matrix
1. Frame rotated 0° with origin (4, −1). Point (2, 3) in that frame. What is its parent x coordinate?
Answer:
2. A gripper frame has its origin at (−3, 5) in the world and is rotated 45°. A sensor sits at (−2, 2) in the gripper frame. What is its world y coordinate? (3 decimal places)
Answer:
3. In T = [c −s tx; s c ty; 0 0 1], what does the column (tx, ty, 1) mean?
- The frame's x axis
- Where the child frame's origin sits in the parent frame
- How much the frame is scaled
- A point that is always at the origin
4. A force direction (1, 0) in a sensor frame must be expressed in the robot frame. How should it be written for the homogeneous transform?
- (1, 0, 1)
- (1, 0, 0)
- (1, 0, −1)
- It can't be transformed
5. Frame rotated 90° with origin (0, 3). Point (2, 0) in the frame. What is its parent y coordinate?
Answer:
Week 14: Chains of frames, and the way back
1. Which is T_W←tool for the chain world → base → link → tool?
- T_W←base · T_base←link · T_link←tool
- T_link←tool · T_base←link · T_W←base
- T_W←base + T_base←link + T_link←tool
- T_W←base⁻¹ · T_link←tool
2. In a planar chain, frame A is rotated 40° in the world, B is rotated −15° in A and C is rotated 70° in B. What is C's rotation in the world, in degrees?
Answer: °
3. A gripper frame has its origin at (−1, 1) in the world and is rotated 150°. A sensor sits at (1, 0) in the gripper frame. What is its world x coordinate? (3 decimal places)
Answer:
4. T has θ = 0° and t = (3, −2). What is the x translation of T⁻¹?
Answer:
5. A = [2 0; −3 1] and B = [0 0; 0 −2]. What is the entry in row 1, column 1 of the product A·B?
Answer:
Week 14: Navigating with transforms: from map to cockpit
1. A rover at (2, 3) m has ψ = 90° (nose pointing +y). Its camera sees a rock at forward 4 m, left 0 m. What is the rock's map x coordinate?
Answer: m
2. In a simulation, an aircraft is at (−8, 8) km with its nose pointing 45° anticlockwise from the world +x axis. A waypoint is at (−14, 12) km. In the aircraft's body frame (x forward, y to the left), what is the waypoint's left (y) coordinate, in km? (2 decimal places; negative means to the right)
Answer: km
3. A rover is 2 km west and 0 km north of its lander. Its next waypoint is 0 km east and 1 km north of the lander. What compass bearing should it head on (degrees clockwise from north, 0 to 360)?
Answer: °
4. A waypoint's body coordinates are forward −5 km, left 0.5 km. What should a simple guidance loop do?
- Fly straight on
- Turn sharply: the waypoint is behind and slightly left
- Climb
- Declare arrival
5. A waypoint is at forward 3 km, left 3 km in the body frame. By how many degrees should the vehicle turn left to face it?
Answer: °
Week 15: Forward kinematics: where is the hand?
1. L1 = 0.6 m, L2 = 0.4 m, θ1 = 0°, θ2 = 90°. What is the hand's y position, in metres?
Answer: m
2. A two-link arm has L1 = 0.3 m and L2 = 0.4 m. The shoulder is at θ1 = 15° and the elbow at θ2 = −60° (measured from link 1). What is the hand's y position, in metres? (3 decimal places)
Answer: m
3. θ1 = 120° and θ2 = −30°. Which way does link 2 point?
- −30°
- 90°
- 150°
- 120°
4. With θ2 = 0°, an arm of L1 = 0.5 m and L2 = 0.3 m reaches how far from the shoulder, in metres?
Answer: m
5. A robot link 2.5 m long points at 110° (anticlockwise from +x). What is the x position of its tip, in metres? (3 decimal places)
Answer: m
6. Module check: link 1 points along (0.6, 0.8) and link 2 along (−0.8, 0.6). What is the elbow angle between them?
- 0°
- 45°
- 90°
- 180°
Week 15: Forward kinematics as a chain of transforms
1. A three-joint planar arm has θ1 = 50°, θ2 = −20°, θ3 = 35°. What is the tool's orientation (absolute angle), in degrees?
Answer: °
2. A two-link arm has L1 = 0.3 m and L2 = 0.4 m. The shoulder is at θ1 = 15° and the elbow at θ2 = −60° (measured from link 1). What is the hand's y position, in metres? (3 decimal places)
Answer: m
3. A gripper frame has its origin at (−1, 1) in the world and is rotated 150°. A sensor sits at (1, 0) in the gripper frame. What is its world x coordinate? (3 decimal places)
Answer:
4. Why is each block Rot(θ)·Trans(L) and not Trans(L)·Rot(θ)?
- It makes no difference
- The link extends along the joint's new direction, so the turn must come first
- Translations must always be on the left
- So that the determinant is 1
5. A tool of length 0.1 m points at an absolute angle of 180°, starting from a wrist at (0.5, 0.2) m. What is the tip's x coordinate?
Answer: m
Week 15: Mapping the workspace: everywhere the hand can go
1. L1 = 0.45 m and L2 = 0.3 m. What is the inner radius of the workspace ring, in metres?
Answer: m
2. A planar arm has links of 30 cm and 45 cm and joints that can turn all the way round. A target is at (−76.1, −27.7) cm from the shoulder. How far outside the reachable ring is it, in cm? (Enter 0 if the hand can reach it.)
Answer: cm
3. Why do many arms use roughly equal link lengths?
- It's cheaper to buy identical parts
- It closes the hole: the tip can reach right back to the base
- It doubles the reach
- It removes all singularities
4. A two-link arm has L1 = 0.4 m and L2 = 0.35 m. The shoulder is at θ1 = 120° and the elbow at θ2 = 120° (measured from link 1). What is the hand's x position, in metres? (3 decimal places)
Answer: m
5. An elbow can only bend between 0° and 150°. What happens to the workspace?
- Nothing
- Points needing a tighter fold than 150° become unreachable, and only one elbow pose is available
- It gets bigger
- The arm can no longer reach full stretch
Week 16: Inverse kinematics: from a target to joint angles
1. L1 = 0.5 m, L2 = 0.5 m, target (0.5, 0.5) m. What is cos θ2? (2 decimal places)
Answer:
2. A two-link arm has L1 = 0.4 m and L2 = 0.4 m. Its hand must reach (0.697, 0.275) m. How much must the elbow bend, |θ2|, in degrees? (The elbow-up and elbow-down solutions share this size.)
Answer: °
3. A two-link arm (L1 = 0.5 m, L2 = 0.35 m) must reach (0.097, 0.674) m with the elbow DOWN (θ2 positive). Its elbow angle is θ2 = 74.9°. What is the shoulder angle θ1, in degrees? (between −180 and 180)
Answer: °
4. You compute cos θ2 = 1.18. What does it mean?
- θ2 ≈ 10°
- The target is beyond full stretch: no solution
- Use the elbow-up solution
- Round it to 1
5. What is the most reliable quick check of an IK answer?
- Check θ1 is positive
- Run forward kinematics on the angles and compare with the target
- Check θ2 is less than 180°
- Ask whether the angles look reasonable
Week 16: Elbow up or elbow down? Choosing between solutions
1. What do the elbow-up and elbow-down solutions for the same target always share?
- The same θ1
- The same |θ2|
- The same elbow position
- Nothing
2. A two-link arm (L1 = 0.4 m, L2 = 0.4 m) must reach (0.114, 0.396) m with the elbow UP (θ2 negative). Its elbow angle is θ2 = −118°. What is the shoulder angle θ1, in degrees? (between −180 and 180)
Answer: °
3. A two-link arm has L1 = 0.5 m and L2 = 0.35 m. Its hand must reach (-0.047, 0.583) m. How much must the elbow bend, |θ2|, in degrees? (The elbow-up and elbow-down solutions share this size.)
Answer: °
4. Which rule best avoids sudden elbow swings during a long move?
- Always pick the solution with positive θ1
- Pick the valid solution closest to the current joint angles, and keep the same branch
- Pick at random each step
- Always pick elbow down
5. L1 = 0.4 m, L2 = 0.3 m. At what distance from the shoulder (other than 0.1 m) do the two IK solutions merge into one, in metres?
Answer: m
Week 16: Unreachable targets, joint limits and singularities
1. For a two-link arm, at which elbow angles is it singular?
- θ2 = 90° and −90°
- θ2 = 0° and ±180°
- θ1 = 0°
- Whenever the hand is on the x axis
2. A planar arm has links of 30 cm and 45 cm and joints that can turn all the way round. A target is at (−76.1, −27.7) cm from the shoulder. How far outside the reachable ring is it, in cm? (Enter 0 if the hand can reach it.)
Answer: cm
3. An arm (L1 = 0.5 m, L2 = 0.4 m) holds its elbow at θ2 = 90°. The shoulder encoder is off by 0.5°. Roughly how far does the hand end up from where the controller thinks it is, in millimetres? (2 decimal places)
Answer: mm
4. A straight arm (L1 + L2 = 1 m) has a 1° shoulder error. Roughly how far is the hand off, in millimetres? (1 decimal place)
Answer: mm
5. A target is 3 cm beyond reach. What should a well-designed IK function do?
- Crash
- Return NaN and let the motors try
- Report 'unreachable' with the 3 cm gap, and optionally the nearest reachable pose
- Silently reach the nearest point and report success
Week 17: Motion profiles: getting there smoothly
1. A slider moves at constant speed from x = 10 cm to x = 50 cm in 4 s. Where is it at t = 1 s, in cm?
Answer: cm
2. A camera slider moves at constant speed from x = −40 cm to x = 20 cm in 4 s. Where is it at t = 1.6 s, in cm?
Answer: cm
3. A joint follows a trapezoidal profile over 2.5 rad: it accelerates at 2 rad/s² up to 1 rad/s, cruises, then decelerates at 2 rad/s² to stop. How far has it moved at t = 1.1 s, in radians? (3 decimal places)
Answer: rad
4. With v = 2 m/s and a = 1 m/s², which move is too short to reach full speed?
- D = 6 m
- D = 4.5 m
- D = 3 m
- D = 8 m
5. Why don't robot controllers use pure constant-velocity moves between points?
- They're slower
- They demand an instant speed change at start and stop: infinite acceleration and huge jolts
- They can't reach the target
- They use more electricity in cruise
Week 17: Joint-space trajectories: moving every joint together
1. Joint 1 moves 120° with a limit of 60°/s; joint 2 moves 45° with a limit of 30°/s. For a synchronised linear move, what is the shortest duration, in seconds?
Answer: s
2. A camera slider moves at constant speed from x = −40 cm to x = 20 cm in 4 s. Where is it at t = 1.6 s, in cm?
Answer: cm
3. A joint follows a trapezoidal profile over 2.5 rad: it accelerates at 2 rad/s² up to 1 rad/s, cruises, then decelerates at 2 rad/s² to stop. How far has it moved at t = 1.1 s, in radians? (3 decimal places)
Answer: rad
4. A welding robot must follow a straight seam. Which trajectory type is needed?
- Joint-space linear interpolation
- Task-space (straight hand path) with IK at each step
- Either: they give the same path
- Constant velocity in joint space
5. In a synchronised 2 s move, joint 2 changes by 45°. What constant speed does it run at, in °/s?
Answer: °/s
Week 17: Projectile motion: two motions in one
1. A projectile is launched at 10 m/s, 60° above horizontal. What is its horizontal speed, in m/s?
Answer: m/s
2. In a drag-free model (g = 9.81 m/s²), a ball is launched at 10 m/s, 60° above horizontal. What is its range (horizontal distance when it lands back at launch height), in m? (2 decimal places)
Answer: m
3. Launched at the same speed on flat ground, which angle lands at the same place as 25°?
- 50°
- 65°
- 155°
- 45°
4. What is the longest possible drag-free range on flat ground for a launch speed of 14 m/s on Earth (g = 9.81 m/s²), in metres? (2 decimal places)
Answer: m
5. With real air resistance, the range compared with the model is…
- Longer
- Shorter, and the best angle is below 45°
- The same
- Shorter, and the best angle is above 45°
Week 17: An orbit is falling around: why satellites don't fall in
1. Why do astronauts float inside the ISS?
- There is no gravity in space
- They and the station are falling together, so nothing pushes them against the floor
- The station spins to cancel gravity
- They are above the atmosphere
2. Model a satellite in a circular orbit 300 km above Earth (Earth's radius 6,371 km, GM = 3.986 × 10¹⁴ m³/s²). What is its orbital speed, in km/s? (2 decimal places)
Answer: km/s
3. Satellite A orbits at 400 km, satellite B at 20,000 km (both circular). Which is faster?
- A
- B
- Same speed
- Depends on their masses
4. The circular speed at some height is 7.5 km/s. What is the escape speed there, in km/s? (2 decimal places)
Answer: km/s
5. A 1 kg cubesat and a 400-tonne station share a circular orbit. How do their speeds compare?
- The cubesat is faster
- The station is faster
- The same
- The station must be higher
Week 18: Planning a motion investigation
1. In a study of how θ2 affects hand shift, which should be a controlled variable?
- θ2
- Hand shift
- The size of the shoulder error
- The order you write your results
2. An arm (L1 = 0.4 m, L2 = 0.4 m) holds its elbow at θ2 = 45°. The shoulder encoder is off by 0.1°. Roughly how far does the hand end up from where the controller thinks it is, in millimetres? (2 decimal places)
Answer: mm
3. A two-link arm has L1 = 0.4 m and L2 = 0.3 m. The shoulder is at θ1 = 60° and the elbow at θ2 = 45° (measured from link 1). What is the hand's x position, in metres? (3 decimal places)
Answer: m
4. The lab gives identical numbers every time you repeat a setting. Where does uncertainty in your results come from?
- There is none: report exact values
- Readout precision and the simplifications of the model itself
- Random noise in the simulation
- The colour of the arm
5. Predict the hand shift for d = 0.85 m and a 0.5° shoulder error, in mm. (2 decimal places)
Answer: mm
Week 18: Error across the workspace: running and reporting the study
1. Link 2 is 0.35 m long. How far does a 0.5° elbow error move the hand, in mm? (2 decimal places)
Answer: mm
2. An arm (L1 = 0.4 m, L2 = 0.4 m) holds its elbow at θ2 = 45°. The shoulder encoder is off by 0.1°. Roughly how far does the hand end up from where the controller thinks it is, in millimetres? (2 decimal places)
Answer: mm
3. A two-link arm (L1 = 0.5 m, L2 = 0.35 m) must reach (0.097, 0.674) m with the elbow DOWN (θ2 positive). Its elbow angle is θ2 = 74.9°. What is the shoulder angle θ1, in degrees? (between −180 and 180)
Answer: °
4. A planar arm has links of 40 cm and 35 cm and joints that can turn all the way round. A target is at (0, 71) cm from the shoulder. How far outside the reachable ring is it, in cm? (Enter 0 if the hand can reach it.)
Answer: cm
5. Which conclusion is best supported by a study in this ideal simulator?
- 'Our arm is accurate to 3 mm.'
- 'In this ideal planar model, a 0.5° encoder error gives 3–10 mm of hand error, largest near full reach; real arms will be worse.'
- 'Errors don't matter near the base.'
- 'The simulator proves the design is safe.'