Robot Modeling and Control. Mark W. Spong

Чтение книги онлайн.

Читать онлайн книгу Robot Modeling and Control - Mark W. Spong страница 24

Robot Modeling and Control - Mark W. Spong

Скачать книгу

2.1. We could specify the coordinates of the point p with respect to either frame o0x0y0 or frame o1x1y1. In the former case we might assign to p the coordinate vector (5, 6) and in the latter case ( − 3, 3). So that the reference frame will always be clear, we will adopt a notation in which a superscript is used to denote the reference frame. Thus, we write

numbered Display Equation

      Since the origin of a coordinate frame is also a point in space, we can assign coordinates that represent the position of the origin of one coordinate frame with respect to another. In Figure 2.1, for example, we may have

numbered Display Equation

      Thus, o01 specifies the coordinates of the point o1 relative to frame 0 and o10 specifies the coordinates of the point 00 relative to frame 1. In cases where there is only a single coordinate frame, or in which the reference frame is obvious, we will often omit the superscript. This is a slight abuse of notation, and the reader is advised to bear in mind the difference between the geometric entity called p and any particular coordinate vector that is assigned to represent p. The former is independent of the choice of coordinate frames, while the latter obviously depends on the choice of coordinate frames.

      While a point corresponds to a specific location in space, a vector specifies a direction and a magnitude. Vectors can be used, for example, to represent displacements or forces. Therefore, while the point p is not equivalent to the vector v1, the displacement from the origin o0 to the point p is given by the vector v1. In this text, we will use the term vector to refer to what are sometimes called free vectors, that is, vectors that are not constrained to be located at a particular point in space. Under this convention, it is clear that points and vectors are not equivalent, since points refer to specific locations in space, but a free vector can be moved to any location in space. Thus, two vectors are equal if they have the same direction and the same magnitude.

      When assigning coordinates to vectors, we use the same notational convention that we used when assigning coordinates to points. Thus, v1 and v2 are geometric entities that are invariant with respect to the choice of coordinate frames, but the representation by coordinates of these vectors depends directly on the choice of reference coordinate frame. In the example of Figure 2.1, we would obtain

numbered Display Equation

      Using this convention, an expression of the form , where and are as in Figure 2.1, is not defined since the frames o0x0y0 and o1x1y1 are not parallel. Thus, we see a clear need not only for a representation system that allows points to be expressed with respect to various coordinate frames, but also for a mechanism that allows us to transform the coordinates of points from one coordinate frame to another. Such coordinate transformations are the topic for much of the remainder of this chapter.

      2.2 Representing Rotations

      In order to represent the relative position and orientation of one rigid body with respect to another, we attach coordinate frames to each body, and then specify the geometric relationship between these coordinate frames. In Section 2.1 we saw how one can represent the position of the origin of one frame with respect to another frame. In this section, we address the problem of describing the orientation of one coordinate frame relative to another frame. We begin with the case of rotations in the plane, and then generalize our results to the case of rotations in a three-dimensional space.

      2.2.1 Rotation in the Plane

A free body diagram shows how a coordinate frame o subscript 1 x subscript 1 y subscript 1 is oriented at an angle theta with respect to o subscript 0 x subscript 0 y subscript 0.

      A slightly less obvious way to specify the orientation is to specify the coordinate vectors for the axes of frame o1x1y1 with respect to coordinate frame o0x0y0:

numbered Display Equation

Скачать книгу