Docsity

Autonomous and Mobile Robotics, Appunti di Robotica

Toggle sidebar
bg1
Autonomous and Mobile Robotics
Giuseppe D’Addario
November 11, 2025
1 The Configuration Space
1.1 The idea
A robot is a complicated thing, hence describing its occupancy in space is complicated. This is the
reason why we want to use a single point in a suitable space to identify the posture (position of
all robot’s points) of the robot. In this way we will be able to plan and control the robot in a simpler
way.
1.2 The Robot
A robot is a system (collection) of N bodies, usually assumed to be rigid, which moves in a worskpace
W(generally in R2or R3).
1.3 The Configuration
The configuration of a robot is the set of nparameters, in minimum number, that identifies the
robot’s posture.
q=
q1
q2
.
.
.
qn
where qiis the generalized coordinate. Those can be of two types:
•Cartesian: describe the position of specific points of the robot (R2or R3);
•Angular: describe the orientation of bodies in non-euclidean spaces (SO(2) or S O(3)). These
spaces are called Special Orthonormal spaces and are represented with matrices that have det = 1.
The number of parameters needed can be computed with the formula N(N−1)
2
The space of all the possible values of qis called configuration space C, also called c-space. This space
is obtained multiplying the generalized coordinates spaces (for example: R2×SO(2) or, R3×S O(3),
etc.)
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38

Anteprima parziale del testo

Scarica Autonomous and Mobile Robotics e più Appunti in PDF di Robotica solo su Docsity!

Autonomous and Mobile Robotics

Giuseppe D’Addario

November 11, 2025

1 The Configuration Space

1.1 The idea

A robot is a complicated thing, hence describing its occupancy in space is complicated. This is the reason why we want to use a single point in a suitable space to identify the posture (position of all robot’s points) of the robot. In this way we will be able to plan and control the robot in a simpler way.

1.2 The Robot

A robot is a system (collection) of N bodies, usually assumed to be rigid, which moves in a worskpace W (generally in R^2 or R^3 ).

1.3 The Configuration

The configuration of a robot is the set of n parameters, in minimum number, that identifies the robot’s posture.

q =

q 1 q 2 .. . qn

where qi is the generalized coordinate. Those can be of two types:

  • Cartesian: describe the position of specific points of the robot (R^2 or R^3 );
  • Angular: describe the orientation of bodies in non-euclidean spaces (SO(2) or SO(3)). These spaces are called Special Orthonormal spaces and are represented with matrices that have det = 1. The number of parameters needed can be computed with the formula N^ (N 2 −1)

The space of all the possible values of q is called configuration space C, also called c-space. This space is obtained multiplying the generalized coordinates spaces (for example: R^2 × SO(2) or, R^3 × SO(3), etc.)

Figure 1: Examples of configuration vector q

Figure 3: Torus manifold representing the configuration space of a 2R robot in a plane. The space is 2D but is embedded in R^3 to be visualized.

1.5 The Distance

d(q 1 , q 2 ) is a distance in C if:

  1. d(q 1 , q 2 ) ≥ 0 ∀q 1 , q 2
  2. d(q 1 , q 2 ) = 0 iff q 1 = q 2
  3. d(q 1 , q 2 ) = d(q 2 , q 1 )
  4. d(q 1 , q 2 ) ≤ d(q 1 , q 3 ) + d(q 2 , q 3 )

If the configuration space is an Euclidean space, C = Rn, or we are in a ”local” setting, the distance d(q 1 , q2) = ||q 1 − q 2 ||, while if the c-space is a manifold, the distance is expressed as the length of the arc of geodesic that joins q 1 , q2 (still the shortest path, but in a space in which there is a curvature).

Computing the geodesic is difficult, or either impossible, hence the solution in robotics is to express the distance as a function of:

  1. B(q): the volume of space (W ) occupied by the robot when in configuration q;
  2. p(q): the position of a point p (W ) when the robot is in q.

d(qA, qB ) = max p∈B ∥p(qA) − p(qB )∥

So, the distance between two different configurations is given by the maximum displacement recorded by a point p on the robot volume in the workspace.

However, this is computationally intensive and there is the problem of the continuity. The solu- tion is to use a finite set of control points p 1 , ..., pn to be carefully chosen on the robot. In this way the formula simplifies to:

d(qA, qB ) =

XXX^ n

i=

∥pi(qA) − pi(qB )∥

Figure 4: Examples of c-spaces

Figure 6: Static balance condition for both a wheeled and a legged robot.

2.3 The wheels

There exists three basic types of wheels:

  • Fixed: the wheel has a fixed orientation with respect to the chassis of the robot. There is only one axle of rotation which is located in the center of the wheel and is in the horizontal plane. It can be both active, if used to drive the robot, hence is moved by a motor, or passive, if used to obtain balance.
  • Steerable: the wheel has two axis of rotation, one horizontal and the other vertical, both passing through the center of the wheel. The first let the wheel roll on the ground, while the second change its orientation with respect to the chassis. Typically these wheels are active, because are used to achieve directionality.
  • Caster: the wheel have the same two axes of the steerable one, but this time they do not intersect in the wheel’s center. The offset has the effect that the wheel automatically and quickly alignes with the direction of motion. these wheels are typically passive, and are used to keep directionality as there were no wheels at all, so the object can be pushed and roll without encountering any resistance, in any direction. It is usually used to add the third point of contact to ensure balance.

Figure 7: * (Fixed)

Figure 8: * (Steerable)

Figure 9: * (Caster)

Figure 10: Image and icon of the three types of wheel.

2.4 Kinematic Structures

Among the many kinematic structures existing, we can find:

  • Differential-Drive Robot: it has two fixed active wheels and usually one caster wheel, but occasionally can have two of them. The robot turns by assigning different velocities to the two active wheels, which for this reason, are independently activated. So, the robot has two motors, one for the left and one for the right wheel, and thus is called differential-drive. This robot can achieve every motion but lateral motion.
  • Synchro-Drive Robot: it has three steerable wheels, which are simultaneously activated. However, the robot still mounts two motors, one for driving and one for rotating (simultaneously, and of the same amount) all the wheels. Since these wheels are orientable, they rotate with respect to the upper body, which stays still. For this reason, this structure is suitable for tall and bulky robots, in which often there is a third motor to rotate specifically the upper part. In this way, turning the wheels does not cause the whole robot to turn, saving a lot of energy, which would be done, instead, using differential-drive.
  • Tricycle Robot: it has two fixed wheels on a common axle, hence not driven by different motors, and one steerable wheel.
  • Car-like Robot: as the tricycle, has two fixed wheels and also two steerable wheels, rep- resenting the common structure of a car. Both pairs of wheels are on the common axle, so are commanded simultaneously. However, considering a car driving on an arc-shaped path, its outer wheels will travel more than its inner wheels, in the same time. This means that the speed of the outers needs to be higher. To solve this problem, another mechanical component is added in the middle of the common axle, a differential.

Figure 11: Arc-shaped path in which the outers wheels travel more than the inners ones.

  • Firetruck: it’s composed by the tractor (a car) followed by the trailer, which is fixed, and has its rear wheels of the steerable type. The american firetruck, in this way, achieves more maneuverability to turn in smaller space, useful since is a long vehicle.
  • Omnidirectional Robots: they achieve omnidirectIonality using either caster wheels of Mecanum wheels. In the first case, the robot can rotate while moving in a straight line, and in both case carry large loads. However, the price to pay is having one extra motor, so leading to three motors, independently actuated.

q˙ ∈ N (A(q)) The dimension of A(q) is k × n, leading to a wide matrix, since k is always less than n. The dimension of N (A(q)) is, instead, n − k, a linear space in which the sum, multiplication, etc. are operation of the group. (e.g. the sum of two admissible velocities is still an admissible velocity). Since in this case there are only limitations on ˙q and not the configuration q, the mobility limitation is local.

3.1 Relations between GC and KC

GC − > KC

A geometric constraint always imply a kinematic one. Considering:

h(q) = 0

dh(q) dt

∂h ∂q

= a(q)T^ q˙ = 0

with a(q)T^ = ( (^) ∂q∂h 1 ,... , (^) ∂q∂hn ), is actually a kinematic constraint. The geometric interpretation of this is that a(q)T^ = ( (^) ∂q∂h 1 ,... , (^) ∂q∂hn ) = ∇qhT^ , the gradient. And then: ∇qhT^ q˙ = 0

meaning that ˙q must be normal to the gradient. Hence, the velocity must be tangent to the curve.

KC − > GC

Sometimes this is true, while in other cases this is not true. It depends on the constraint that can be either holonomic or non-holonomic, if it’s, or not, integrable. Few examples:

  • Robot: point in a plane, q ∈ R^2 considering the (Pfaffian) kinematic constraint:

q 1 q˙ 1 + q 2 q˙ 2 = 0

that can be also written as q 1 q 2

| {z } aT^ (q)

q˙ 1 q ˙ 2

We know that this constrain is holonomic because its integral exists and is:

q 1 + q 2 = c

For this reason this (KC) constraint implies a (GC) global mobility limitation. In this spe- cific case, the admissible configurations will be the ones which lie on the circle with radiusp q 1 (q)^2 + q 2 (q)^2 =

c

  • Robot: point in a plane, q ∈ R^2 considering the (Pfaffian) kinematic constraint:

q 2 q˙ 1 + q 1 q˙ 2 = 0

that can be also written as q 2 q 1

| {z } aT^ (q)

q˙ 1 q ˙ 2

We know that this constrain is holonomic because its integral exists and is:

q 1 q 2 = c

In this specific case, the admissible configurations will be the ones which lie on the hyperbola that goes through the point c. Note: for every initialization of c we have one different arc of hyperbola.

  • Rolling disk (wheel) Considering:

q =

x y ϑ

 (^) ; C = R^2 xSO(2); n = 3

under the assumption of no slip, we have the (non-holonomic) constraint:

sin ϑ x˙ − cos ϑ y˙ = 0

that can be written as: sin ϑ − cos ϑ 0

x ˙ y ˙ ϑ^ ˙

The geometric interpretation of the constraint is that the velocity of the contact point must be on the Sagittal axis, which is normal to the Zero Motion Line, on which the disk cannot slip. This constraint is called Pure Rolling, and is in fact the consequence of the assumption of no slipping.

Figure 12: * (Circle) Figure 13: * (Hyperbola)

Figure 14: * (Pure Rolling)

Figure 15: From left to right: Foliations of R^2 for the first two examples of holonomic constraints, and then the pure rolling constraint visualization. Note: a foliation is a collection of infinite points that has a reduced dimensionality with respect to the space of interest. e.g a line in R^2

To check if a constraint is integrable or not we can use an approach based on the Frobenius Theorem, looking at controllability instead of integrability. If the robot is controllable, it means that there is no global limitation, hence the constraint was non-holonomic. This can be checked with rather:

  • an algebraic test (Chapter 5)
  • constructively, through a maneuver

Figure 16: The maneuver consists of: (1) a pure rotation in the initial position qi; (2) a pure rolling movement towards the final position qf ; and (3) a pure rotation to align with the final orientation ϑf.

Considering:

q˙ =

u 1 .. . un

The controller can be schematized as a parallel of n simple integrators:

u R q

4.3 Unicycle model

The unicycle is a vehicle consisting of a single orientable wheel.

q =

x y ϑ

 (^) with C = R^2 × SO(2)

Subject to the pure rolling constraint:

sin ϑ − cos ϑ 0

x ˙ y ˙ ϑ^ ˙

In order to define the kinematic model, we need a basis for N (A(q)), where A(q) =

sin ϑ cos ϑ 0

cos ϑ sin ϑ 0

| {z } g 1 (q)

| {z } g 2 (q)

Now we can write the kinematic model (not unique, since it depends on the choice of the basis):

q˙ =

cos ϑ sin ϑ 0

 (^) u 1 +

 (^) u 2

from which we obtain: (^)  



x ˙ = cos ϑ u 1 y ˙ = sin ϑ u 1 ϑ^ ˙ = u 2

The interpretation of the commands is that:

  • from x˙^2 + ˙y^2 = u 1 we obtain the input u 1 = ±

p x˙^2 + ˙y^2 = v, which is the magnitude of the cartesian velocity vector, called the driving velocity, and is computed as v = Rωroll (respectively the radius and the angular velocity of the wheel).

  • u 2 = ϑ˙ = ω, the steering velocity

So, we can rewrite the kinematic model as:

q˙ =

x ˙ y ˙ ϑ^ ˙

cos ϑ sin ϑ 0

| {z } Drive vectorfield

v +

| {z } Steer vectorfield

ω

Stable equivalent vehicles

Among the vehicles which are stable in the sense they don’t fall, we have some of them that are equivalent to the unicycle:

  • Differential Drive: its two fixed wheels can be considered as a unique wheel centered in the middle of their axle, and if we add as a third point of contact, a caster wheel, this will not introduce any other constraint. This vehicle can roll applying the same velocity on the two rear wheels, and it can steer by applying to them opposite velocity. The kinematic model is the same of the unicycle

q˙ =

cos ϑ sin ϑ 0

 (^) v +

 (^) ω

However, we need to map v and ω:

  • v = r(ω^12 + ω^2 ), with r the wheel radius and ω 1 , ω 2 the two angular velocities.
  • ω = r(ωR d− ωL), with d the distance between the wheels. This implies that small robots turn faster, while big robots turns slower.
  • Synchro Drive it has the same kinematic model of the unicycle:

q˙ =

cos ϑ sin ϑ 0

 (^) v +

 (^) ω

and also v and ω have the same interpretation of the unicycle.

Figure 17: * (Differential Drive)

Figure 18: * (Synchro Drive)

Figure 19: Examples of equivalent but mechanically stable vehicles

One we have written everything in terms of the original coordinates, we can rewrite the constraints in matrix form:  sin ϑ − cos ϑ 0 0 sin(ϑ + φ) − cos(ϑ + φ) −l cos φ 0

| {z } A(q)

x ˙ y ˙ ϑ^ ˙ φ ˙

| {z } q ˙

Let’s now build a (2-dim) basis for N (A(q)), so that we can write the kinematic model:

g 1 (q) =

cos ϑ sin ϑ α 0

we start from the unicycle and now we try to find a valid α:

sin(ϑ + φ) cos ϑ − cos(ϑ + φ) sin ϑ − l cos ϑα = 0

which can be simplified (using trigonometrics expressions) into:

sin φ − l cos φα = 0

leading to:

α =

tan φ l Instead, g 2 (q) is rather obvious:

g 2 (q) =

Now we can write the KM (kinematic model) for the RWD:

q˙ =

cos ϑ sin ϑ tan ϑ l 0

 u^1 +

 u^2

Let’s interpret the controls u 1 and u 2 :   

 

x ˙ = cos ϑu 1 y ˙ = sin ϑu 1 ϑ^ ˙ = tan^ ϑ l u^1 φ ˙ = u 2

The first two equations, can be squared and summed, leading to the interpretation of u 1 = ±

p x˙^2 + ˙y^2 = v From the last equation is obvious that u 2 = ˙φ = ω. But if we consider an angle φ = ± π 2 we would have a singularity, since the motion is impossible without letting the front wheel to slip. The vehicle is controllable, but since it cannot turn in place, the maneuver is different from the one discussed above. Considering now the KM (kinematic model) for the FWD, similar computations will lead to:

q˙ =

cos ϑ cos φ sin ϑ cos φ sin φ l 0

 v^ +

 ω

which is simply obtained by the previous g 1 (q) multiplied by cos φ. In this case v is the driving velocity of the front wheel. Furthermore, in FWD we don’t have any singularities, since if φ = ± π 2 the vehicle will be pivoting around the contact point of the rear wheel.

Figure 21: Geometric interpretation of the two constraints

The geometric interpretation of these two constraints is that all points of the robot are moving along an arc of circle centered in the ICR (Instantaneous center of rotation).

Stable equivalent vehicles

  • Tricycle: the kinematic model is the same of the bicycle, and can be either FWD or RWD. The two rear wheels can be considered as only one wheel in the center of the axle connecting them.
  • Car-like: the kinematic model is the same of the bicycle, but we need two mechanical device to let this vehicle drive correctly. One is the already mentioned Differential, the other one is the Ackermann Steering. The latter is a device which changes the orientation of one of the two front wheels such that the two ZML will intersect in one point. Without this device, there will be two parallel ZML passing through the two front wheels, and they will intersect the ZML passing through the rear wheels in two different points, so there will not be anymore the ICR, causing the car to constantly slip.

Figure 22: Ackermann Steering application to let the two ZMLs intersect in the same point.

with initial state: x(0) = x 0

After the execution of the control sequence (Figure 27) the resulting final state is:

x(4ϵ) = x 0 + ϵ^2 [g 1 , g 2 ](x 0 ) + O(ϵ^3 ) | {z } state displacement

The main displacement is in the direction of the Lie Bracket, with a second component of a higher order term, resulting from the Taylor expansion, which goes to zero as ϵ^3. Hence, the Lie bracket can be seen as the displacement after a particular maneuver.

Figure 26: * (Geometry of a Lie bracket control sequence)

Figure 27: * (Interpretation of a Lie bracket control sequence)

Figure 28: Examples of equivalent but mechanically stable vehicles

5.1.2 Distribution

Considering the following system:

x˙ =

X^ m

j=

gj (x)uj

We can define the input distribution as the linear space of all possible linear combinations:

∆ = span{g 1 (x),... , gm(x)}

∆ assigns to each x ∈ C the linear space defined as the span of the vector fields at that point. If the dimension of the span{g 1 (x),... , gm(x)} = d, with d const ∀x, then: dim ∆ = d. While, the accessibility distribution is defined as:

∆A = span{g 1 (x),... , gm(x),... , gi, gj | {z } first order LB

,... , gi, [gi, gj ] | {z } second order LB

The system is said to be controllable if f dim ∆A = n, with n the dimension of the state space. This is known as the Lie algebra rank condition or the Chow’s Theorem. The meaning is that if the system can move in any direction with an appropriate maneuver, it’s controllable.

5.2 Controllability of the Unicycle

Remembering the model of the unicycle:

q˙ =

x ˙ y ˙ ϑ^ ˙

cos ϑ sin ϑ 0

| {z } g 1

v +

| {z } g 2

ω

Let’s compute the admissibility distribution. Since n = 3:

∆A = span{g 1 , g 2 , [g 1 , g 2 ]}

We need to check that the Lie bracket of g 1 and g 2 is not a linear combination of them, so that the dimension of the span could be equal to n.

[g 1 , g 2 ] = ∂g 2 ∂x

g 1 − ∂g 1 ∂x

g 2 = −

0 0 − sin ϑ 0 0 cos ϑ 0 0 0

sin ϑ − cos ϑ 0

We can notice that the first two components of the resulting vector field are nothing less than the versor of the ZML. In general, to check if the new vector field is linear indipendent from the two components g 1 and g 2 we build a matrix stacking them one next to the other and we check its rank. In this case:

rank

cos ϑ 0 sin ϑ sin ϑ 0 − cos ϑ 0 1 0

 (^) = 3 =⇒ dim∆A = 3

Hence, the system is controllable.

5.3 Controllability of the Bicycle

Remembering the model of the bicycle:

q˙ =

x ˙ y ˙ ϑ^ ˙ φ ˙

cos ϑ sin ϑ tan φ l 0

| {z } g 1

v +

| {z } g 2

ω

Let’s compute the admissibility distribution. Since n = 4:

∆A = span{g 1 , g 2 , [g 1 , g 2 ], ([g 1 , [g 1 , g 2 ]] or [g 2 , [g 1 , g 2 ]]) | {z } Second order LB

We need to check that both first and second order Lie brackets are linearly independent, so that the dimension of the span could be equal to n.

[g 1 , g 2 ] =

∂g 2 ∂x

g 1 −

∂g 1 ∂x

g 2 = −

∗ ∗ ∗ (^) l cos^12 φ ∗ ∗ ∗ 0

 =^ −

− (^) l cos^12 φ 0

| {z } g 3

Now let’s compute the second order Lie bracket:

[g 1 , g 3 ] = f rac∂g 3 ∂xg 1 −

∂g 1 ∂x

g 3 = −

∗ ∗ − sin ϑ ∗ ∗ ∗ cos ϑ ∗ ∗ ∗ 0 ∗ ∗ ∗ 0 ∗

− (^) l cos^12 φ 0

 =^

l cos^2 φ

− sin ϑ cos ϑ 0 0

| {z } g 4

Notice, again, that the first two components of the resulting vector field are the versor of the ZML. Instead, the vector field g 3 represents the so called ”wriggle” vector field and consists in a rotation around the rear wheel. Let’s now check the linear independence:

rank

cos ϑ 0 0 − (^) l cossin^2 ϑ (^) φ sin ϑ (^0 0) l coscos^2 ϑ (^) φ tan φ l 0 −^

1 l cos^2 φ 0 0 1 0 0