机器人学基础-第2章-数学基础-蔡自兴PPT资料.ppt
《机器人学基础-第2章-数学基础-蔡自兴PPT资料.ppt》由会员分享,可在线阅读,更多相关《机器人学基础-第2章-数学基础-蔡自兴PPT资料.ppt(47页珍藏版)》请在冰豆网上搜索。
求位置矢量ApB0和旋转矩阵。
假设点p在坐标系B的描述为Bp=3,7,0T,求它在坐标系A中的描述Ap。
13,2.2CoordinateTransformation,解:
2.2CoordinateTransformation,14,例2.1已知坐标系B的初始位姿与A重合,首先B相对于坐标系A的zA轴转30,再沿A的xA轴移动12单位,并沿A的yA轴移动6单位。
14,2.2CoordinateTransformation,解:
2.2CoordinateTransformation,15,例2.1已知坐标系B的初始位姿与A重合,首先B相对于坐标系A的zA轴转30,再沿A的xA轴移动12单位,并沿A的yA轴移动6单位。
15,2.2CoordinateTransformation,解:
2.2CoordinateTransformation,16,Contents,RepresentationofPositionandAttitudeCoordinateTransformationHomogeneousTransformationTransformationofObjectGeneralRotationTransformation,16,Ch.2MathematicalFoundations,17,已知一直角坐标系中的某点坐标,则该点在另一直角坐标系中的坐标可通过齐次坐标变换求得。
所谓齐次坐标就是将一个原本是n维的向量用一个n+1维向量来表示。
一个向量的齐次表示是不唯一的,比如齐次坐标8,4,2、4,2,1表示的都是二维点2,1。
齐次坐标提供了用矩阵运算把二维、三维甚至高维空间中的一个点集从一个坐标系变换到另一个坐标系的有效方法。
2.3HomogeneousTransformationoftheCoordinateFrames齐次坐标变换,17,2.3HomogeneousTransformation,18,18,HomogeneousTransformationMatrixForm:
2.3HomogeneousTransformationoftheCoordinateFrames,2.3HomogeneousTransformation,19,例2.2已知坐标系B的初始位姿与A重合,首先B相对于坐标系A的zA轴转30,再沿A的xA轴移动12单位,并沿A的yA轴移动6单位。
假设点p在坐标系B的描述为Bp=3,7,0T,用齐次变换方法求它在坐标系A中的描述Ap。
19,解:
2.3HomogeneousTransformationoftheCoordinateFrames,2.3HomogeneousTransformation,20,例2.2已知坐标系B的初始位姿与A重合,首先B相对于坐标系A的zA轴转30,再沿A的xA轴移动12单位,并沿A的yA轴移动6单位。
20,解:
2.3HomogeneousTransformationoftheCoordinateFrames,2.3HomogeneousTransformation,21,21,HomogeneousTransformationofTranslation空间中的某点用矢量ai+bj+ck描述,该点也可表示为:
对已知矢量u=x,y,z,wT进行平移变换所得的矢量v为:
2.3HomogeneousTransformationoftheCoordinateFrames,2.3HomogeneousTransformation,22,22,HomogeneousTransformationofRotation,2.3HomogeneousTransformationoftheCoordinateFrames,2.3HomogeneousTransformation,23,23,例2.3已知点u=7i+3j+2k,将u绕z轴旋转90得到点v,再将点v绕y轴旋转90得到点w,求点v、w的坐标。
解:
2.3HomogeneousTransformationoftheCoordinateFrames,2.3HomogeneousTransformation,24,24,例2.3已知点u=7i+3j+2k,将u绕z轴旋转90得到点v,再将点v绕y轴旋转90得到点w,求点v、w的坐标。
如果把上述两变换组合在一起,2.3HomogeneousTransformationoftheCoordinateFrames,2.3HomogeneousTransformation,25,25,若改变旋转次序,首先使u绕y轴旋转90,再绕z轴旋转90,会使u变换至与w不同的位置w1。
2.3HomogeneousTransformationoftheCoordinateFrames,2.3HomogeneousTransformation,26,26,例2.4已知点u=7i+3j+2k,将u绕z轴旋转90得到点v,再将点v绕y轴旋转90得到点w,最后进行平移变换4i-3j+7k,求最终的坐标。
把上述三变换组合在一起,2.3HomogeneousTransformationoftheCoordinateFrames,2.3HomogeneousTransformation,27,27,例2.4已知点u=7i+3j+2k,将u绕z轴旋转90得到点v,再将点v绕y轴旋转90得到点w,最后进行平移变换4i-3j+7k,求最终的坐标。
则,2.3HomogeneousTransformationoftheCoordinateFrames,2.3HomogeneousTransformation,28,28,WearegivenasingleframeAandapositionvectorAPdescribedinthisframe.WethentransformAPbyfirstrotatingitaboutbyanangle,thenrotatingaboutbyanangle.Determinethe33rotationmatrixoperator,whichdescribesthistransformation.,例2.5(Example2.5),2.3HomogeneousTransformation,Solution:
SupposethefirstrotationconvertsAP-AP,andthesecondrotationconvertsAP-AP”.Thenwehave:
29,29,WearegivenasingleframeAandapositionvectorAPdescribedinthisframe.WethentransformAPbyfirstrotatingitaboutbyanangle,thenrotatingaboutbyanangle.Determinethe33rotationmatrixoperator,whichdescribesthistransformation.,Exampl