Skip to content

Bearing

Introduction

Distance measurements are not the only geometrically pertinent quantities that can be used in formation maintenance. Agents in a formation network can have other sensing capabilities and exploiting one or more of the capabilities can contribute to shape control.

Another form of such a geometric quantity is bearing, and such a quantity, in conjunction with distance, can contribute in maintaining the shape of a formation. Bearings along with distances have been used for navigation of robot applications by using the leaderfollower approach while maintaining a desired formation.

A bearing is the angle between the x-axis of the local coordinate system of node i and the line segment joining node i with node j with which the node i has a sensing/communication link. The angle is measured in trigonometric direction from x-axis of the local coordinate system.

  • By “trigonometric direction” is meant the counterclockwise rotation direction around a trigonometric circle.
  • By a node’s local coordinate system is meant a coordinate system which is chosen by each node based on some criteria, e.g., the coordinates are referenced to a known location in the immediate area, or the longer side of a node is chosen to be the x -axis of the local coordinate system, and so forth. Two local coordinate systems may not always line up on the same map.

If two nodes i and j have a sensing/communication link between each other, then bearing constraints for i and j, denoted by ψij and ψji respectively, are the angles between the x-axis of each node’s own coordinate system and the link (i,j).

two benefits of bearing measurements:

  1. A formation based on angles can be scaled up more easily compared to formations using only distance measurements since bearings are essentially angle measurements. A bearing rigid formation based on all bearings with an additional measurement of one distance measurement maintains its shape. If we reserve the single distance measurement between the 1st and the 2nd leader agents, then translation, rotation and scaling of the formation can easily be managed by these two agents.
  2. Bearing-based rigidity along with a single distance measurement not only provides local uniqueness that is useful for formation shape, but also provides global uniqueness that plays a role in multi-agent localisation. This property gives us an unambiguous relative positions of agents with respect to each other.

2D Bearing Rigidity

Parallel Drawings

Definition: plane configuration

A plane configuration is a collection of geometric objects such as points, line segments and circular arcs in the plane, together with constraints on and between these objects.

Definition: parallel drawings

Two formations on the same graph are parallel drawings if corresponding edges are parallel.

By a 2D formation at p[p1,p2,,pn], written F(p)=(V,E,p), is meant a set of n agents indexed by a set of integers V={1,2,,n}, together with a set E of m links, labelled (i,j), where i and j are distinct integers in {1,2,,n}. In this context, the points pi represent the centre positions of agents in R2.

Given a formation F(r) with an underlying graph G=(V,E), we are interested in parallel drawings F(s) with the same underlying graph G=(V,E) in which sisj is parallel to rirj for all (i,j)E. Using the operator (), for turning a plane vector by π/2 counterclockwise, these constraints can be written as

(1)(rirj)(sisj)=0

Each such constraint is called a direction constraint D. A formation with direction constraints can be represented by (V,D,g) where g:DSd1 (the unit sphere of directions). Each maintenance link (i,j)D is used to maintain the direction g((i,j)) of the line joining certain pairs of agents fixed w.r.t. a reference coordinate system. This gives a system of |D| homogeneous linear equations, and a parallel drawing is a solution of this system. The theory of parallel drawings is the dual of rigidity.

Proposition 1

A bearing constraint can be written as a direction constraint.

Proof:

Details of Proof

A bearing constraint for node i along the trajectory s can be expressed as:

[sj(t)si(t),ex]=Θij.

and similarly the bearing constraint for node j along the trajectory s can be expressed as:

[si(t)sj(t),ex]=Θji.

where ex is the unit vector along the x-axis of the global coordinate system, and [] stands for the function that maps the two vectors in the argument to the angle between them, where the angle is measured in the counterclockwise direction from the 2nd vector to the 1st vector in the argument, and Θ is the bearing information in the global coordinate system.

By a trajectory of Fp, we mean a continuously parameterized, one-parameter family of points {s(t):t0} in Rdn , which contains p. Let us consider a particular fixed set of points, pd=(p1,p2,,pn), along the trajectory s(t) where the bearing constraints are satisfied. We can think of pd as a reference set of points that determines the desired bearing constraints for the formation and the nodes can be thought of satisfying the bearing constraints set by pd at all other points along the trajectory. For node i, we can write

[(pjpi),ex]=Θij.

and for node j, we get:

[(pipj),ex]=Θji.

Next, let us consider the vector (pjpi) which is obtained by rotating the vector (pjpi) counterclockwise by 90 and the vector (pipj) which is obtained by rotating the vector (pipj) counterclockwise by 90. For these two vectors we write,

[(pjpi),ex]=π2+Θij(mod2π).

and for node j, we get:

[(pipj),ex]=π2+Θji(mod2π).

Thus

[(pjpi),sj(t)si(t)]=π2[(pipj),si(t)sj(t)]=π2(pipj)(si(t)sj(t))=0.

For every link with a bearing constraint in the point formation, it is now straightforward to write

(pipj)(si(t)sj(t))=0,(i,j)E,t0.

Q.E.D.

This gives a system of |E| homogenous linear equations. A solution of this system with respect to Fp is called a parallel point formation.

Parallel Rigidity

Given a formation F(p) in 2-space with direction constraints, we are interested in parallel formations F(r) in which rirj is parallel to pipj for all (i,j)E within the global coordinate system. Trivially, parallel formations are translations and uniform scaling (homothety) of the original formation, including the parallel formation in which all agents are coincident. All others are non-trivial.

Parallel Constaints
Figure 1: Parallel Constraits

For example, Figure 1(b) shows a translation of the formation in Figure 1(a); and Figure 1(c) and (d) are uniform scaling of the formation in Figure 1(a). In particular, Figure 1(c) is a uniform contraction and Figure 1(d) is an uniform expansion. Figure 1(e) shows a non-trivial parallel formation of Figure 1(a), because the formation in Figure 1(e) cannot be obtained from the formation in Figure 1(a) by translation or uniform scaling although all the corresponding links in these two formations are parallel to each other.

Definition: parallel rigid motion

A parallel rigid motion is a trajectory along which point formations contained in this trajectory are translations or dilations of each other.

Two point formations Fp, and Fq, are parallel if they have the same graph and their corresponding maintenance links are parallel to each other.

Definition: parallel rigid

A formation F(p) with direction constraints is called parallel rigid if all parallel point formations of F(p) are trivially parallel to F(p). Otherwise it is called flexible.

If parallel rigid motions are the only possible trajectories then the formation is called parallel rigid, otherwise parallel flexible.

For example, the formation in Figure 1(a) is flexible. On the other hand, the formation in Figure 1(f), which is obtained from the formation in Figure 1(a) by inserting an extra link (1,3), is a parallel rigid formation.

Taking the derivative of (1) (recall that p is a fixed point set and s(t) is time varying in (1)), we obtain

(pipj)(s˙i(t)s˙j(t))=0,(i,j)E,t0.

These equations can be rewritten in matrix form as

RB(p)s˙=0

where q˙=[q˙1,q˙2,,q˙n] and RB(p) is the rigidity matrix for formations with bearing information.

It is shown that any statement for a point formation of distances can be given for the same point formation of directions where distances are switched with directions. The isomorphism goes down the pairs of columns for each vertex, turning all the vectors by 90 (in a direction of choice). This process preserves the solution space (just turning the solutions by 90 as well), and turns each row for a distance into a row for a direction. Because of this geometric switching, there is a generic switching theorem that converts results in a direct fashion, so the generic type of rigidity is defined in the same manner as in the case of distances. Thus the graph theoretic test is given with the following theorem:

Theorem 1

A graph G=(V,E), where E denotes the set of links with bearing measurements, is generically parallel rigid in 2-space if and only if there is a subset EE satisfying the following two conditions:

  1. |E|=2|V|3;
  2. For all EE,Eϕ,|E|2|V(E)|3, where V(E) is the number of vertices that are end-vertices of the edges in E;

For networks using pure distance information, the conditions for global rigidity are stronger than those for rigidity of formation with distance constraints.

For networks in 2-space with bearing information between nodes, the situation is strikingly different. Because the key constraints are linear equations, if there are two non-similar parallel formations with points p and q, then both formations are not rigid. Therefore, for these formations, parallel rigidity implies global rigidity up to similarity. In 2-space, if we have the 2n3 bearings of a parallel rigid formation, and add one length, we will have a globally rigid formation. We do have a simple combinatorial characterization (counting) and fast algorithms for global rigidity.

Theorem 2

If Fp is a formation in 2-space, then Fp is parallel rigid if and only if Fp is globally rigid under translation and dilation maps.

Proof:

Details of Proof

Suppose that Fp is not globally rigid. Therefore, there is a parallel drawing Fq which is not similar to Fp as a configuration. We will show that Fp is flexible with Fq as a non-trivial parallel drawing. For all edges (i,j)E,(pipj) is parallel to (qiqj). Therefore, (pipj)(qiqj)=0 as required. Since Fp is not similar to Fq, there is some pair (h,k)E such that phpk is not parallel to qhqk . Therefore, (phpk)(qhqk)0 . This confirms that Fq is a non-trivial parallel drawing of Fp.

Conversely, suppose that Fp is flexible with a non-trivial parallel drawing Fq. Then Fq itself is the non-similar parallel drawing of Fp which shows it is not globally rigid.

More generally, nodes are not confined to use their sensing and communication links for measuring distances only. We can exploit such a possibility to generate point formation that is not only locally unique but also globally unique with as few links as a minimally rigid formation.

For formations with combined distance-bearing constraints, there is the following combinatorial characterization of parallel rigidity.

Theorem 3: generically parallel rigid

With L for distances and B for bearings, a graph G=(V,L,B) is generically parallel rigid in 2-space if and only if the following conditions hold:

  1. |L|+|B|=2|V|2 ;
  2. For all subsets V of vertices: |L|+|B|2|V|2 ;
  3. For all subsets V of at least 2 vertices: |B|2|V|3;
  4. For all subsets V of at least 2 vertices: |L|2|V|3 .

TODO Proof

B. Servatius, W. Whiteley, “Constraining plane configurations in Computer Aided Design: Combinatorics of directions and lengths,” 1995, preprint, York University, North York, Ontario.

The conditions for distance-direction constraints are closely related to the conditions for parallel rigidity for distance-bearing constraints since bearing constraints can be written as direction constraints as stated in Proposition 1.

A point formation using direction-distance constraints can be unique up to translation. This will require 2|V|2 independent constraints. For example, it is easy to see that:

  1. An independent set of 2|V|3 distances plus any single direction is an appropriate set of 2|V|2 constraints;
  2. An independent set of 2|V|3 directions plus any single distance is an appropriate set of 2|V|2 constraints;
  3. A spanning tree, used once for distances and a second time for directions, is an appropriate set of 2(|V|1)=2|V|2 constraints.

A tree is a graph in which any two vertices are connected by exactly one path. Given a connected, undirected graph, a spanning tree of that graph is a subgraph which is a tree and connects all the vertices together.

Are these sufficient? Even for distances, we know that these conditions are not sufficient for special positions of the points. However, by Laman’s Theorem, they are sufficient for distances on ‘generic configurations’. The most we can expect is that these expanded conditions are also sufficient for ‘generic configurations’. We replace the entries for the points p, in the matrix by algebraically independent values, and look at the solution space for these values. If all solutions are translations, then almost all configurations (an open dense subset of configurations) pR2|V| have only translations. Specifically, if we use variables for the coordinates, the rank of this matrix is determined by maximal non-zero minors a finite set of polynomials in these variables. Such a polynomial is either always zero or is non-zero for an open dense subset. The intersection of this finite collection of subsets for all maximal non-zero minors forms the set of generic plane configurations for formations with distance-direction constraints.

This characterization also covers the distance-bearing combinations that permit more than one distance. Note that this is the criterion for rigidity up to translation, not for global rigidity, if there are multiple distance constraints. It is rigidity up to translation since rotations are not allowed because of bearing constraints. We suspect that it is probably the criterion for global rigidity, up to translation, if there are enough bearing constraints. Under this assumption, and assuming that angle of arrival is measured in trigonometric direction, we have a conjecture for global rigidity.

Conjecture 1 (in 2007)

Provided that the underlying graph constructed with the links representing bearing constraints form at least a spanning tree, then for generic formations, rigidity up to translation is equivalent to global rigidity of the formation.

Bearing Rigidity

Bearing constraints in mobile formations have 2 major differences compared to directions used in parallel drawings.

Bearing Constaints v.s. Direction Constraints
Figure 2: Bearing Constaints v.s. Direction Constraints
  1. Bearing constraint is more stringent than direction constraint. For example, assume that a1 is fixed in 2-space as shown in Figure 2(a) and a2 has a bearing constraint ψ12 with a1. Note that, direction constraint is satisfied by both ψ12 and ψ12=ψ12π as shown in Figure 2(b), where one is obtained by a flip of the other w.r.t. a1. Thus, a direction constraint can be thought as a necessary condition of a bearing constraint. For maintaining the shape of a mobile formation, where only continuous motions of agents are feasible, flip ambiguity is avoided, and thus, we can make use of parallel drawings for the analysis and design of rigid formations that make use of bearing measurements.
  2. Direction constraints, in the context of parallel drawings studied in computer-aided design, are measured w.r.t. a fixed global reference frame, whereas bearing constraints in mobile formations are measured w.r.t. the heading of leader agents. This selection of reference frame renders bearing constraints convenient for mobile formations, because follower agents act to satisfy bearing constraints as their leaders move (and possibly change their headings), hence preserving the shape of the overall formation. For example, if a1 changes its heading direction as shown in Figure 2(c), then a2 has to change its position to satisfy the bearing constraint, which results in shape maintenance. This aspect makes the application of bearing rigidity in formation navigation different than the application of bearing rigidity in network localisation.

We can state the conditions for bearing rigidity for a digraph as follows:

Definition: Bearing Rigidity

Given a digraph G(V,E) of a formation network, G is bearing rigid if and only if there is a subset EE satisfying the following conditions:

  1. |E|=2|V|3;
  2. For all EE,Eϕ,|E|2|V(E)|3, where V(E) is the number of vertices that are end-vertices of the edges in E;
  3. G(V,E) is constraint consistent.

This test provides a combinatorial formation analysis method to test rigidity for a given formation. In the context of navigating formations of mobile agents, we will call the formations satisfying the 1st two conditions listed above as bearing rigid formations. We will call the formations satisfying the three conditions listed above as directed bearing rigid formations. If a bearing rigid formation loses rigidity property in the loss of any edge in G, then such a formation is called minimally (directed) bearing rigid formation.

From a formation synthesis (design) point-of-view, there is a Henneberg type method to construct bearing rigid formations.

Bearing-based Henneberg construction

A Henneberg-type construction is a technique for growing rigid digraphs starting from a single edge in 2-space. One of the following operations is applied (when applicable) at each step in the procedure. The resulting graphs are provably rigid.

  • Directed 2-valent vertex addition: Given a digraph G(V,E) where (a,b)E, a vertex q of in-degree 2 is inserted into G by adding the edges (a,q) and (b,q).
  • Directed 2-valent vertex deletion: Given a digraph G(V,E) where (a,q),(b,q)E, a vertex qV of in-degree 2 with the edges (a,q) and (b,q) is deleted from G.
  • Directed 3-valent vertex addition: Given a digraph G(V,E) where (a,b)E, a vertex q of in-degree 2 and out-degree 1 is inserted into G by deleting the edge (a,b) and adding the edges (a,q),(c,q) and (q,b). This operation is also known as edge splitting operation.
  • Directed 3-valent vertex deletion: Given a digraph G(V,E) where (a,q),(c,q),(q,b)E, the vertex q of in-degree 2 and out-degree 1 is removed from G by deleting the edges (a,q),(c,q) and (q,b) and inserting one of the pairs in {(a,b),(c,b)}.
  • Edge reversal: Given a digraph G(V,E) where (a,b)E, an edge (a,b) in G is replaced by (b,a).

A minimally bearing rigid formation in 2-space has 2n3 links. Subtracted three in this formula comes from the three DoF distributed to some agents in a rigid formation: 2 for translation and 1 for scaling. As in the case of distance-based persistent formations, this freedom can be distributed in a number of ways.

  • two-leader formation structure, in which there is an agent ( 1st leader) that has 2 DoF, and another agent (2nd leader) with 1 DoF such that these 2 agents are neighbours. For bearing rigid formations, we prefer the term 2-leader formation because the agent that has 1 DoF in a bearing rigid formation has the control of scaling on the entire formation, which makes it act like a leader rather than a follower. Moreover, by changing its bearing to the 1st leader, the 2nd leader can change the orientation of the entire formation.
  • leader-remote follower structure, in which the agent with 1 DoF is not a neighbour of the agent with 2 DoF.
  • three-coleaders structure. This is a formation structure in which there are three agents a1,a2,a3 (called the coleaders) with 1 DoF each. Three-coleader structure can further be classified within itself depending on the neighbourhood relations of coleaders.

In this article, the formations we study are of a two-leader variety.

Scalable bearing rigid formations

We need to address one more issue on bearing rigidity before we proceed any further. Bearing rigidity, as it is defined above, is based on 2n3 links, all of which are used for bearing constraints. An advantage of bearing rigid formations used in shape control is its uniform scalability (homothety) property, since every constraint is essentially based on an angle measurement.

However, unless there is a proper action, note that all bearing constraints will still be satisfied if a formation expands or contracts. In other words, we have no control over the scale of a formation in a bearing rigid formation. We need at least one distance measurement to be able to fix the scale of a formation, which results in ‘scalable bearing rigid formations’.

A scalable bearing rigid formation is obtained from a bearing rigid formation of 2n3 bearing constraints by inserting one additional distance constraint, i.e. 2n2 links in total. This additional distance constraint is imposed on the 2nd leader with a new incoming link from the 1st leader as a distance constraint. Therefore, in a scalable bearing rigid formation, the 2nd leader has 2 incoming links, and therefore, zero DoF when we fix the distance and bearing constraints imposed upon it. This is in contrast with a bearing rigid formation, where the 2nd leader has only one incoming link. When we use such a single distance constraint between the 1st leader and the 2nd leader for shape control, all we need to do for scaling shape is to adjust this distance constraint.

In summary, the 1st leader determines the translational motion of a formation. It has 2 DoF. Scaling of the entire formation is managed by the 2nd leader by adjusting its distance constraint. The rotation of the formation is achieved either by changing the heading of the 1st leader or by changing the bearing of the 2nd leader.

Directed Rigidity

Acyclic formations

First, we give some terminology.

  • A directed edge is written with an ordered pair of end-vertices (i,j) representing an edge directed from j to i and drawn with an arrow from j to i, that is from the source to the sink.
  • The number of edges directed into a given vertex i in a digraph G is called the in-degree of the vertex and is denoted by dG(i). The number of edges directed out from a given vertex i in a digraph G is called the out-degree of the vertex and is denoted by dG+(i).
  • The out-neighborhood NG+(i) of a vertex i is {jV:(j,i)E} , and the in-neighborhood NG(i) of a vertex i is {jV:(i,j)E}. The union of out-neighborhood and in-neighborhood is the set of neighbors of i, i.e., the (open) neighborhood of i, NG(i). When i is also included, it is the closed neighborhood of i,NG[i].

Definition: directed path

A directed path is a non-empty digraph G=(V,E) of the form V={x0,x1,,xk},E={(x0,x1),(x1,x2),,(xk1,xk)}. We refer to a path by the sequence of its vertices as P=x0x1xk and calling P a path from x0 to xk. In a simple path, all the xi are distinct. In a closed path, x0=xk.

Definition: cycle

A closed directed path, with no repeated vertices other than the starting and ending vertices is called a (directed) cycle and is denoted by C.

Definition: cycle graph & cyclic graph & acyclic graph

  • A cycle graph is a graph on n vertices containing a single cycle through all vertices.
  • A cyclic graph is a graph containing at least one cycle.
  • A graph that is not cyclic is said to be acyclic.

Care should be taken with cyclic formations, which can lead to unstable behaviours in the presence of measurement errors if the agents are not allowed to communicate. Further, we show that bearing rigid formations with coleader structure and leader-remote follower structure occur only in cyclic formations. Therefore, we avoid such structures in shape control.

Another disadvantage of coleader formations in bearing rigid formations is that they not only require a coordinated motion of three coleaders, but also require a consensus on the heading of all three coleaders. We have the following two theorems.

Theorem 1

For a digraph G=(V,E), with at least 2 vertices, the following are equivalent:

  1. G=(V,E) is minimally bearing rigid and acyclic;
  2. G=(V,E) is constructed from a single edge by a sequence of directed vertex additions
  3. G=(V,E) has two-leader architecture, and is acyclic with all other vertices having in-degree exactly 2.

Proof:

Details of Proof
  1. 12: Minimally directed bearing rigid digraphs are constraint consistent and they have |E|=2|V|3. We are given that there are no cycles in the digraph. Therefore, the digraph represents a partial order between vertices. The partial order can be made into a complete order. The smallest element in the order is the 1st leader, and the next smallest is the 2nd leader, and this will be our target edge for the directed Henneberg sequence. Assume that there are more than 3 vertices. The maximal element has all edges in so it has in-degree dG(i)2. Overall, since each edge is directed: iVdG(i)=|E|=2|V|3. However, the two initial vertices have a total in-degree of 1, so on all other vertices V:iVdG(i)=|E|=2|V|=2(|V|2). We also know that all vertices have dG(i)2, so we conclude that all other vertices have dG(i)=2. Take the maximal vertex in the linear order. All edges are in-directed, so the overall valence is 2. We can apply 2-valent vertex deletion to get a smaller directed bearing rigid acyclic graph, with the induced linear order. We continue with this until there are only the 1st leader and the 2nd leader. Reversing this sequence gives the desired construction.
  2. 2 is equivalent to 3: This is immediate, as the initial edge is the first leader-second leader edge, and the valence assumption is equivalent to the count of 2.

Theorem 2

Minimal bearing rigid formations with coleader structure or leader-remote follower structure occur only in cyclic formations.

Proof: Suppose that coleader structures and leader-remote follower structures occur in acyclic formations too. Acyclic formations can be built by using only 2-valent vertex addition and creates topological order of vertices from Theorem 1. Apply 2-valent vertex deletion to the formation in reverse order until we are left with a single edge. There is 1 vertex of in-degree 0 (having 2 DoF left) and 1 vertex of in-degree 1 (having 1 DoF left). Thus, these two agents manage all the DoF that the formation has, which is 3, leaving no DoF to the rest of the agents. Thus, all the remaining vertices have an in-degree 2, which means that the acyclic formation has two-leader architecture. This contradicts with our initial assumption. Thus, coleader structures or leader-remote follower structures occur only in cyclic formations.

In short, formation control using bearing measurements is straightforward if the underlying directed graph is acyclic, since it is based on a partial ordering of agents due to an absence of cycles. Acyclic bearing rigid formations can be constructed using a sequence of directed vertex additions, and they have two-leader architecture. Therefore, we will base the rest of this article on acyclic bearing rigid formations. In particular, we will make use of scalable bearing rigid formations. Construction of such formations starts with a double edge between the 1st leader and the 2nd leader (one distance constraint-one bearing constraint), then continues with directed 2-valent vertex additions with bearing constraints.

2-directed digraphs

Any ordinary node in a network with directed bearing links needs to have at least 2 in-coming links to localize itself, that is, dG(i)2. Of course, anchor nodes do not need any in-coming links to localize themselves.

However, we insert the implicit links among anchor nodes to obtain the grounded graph. Furthermore, the existence of one anchor node rules out translation. If there is only one anchor node, then scaling is still allowed. This means that 1 ordinary node can have 1 DoF. We call such a node a free node. Anchor node and free node together make up the set of guide nodes. The digraph G=(V,E) is 2-directed if for all iV,dG(i)2.

A point formation with directed bearing constraints is called directed parallel rigid if all directed parallel point formations are trivially parallel. There are a number of issues that must be addressed in the localization of networks with directed links. We identify three key layers as follows:

  1. Parallel rigidity of the underlying undirected formation;
  2. Directed parallel rigidity of the formation;
  3. Convergence and the quality of initial position estimates in the network

If underlying undirected formation is non-rigid, then directed formation cannot be rigid. Thus, undirected rigidity is a necessary condition for directed rigidity. On the other hand, when we associate a direction to each link in a rigid undirected formation, directed parallel rigidity is not necessarily guaranteed, because an in-degree of a node may be set to 1 while another node has an in-degree of 3 resulting from a poor selection of directions. Consequently, undirected parallel rigidity is not a sufficient condition for directed parallel rigidity. Even if there is subset of the grounded graph that is 2-directed, the undirected graph may still be flexible. Thus, we can state the conditions for global rigidity for a directed graph as follows:

::: Theorem 4 Given a grounded digraph G^=(V,B^) of the network N, there is a subset BB satisfying the following conditions:

  1. |B|=2|V|3;
  2. For all BB,Bϕ,|B|2|V(B)|3, where V(B) is the number of vertices that are end-vertices of the edges in B;
  3. G(V,B) is 2-directed. :::

Bearing Rigidity in Arbitary Dimensions

Conceptions

Define:

eijpjpi,gijeijeij=pjpipjpi,(i,j)E.

Note the unit vector gij represents the relative bearing of pj to pi. This unit-vector representation is different from the conventional ways where a bearing is described as one angle (azimuth) in R2, or two angles (azimuth and altitude) in R3. Note also that eij=eji and gij=gji.

We now introduce an important orthogonal projection operator that will be widely used in this paper. For any nonzero vector xRd(d2), define the operator P:RdRd×d as

P(x)Idxxxx

For notational simplicity, denote Px=P(x). Note:

  • Px is an orthogonal projection matrix which geometrically projects any vector onto the orthogonal compliment of x
  • It can be verified that Px=Px,Px2=Px, and Px is positive semi-definite.
  • Null(Px)=span{x} and the eigenvalues of Px are {0,1(d1)}.

Lemma 1: parallel in d-dimensions

Two nonzero vectors x,yRd are parallel if and only if Pxy=0 (or equivalently Pyx=0).

Proof: The result follows from Null(Px)=span{x}.

Most existing works, like the last section, use the notion of normal vectors to describe parallel vectors in R2. Specifically, given a nonzero vector xR2, denote xR2 as a nonzero normal vector satisfying xx=0. Then any vector yR2 is parallel to x if and only if (x)y=0. This approach is applicable to 2D cases but difficult to extend to arbitrary dimensions. Moreover, it is straightforward to prove that in R2 the use of the orthogonal projection operator is equivalent to the use of normal vectors based on the fact that

Px=x(x)x2,xR2.

Fundamental Concepts about Bearing Rigidity

Now ready to define the fundamental concepts in bearing rigidity. These concepts are defined analogously to those in the distance rigidity theory.

Definition: Bearing Equivalency

Frameworks G(p) and G(p) are bearing equivalent if P(pipj)(pipj)=0 for all (i,j)E.

Definition: Bearing Congruency

Frameworks G(p) and G(p) are bearing congruency if P(pipj)(pipj)=0 for all i,jV.

By definition, bearing congruency implies bearing equivalency. The converse, however, is not true, as illustrated in Figure 3.

Bearing equivalent but not bearing congruent
Figure 3: Bearing equivalent but not bearing congruent

Definition: Global Bearing Rigidity

A framework G(p) is globally bearing rigid if an arbitrary framework that is bearing equivalent to G(p) is also bearing congruent to G(p).

By definition, global bearing rigidity implies bearing rigidity. As will be shown later, the converse is also true.

We next define infinitesimal bearing rigidity, which is one of the most important concepts in the bearing rigidity theory. Consider an arbitrary orientation of the graph G and denote

ekpjpi,gkekek=pjpipjpi,k{1,2,,m}.

as the edge vector and the bearing for the k-th directed edge. Denote e=[e1,,em] and g=[g1,,gm]. Note e satisfies e=H¯p where H¯=HId. Define the bearing rigidity function BG(p):RdnRdm as

BG(p)[g1,,gm]Rdm.

The bearing function describes all the bearings in the framework. The bearing rigidity matrix is defined as the Jacobian of the bearing rigidity function

(2)RB(p)BG(p)pRdm×dn.

Let δp be a variation of the configuration p. If R(p)δp=0, then δp is called an infinitesimal bearing motion of G(p). This is analogous to infinitesimal motions in distance-based rigidity.

Distance preserving motions of a framework include rigid-body translations and rotations, whereas bearing preserving motions of a framework include translations and scalings.

An infinitesimal bearing motion is called trivial if it corresponds to a translation and a scaling of the entire framework.

Definition: Infinitesimal Bearing Rigidity

A framework is infinitesimally bearing rigid if all the infinitesimal bearing motions are trivial.

Up to this point, we have introduced all the fundamental concepts in the bearing rigidity theory. We next explore the properties of these concepts. We first derive a useful expression for the bearing rigidity matrix.

Relationship among 3 types of bearing rigidity

Lemma 2

The bearing rigidity matrix RB(p) in (2) can be expressed as

(3)RB(p)=diag(Pgkek)H¯.

Proof:

Details of Proof

It follows from gk=ek/ekk{1,2,,m} that:

gkek=1ek(Idekekekek)=1ekPgk.

As a result, BG(p)/e=diag(Pgk/ek) and consequently

RB(p)=BG(p)eep=diag(Pgkek)H¯.

Q.E.D.

The expression (3) can be used to characterize the null space and the rank of the bearing rigidity matrix.

Lemma 3

A framework G(p) in Rd always satisfies:

  • span{1Id,p}Null(RB(p))
  • rank(RB(p))dnd1.

Proof:

Details of Proof
  1. It's clear that span{1Id}Null(H¯)Null(RB(p))
  2. Since Pekek=0, we have RB(p)p=diag(Pgkek)H¯p=diag(Pgkek)e=0 and hence pNull(RB(p)).
  3. The inequality rank(RB(p))dnd1 follows immediately from span{1Id,p}Null(RB(p)).

For any undirected graph G=(V,E), denote GK as the complete graph over the same vertex set V, and RK(p) as the bearing rigidity matrix of the framework GK(p). The next result gives the necessary and sufficient conditions for bearing equivalency and bearing congruency.

Theorem 5: bearing equivalent & bearing congruent

Two frameworks G(p) and G(p) are:

  • bearing equivalent if and only if RB(p)p=0,
  • bearing congruent if and only if RK(p)p=0.

Proof:

Details of Proof

Since RB(p)p=diag(Pgkek)H¯p=diag(Pgkek)diag(Pgk)e, we have

RB(p)p=0Pgkek=0,k{1,,m}.

Therefore, by Definition of bearing equivalent, the two frameworks are bearing equivalent if and only if RB(p)p=0. By Definition of bearing equivalent, it can be analogously shown that frameworks are bearing equivalent if and only if RK(p)p=0.

Since any infinitesimal motion δp is in Null(RB(p)), it is implied from Lemma 3 and Theorem 5 that RB(p)(p+δp)=0 and hence G(p+δp) is bearing equivalent to G(p).

We next give a useful lemma and then prove the necessary and sufficient condition for global bearing rigidity.

Lemma 4

A framework G(p) in Rd always satisfies:

  • span{1Id,p}Null(RK(p))Null(RB(p))
  • rank(RB(p))rank(RK(p))dnd1.

Proof:

Details of Proof
  1. The result that span{1Id,p}Null(RK(p)) and rank(RK(p))dnd1 can be proved similarly as Lemma 3.
  2. For any δpNull(RK(p)), we have RK(p)δp=0RK(p)(p+δp)=0. As a result, G(p+δp) is bearing congruent to G(p) by Theorem 5. Since bearing congruency implies bearing equivalency, we further know RB(p)(p+δp)=0 and hence RB(p)δp=0. Therefore, any δp in Null(RK(p)) is also in Null(RB(p)).
  3. Since RB(p),RK(p) have the same column number, it follows immediately that rank(RB(p))rank(RK(p)).

Theorem 6: Condition for Global Bearing Rigidity

A framework G(p) in Rd is globally bearing rigid if and only if Null(RK(p))=Null(RB(p)) or equivalently rank(RK(p))=rank(RB(p)).

Proof:

Details of Proof
  1. (Necessity) Suppose the framework G(p) is globally bearing rigid. We next show that Null(RB(p))Null(RK(p)). For any δpNull(RB(p)), we have RB(p)δp=0RB(p)(p+δp)=0. As a result, G(p+δp) is bearing equivalent to G(p) according to Theorem 5. Since G(p) is globally bearing rigid, it follows that G(p+δp) is also bearing congruent to G(p), which means RK(p)(p+δp)=0RK(p)δp=0. Therefore, any δp in Null(RB(p)) is in Null(RK(p)) and thus Null(RB(p))Null(RK(p)). Since Null(RK(p))Null(RB(p)) as shown in Lemma 4, we have Null(RB(p))=Null(RK(p)).
  2. (Sufficiency) Suppose Null(RB(p))=Null(RK(p)). Any framework G(p) that is bearing equivalent to G(p) satisfies RB(p)p=0. It then follows from Null(RB(p))=Null(RK(p)) that RK(p)p=0, which means G(p) is also bearing congruent to G(p). As a result, G(p) is globally bearing rigid.
  3. Because RB(p) and RK(p) have the same column number, it follows immediately that Null(RK(p))=Null(RB(p)) if and only if rank(RK(p))=rank(RB(p)).

The following result shows that bearing rigidity and global bearing rigidity are equivalent notions.

Theorem 7: Condition for Bearing Rigidity

A framework G(p) in Rd is bearing rigid if and only if it is globally bearing rigid.

Proof:

Details of Proof

By definition, global bearing rigidity implies bearing rigidity. We next prove the converse is also true. Suppose the framework G(p) is bearing rigid. By the definition of bearing rigidity and Theorem 5, any framework satisfying RB(p)p=0 and ppε also satisfies RK(p)p=0, i.e.,

RB(p)(p+δp)=0RK(p)(p+δp)=0,δp,δpε.

where δp=pp. It then follows from RB(p)p=0 and RK(p)p=0 that RB(p)p=0RK(p)p=0 for all δpε. This means Null(RB(p))Null(RK(p)) in spite of the constraint of δp. Since Null(RK(p))Null(RB(p)) as shown in Lemma 4, we further have Null(RB(p))=Null(RK(p)) and consequently G(p) is globally bearing rigidity.

We next give the necessary and sufficient condition for infinitesimal bearing rigidity.

Theorem 8: Condition for Infinitesimal Bearing Rigidity

For a framework G(p) in Rd, the following statements are equivalent:

  • G(p) is infinitesimally bearing rigid;
  • rank(RB(p))=dnd1;
  • Null(RB(p))=span{1Id,p}=span{1Id,p1p¯}, where p¯=(1Id)p/n is the centroid of {pi}iV .

Proof:

Details of Proof
  1. Lemma 3 shows span{1Id,p}Null(RB(p)). Observe 1Id and p correspond to a rigid-body translation and a scaling of the framework, respectively. The stated condition directly follows from Definition of infinitesimally bearing rigid.
  2. Note also that {1Id,p1p¯} is an orthogonal basis for span{1Id,p}.

The special cases of R2 and R3 are of particular interest. A framework G(p) is infinitesimally bearing rigid in R2 if and only if rank(RB(p))=2n3, and in R3 if and only if rank(RB(p))=3n4. Note Theorem 8 does not require nd.

The following result characterizes the relationship between infinitesimal bearing rigidity and global bearing rigidity.

Theorem 9

Infinitesimal bearing rigidity implies global bearing rigidity.

Proof:

Details of Proof

Infinitesimal bearing rigidity implies Null(RB(p))=span{1Id,p}. Since span{1Id,p}Null(RK(p))Null(RB(p)) as shown in Lemma 4, it immediately follows from Null(RB(p))=span{1Id,p} that Null(RK(p))=Null(RB(p)), which means G(p) is globally bearing rigid according to Theorem 6.

The converse of Theorem 9 is not true, i.e., global bearing rigidity does not imply infinitesimal bearing rigidity. For example, the collinear framework as shown in Figure 4(a) is globally bearing rigid but not infinitesimally bearing rigid.

We have at this point discussed three notions of bearing rigidity:

  • bearing rigidity,
  • global bearing rigidity,
  • infinitesimal bearing rigidity

According to Theorem 7 and Theorem 9, the relationship between the three kinds of bearing rigidity can be summarized as below:

infinitesimal bearing rigiditybearing rigidityglobal bearing rigidity

We next explore two important properties of infinitesimal bearing rigidity.

More about infinitesimal bearing rigidity

The following theorem shows that infinitesimal bearing rigidity can uniquely determine the shape of a framework.

Theorem 10: Unique Shape

An infinitesimally bearing rigid framework can be uniquely determined up to a translational and a scaling factor.

Proof:

Details of Proof

Suppose G(p) is an infinitesimally bearing rigid framework in Rd. Consider an arbitrary framework G(p) that is bearing equivalent to G(p). Our aim is to prove G(p) is different from G(p) only in a translation and a scaling factor. The configuration p can always be decomposed as

(4)p=cp+1η+q

where cR{0} is the scaling factor, ηRd denotes a rigidbody translation of the framework, and qRdn, which satisfies qspan{1Id,p}, represents a transformation other than translation and scaling. We only need to prove q=0. Since infinitesimal bearing rigidity implies that Null(RB(p))=span{1Id,p}, multiplying RB(p) on both sides of (4) yields

RB(p)p=RB(p)q.

Since G(p) is bearing equivalent to G(p), we have RB(p)p=0 by Theorem 5. Therefore, the formula above implies RB(p)q=0. Since qspan{1Id,p}=Null(RB(p)), the above equation suggests q=0. As a result, p is different from p only in a scaling factor c and a rigid-body translation η.

The following theorem shows that if a framework is infinitesimally bearing rigid in a lower dimension, it is still infinitesimally bearing rigid when evaluated in a higher dimensional space.

Theorem 11: Invariance to Dimension

Infinitesimal bearing rigidity is invariant to space dimensions.

Proof:

Details of Proof

Consider a framework G(p) in Rd(n2,d2). Suppose the framework becomes G(p~) when the dimension is lifted from d to d~(d~>d). Our goal is to prove that

rank(RB(p))=dnd1rank(R(p~))=d~nd~1

and consequently G(p~) is infinitesimally bearing rigid in Rd~ if and only if G(p) is infinitesimally bearing rigid in Rd.

  1. Consider an oriented graph and write the bearings of G(p) and G(p~) as {gk}k=1m and {g~k}k=1m, respectively. Since p~i is obtained from pi by lifting the dimension, without loss of generality, assume p~i=[pi,0](iV) where the zero vector is (d~d)-dimensional. Then
g~k=[gk0],Pg~k=[Pgk00Id~d],k={1,,m}.
  1. The bearing rigidity matrix of G(p~) is R(p~)=diag(Id~/ek)diag(Pg~k)(HId~) where
diag(Pg~k)(HId~)=diag([Pgk00Id~d])H[Id00Id~d]

Permutate the rows of diag(Pg~k)(HId~) to obtain

A=[diag(Pgk)H[Id0]Id~dH[0Id~d]][A1A2]

Since the permutation of the rows does not change the matrix rank, we have rank(R(p~))=rank(A). Because the rows of A1 are orthogonal to the rows of A2 (the identity matrix is divided), we have rank(A)=rank(A1)+rank(A2). As a result, considering:

rank(A1)=rank(diag(Pgk)HId)=rank(RB(p))rank(A2)=rank(HId~d)=(d~d)(n1)rank(R(p~))=rank(RB(p))+(d~d)(n1).

It can be easily verified using the above equation that rank(R(p~))=d~nd~1 if and only if rank(RB(p))=dnd1.

not inf
Figure 4: Examples of non-infinitesimally bearing rigid frameworks. The red arrows (solid) stand for non-trivial infinitesimal bearing motions and the blue arrows (dashed) for the associated orthogonal infinitesimal distance motions.

Figure. 4 shows examples of non-infinitesimal bearing rigid frameworks. The frameworks in Figure. 4 are not infinitesimally bearing rigid because there exist non-trivial infinitesimal bearing motions (see, for example, the red arrows). Figure. 5 shows some two- and three-dimensional infinitesimally bearing rigid frameworks. It can be verified that each of the frameworks satisfies rank(RB(p))=dnd1.

inf
Figure 5: Examples of infinitesimally bearing rigid frameworks.

Connections to Distance Rigidity Theory

The bearing rigidity theory and the distance rigidity theory study similar problems of whether the shape of a framework can be uniquely determined by the inter-neighbor bearings and inter-neighbor distances, respectively. It is meaningful to study the connections between the two rigidity theories. The following theorem establishes the equivalence between infinitesimal bearing and distance rigidity in R2.

Theorem 12

In R2, a framework is infinitesimally bearing rigid if and only if it is infinitesimally distance rigid.

Proof:

Details of Proof

To prove Theorem 12, we first prove the following result which indicates that the bearing rigidity matrix always has the same rank as the distance rigidity matrix for any framework in R2.

Proposition 2

For any framework G(p) in R2, rank(RB(p))=rank(RD(p))

Proof: Consider an oriented graph and write the bearings of the framework as {gk}k=1m. Let Qπ/2 be a 2×2 rotation matrix that rotates any vector π/2. Denote gkQπ/2gk. Then, gkgk and gk=gk=1. Since Pgk=gk(gk), the bearing rigidity matrix can be rewritten as

RB(p)=diag(Pgkek)H¯=diag(gkek)diag((gk))H¯

The matrix diag((gk))H¯ can be further written as

diag((gk))H¯=diag(gkQπ/2)H¯=diag(gk)(ImQπ/2)(HI2)=diag(gk)(HQπ/2)=diag(gk)H¯(InQπ/2).

Note the distance rigidity matrix can be expressed as RD(p)=diag(ek)H¯ (this expression can be obtained by calculating the Jacobian of the distance function). Substituting diag(gk)H¯=diag(1/ek)RD(p) yields

(5)RB(p)=diag(gkek2)RD(p)(InQπ/2).

Since diag(gk/ek2) has full column rank and and InQπ/2 is invertible, we have rank(RB(p))=rank(RD(p)).

Now it comes to proving Theorem 12: By Theorem 8, a framework G(p) in R2 is infinitesimally bearing rigid if and only if rank(RB(p))=2n3. It's known that a framework is infinitesimally distance rigid if and only if rank(RD(p))=2n3. Since rank(RB(p))=rank(RD(p)) as proved in Proposition 2, we know rank(RB(p))=2n3 if and only if rank(RD(p))=2n3, which concludes the theorem.

Remarks:

  1. Theorem 12 cannot be generalized to R3 or higher dimensions. For example, the 3D cubic and hexagonal pyramid frameworks in Figure 5(c), (d) are infinitesimally bearing rigid but not distance rigid. In particular, the rank of the distance rigidity matrices of the two frameworks are 13 and 12, respectively, whereas the required ranks for infinitesimal distance rigidity are 18 and 15, respectively.
  2. Theorem 12 suggests that we can determine the infinitesimal distance rigidity of a framework by examining its infinitesimal bearing rigidity. For example, it may be tricky to see the frameworks in Figure 4 (c), (d) are not infinitesimally distance rigid, but it is obvious to see the non-trivial infinitesimal bearing motions and conclude they are not infinitesimally bearing rigid.

An immediate corollary of Theorem 12 describes the relationship between infinitesimal bearing motions and infinitesimal distance motions of frameworks in R2. Let Qπ/2SO(2) be a rotation matrix that can rotate a vector in R2 by π/2. For any δp=[δp1,,δpn]R2n, denote δp=[(Qπ/2δp1),,(Qπ/2δpn)]R2n

Corollary 12-1

The vector δp is an infinitesimal bearing motion of a framework G(p) in R2 if and only if δp is an infinitesimal distance motion of G(p).

Proof:

Details of Proof

It immediately follows from (5) that RB(p)δp=0 if and only if RD(p)δp=0.

Given a framework in R2, Corollary 12-1 suggests that for any infinitesimal bearing motion, there exists a perpendicular infinitesimal distance motion, and the converse is also true. Corollary 12-1 is illustrated by Figure 4 (indicated by the red (solid) and blue (dashed) arrows).

To end this section, we briefly compare the proposed bearing rigidity theory with the well-known distance rigidity theory. In the distance rigidity theory, there are three kinds of rigidity: (i) distance rigidity, (ii) global distance rigidity, (iii) infinitesimal distance rigidity.

The relationship between them is (ii) ⇒ (i) and (iii)⇒(i). Note (ii) and (iii) do not imply each other. The global distance rigidity can uniquely determine the shape of a framework, but it is usually difficult to mathematically examine. Infinitesimal distance rigidity can be conveniently examined by a rank condition, but it is not able to ensure a unique shape.

As a comparison, the proposed infinitesimal bearing rigidity not only can be examined by a rank condition (Theorem 8) but also can ensure the unique shape of a framework (Theorem 10). In addition, the rank condition for infinitesimal distance rigidity requires to distinguish the cases of nd and n<d (Lemma 14), while the rank condition for infinitesimal bearing rigidity does not. Finally, an infinitesimally distance rigid framework in a lower dimension may become non-rigid in a higher dimension (see, for example, Figure 5 (b)), while infinitesimal bearing rigidity is invariant to dimensions.

In summary, the bearing rigidity theory possesses a number of attractive features compared to the distance rigidity theory, and as we will show in the sequel, it is a powerful tool for analyzing bearing-based formation control problems.

Released under the MIT License.