You are on page 1of 13

Exam for DD2410 - Introduction to robotics 2020-10-23

With Answer Key

Permitted aids: Paper, pencil, eraser

Notes:

Answer on the separate answer sheet. Write legibly, ambiguous answers


will be given 0 points.

Each question can be awarded a maximum of 4 pts. If a question can be


awarded partial credit, this will be explicitly described in the question.

Maximum possible score on the exam is 100 pts. Any bonus points will be
added to the exam score.

A passing grade requires a sum of exam score and bonus points of at


least 80 pts.

A sum of exam score and bonus points of at least 70 pts will be graded as
Fx, which means that the student is given the opportunity of completing
the grade to a passing grade after passing an oral exam.

Course responsible: Christian Smith (ccs@kth.se)

1 (13)
Question 1:

Assuming that we know the DH parametrization for a 6 DoF manipulator


with no singularities in its workspace, which of the following can we be
sure to be able to calculate? Mark each answer with true or false .
(0.5 pt. for each correctly marked answer)

a) The closed form forward kinematics. T

b) An arbitrarily precise numerical approximation of the forward


kinematics. T

c) The closed form inverse kinematics. F

d) An arbitrarily precise numerical approximation of the inverse


kinematics. T

e) The differential kinematics. T

f) The inverse differential kinematics. T

g) The forward dynamics. F

h) The inverse dynamics. F

Question 2:
Given a 7 DoF manipulator (e.g. Kuka LBR iiwa, see image below) in a
non-singular configuration, in how many degrees of freedom can the
translational velocity of the end effector be controlled? (4p for correct
answer.)
3

Question 3:

name: _______________________________________________________ number:______________________________


2 (13)
Mark the generally true or false statements regarding
homogeneous coordinates and transforms.

Assume:

p i
pi: point in frame p˙i : time

derivative of point p in frame i

a
Tb: coordinate transform (homogeneous transformation) between frames
a and b

(1p per correctly classified statement.)

a) pa = aTb pb T

b) pb = (aTb)T pa F

c) p˙a = a Tb p˙ b F

d) pa = aTx xTb pb T

Question 4:

For each of the following scenarios, suggest the most appropriate


actuator type. Note that the same type may be used in multiple answers.
Choose from:
1) Pneumatic cylinders 2) Hydraulic cylinders
3) Brushless electric motors 4) Electric stepper motors
(1 pt for each correct answer)

a) An animatronic robot that children can touch at a museum 1


b) A cheap sketch robot that uses a pen to draw pixel graphic images
from jpg files 4
c) A rescue robot for clearing out debris from collapsed buildings 2
d) A high performance industrial robot that picks car parts from a bin in a
factory. 3

Question 5:
name: _______________________________________________________ number:______________________________
3 (13)
Mark all statements regarding the inverse kinematics of robotic
manipulators as either True or False.

(1p per correctly classified statement.)

a) There can exist multiple valid joint configurations that solve the
inverse kinematic problem for a given pose in cartesian space. T
b) Solutions to the inverse kinematics problem can include
configurations that make up a kinematic singularity. T
c) Assuming a 6 DoF serial manipulator, and no singularities within a
bounded spheroid around the target pose, the closed form inverse
kinematics can always be found by inverting the forward kinematics.
F
d) Given a manipulator with at least 6 DoF, there exists inverse
kinematics solutions for all poses in Cartesian space. F

Question 6:

What is the minimum number of joints required for a robot to potentially


have kinematic singularities in its workspace? State your answer as a
number, or answer 'impossible' if it is never possible, regardless of the
number of joints.

(The correct answer gives 4 p)

Question 7:

What is the minimum number of contact points necessary to achieve a


force closure on a sphere? (Correct answer gives 4 p) Answer
with a number.

Question 8:

Assume that we have a DH description of the 7 DoF KUKA robot pictured


in question 2. Assume that we also have recorded accurate, high-
frequency measurements of joint angles, joint velocities, and joint
torques. Assume that the robot has been moving randomly through a
large portion of its workspace, at times close to its dynamical limits, but

name: _______________________________________________________ number:______________________________


4 (13)
never touching anything. Which of the following quantities should we be
able to calculate from the recorded values?
(Each correctly marked alternative gives 1 p)

Answer with true/ false.

a) The total distance traveled by the end effector. T


b) The inertial properties of all the moving links. T
c) The total amount of energy consumed by the robot. F
d) The total mass of the robot. F

Question 9:

Which of the following statements regarding kinematic singularities for a


robot are true? Mark each answer with true/false.
(2p per correctly classified statement.)

a) When a manipulator is in a singular configuration the maximum


possible velocity is zero, so it is inherently safe to interact with. F
b) One of the benefits of redundant manipulators (like the robot in
Question 2) is that they can always use the redundant degree(s) of
freedom to avoid any kinematic singularities. F

Question 10:

Sort the following numerical computations in order of increasing


computational cost for the general case. Assume that we only have a DH
description of the robots. badc
(Complete list in correct order gives 4 p)

a) Computing the forward kinematics of an RRRRRR (6 DoF)


serial link manipulator.
b) Computing the inverse kinematics of a PPP cartesian gantry
robot.
c) Computing the inverse kinematics of an RRRRRR (6 DoF)
serial link manipulator.
d) Computing the inverse differential kinematics for an RRRRRR (6
DoF) serial link manipulator.

name: _______________________________________________________ number:______________________________


5 (13)
Question 11:

Mark the following statements regarding the behavior tree below as either
true or false: (2p per correctly classified statement.)

a) If we add "... AND not re-charging" to the condition, fast switching is


less likely. T

b) The battery is only recharged if the condition is False T

Question 12:

Mark the following statements regarding behavior trees as either true


or false: (1p per correctly classified statement.)

a) If all conditions in a behavior tree return Failure, then the top node
must also return Failure F
b) A condition has fewer possible return statuses then an action. T
c) A condition cannot return Failure F
d) If the 2nd child of a Sequence returns running, the 1st child must
have returned Success. T

Questions 13:

Consider the backward chained Behavior Tree below. The overall


objective is to get the object to the goal area. Write the numbers 1 - 6 for
the components below at the corresponding letter so that the design
makes sense. (4p for a correct answer)

Q13: a)__3_ b)_1__ c)_4__ d)_5___ e)_2___ f)_6___

( a)__3_ b)_ 4_ c)_ 1_ d)_5___ e)_2___ f)_6___ is also OK)

name: _______________________________________________________ number:______________________________


6 (13)
1. Object in Gripper (condition)
2. Object on the Floor (condition)
3. Object in Goal Area (condition)
4. Robot in Goal Area (condition)
5. Drop Object (action)
6. Push Object (action) _

Question 14:

Given the planning problem defined by X and U below. Each correct


answer gives 2p.

a) What is the min number of transitions needed to get from (0,0) to


(2,3)? 5

b) If, instead U = {(x,y) x,y in Z such that x=0 or y=0} , with Z the
same as in a above, what would be the minimum number of
transitions needed to get from (0,0) to (2,3)? 2

Question 15:

A common approach in path planning is to stop once you find a feasible


solution. For which of these algorithms does it make sense to keep
running the algorithm after a feasible solution is found? (several options
might be correct, 4 p for a completely correct answer)

a) RRT F
b) RRT* T
c) Dijkstra’s algorithm F
name: _______________________________________________________ number:______________________________
7 (13)
d) A* F

Question 16:

For each alternative below, mark if it is true or false, regarding a


differential drive robot. (2p per correctly classified statement.)

a) Unless you have encoders on both wheels you cannot estimate the
dead reckoning motion in any way. F
b) If you have wide wheels (think rear wheel of a Formula 1 car),
odometry is, in general, more accurate than if you have thin wheels
(think bicycle wheel). F

Question 17:

Mark each statement about multi-rotor aerial vehicles as true or false. (2p
per correctly classified statement.)

a) The can glide without motor power well F


b) They are can hold still in air quite well T

Question 18:

Mark each of the following statements as true or false regarding a


walking robot. (2p per correctly classified statement.)

a) The gait describes the walking pattern, i.e., the order in which legs
are lifted and moved. T
b) Compared to using wheels, the main advantage of legs are, in
general, lower mechanical complexity and lower energy
consumption. F

Question 19:

Which of the following sensors allows us to measure distance traveled,


either directly or by comparing two consecutive sensor readings. Mark
each alternative as true or false. (2p per correct answer.)

a) LIDAR T
b) Gyro F
name: _______________________________________________________ number:______________________________
8 (13)
Question 20:

Use the Kalman filter equations to answer the questions below.

Consider a scalar case where A=1, W=1, H=1, V=1 and the motion model
is
xk+1= xk + velk*dT + wk+1

and the measurement model is


=x + v
zk k
,
k

where zk is also a scalar. The noise processes are distributed as

wk ~ N(0,Q k) and vk ~ N(0,Rk).

In this context, mark each statement as true or false . (2p per


correctly classified statement.)

a) A very accurate sensor would be modelled as Q k being large. F

b) If the state covariance matrix P is very large and the sensor noise is
low, the Kalman gain K would be close to 1. T

Question 21:

Mark each statement about a feature based representation as true or


false. (2p per correctly classified statement.)
name: _______________________________________________________ number:______________________________
9 (13)
a) Can be used with both images and LiDAR data as input. T

b) Matching the features over time, so called data association, is one


of the main challenges. T

Question 22:

Mark each statement as true or false regarding occupancy grids. (2p


per correctly classified statement.)

a) Occupied space is represented explicitly, allowing you to query the


representation directly for what parts of space that are occupied
(given on a specific threshold). T

b) Using an adaptive cell size allows us to save memory. T

Question 23:

Consider the following two sampled probability distributions a) and b). For
each distribution, give the best matching covariance matrix. (2p for each
correct match)

name: _______________________________________________________ number:______________________________


10 (13)
1) Cov = [5 4 3) Cov = [50 40 5) Cov = [3 0
4 5] 40 50] 0 1]

2) Cov = [1 0 4) Cov = [10 0 6) Cov = [1 0


0 1] 0 10] 0 3]

Question 24:

Mark each statement regarding SLAM as either true or false . (2p per
correctly classified statement.)

a) Having moving objects in the field of view of the sensor typically


makes solving SLAM easier. F

b) All other things being equal, if you travel in a straight line and thus
never revisit previously seen areas the error you get at the end
would typically be much larger than if you instead move the same
distance several laps around a building. T

Question 25:

name: _______________________________________________________ number:______________________________


11 (13)
Your phone is often equipped with both an accelerometer and a gyro. Let
us say that you put the phone flat on the table and spin it around. Which
of the two sensors would best help you estimate the number of rotations it
makes before it stops? (4p for correct answer)

a) Gyro

b) Accelerometer.

name: _______________________________________________________ number:______________________________


12 (13)
Answer sheet

Q1: a)___T_ b)___T_ c)__F__ d)__T__


e)__T__ f)__T__ g)_F___ h)__F__
Q2: ____3______
Q3: a)__T__ b)__F__ c)__F__ d)__T__
Q4: a)__1___ b)__4___ c)_2____ d)__3___
Q5: a)_T____ b)__T___ c)__F___ d)__F___
Q6: _2_________ Q7:
__3________
Q8: a)__T___ b)_T____ c)__F___ d)__F___
Q9: a)__F___ b)_F____
Q10: __b__ __a__ __d__ __c__
Q11: a)__T___ b)___T__
Q12: a)_F____ b)__T___ c)_F____ d)__T___

Q13: a)__3_ b)_1__ c)_4__ d)_5___ e)_2___ f)_6___

( a)__3_ b)_ 4_ c)_ 1_ d)_5___ e)_2___ f)_6___ is also OK)

Q14: a)_5___ b)_2___


Q15: a)_F___ b)_T____ c)__F___ d)_F____
Q16: a)__F___ b)__F___
Q17: a)__F___ b)_T___ Q18:
a)_T___ b)__F___
Q19: a)__T___ b)___F__
Q20: a)__F___ b)___T__
Q21: a)_T____ b)___T__
Q22: a)__T___ b)__T___
Q23: a)__2___ b)__1___
Q24: a)__F___ b)__T___
Q25: __a________

name: _______________________________________________________ number:______________________________


13 (13)

You might also like