something about sendtransform, quaternion and euler
Hi,you, I'm a clown boy and the following params puzzled me,can you make a description for me? My questions are: first:I don't understand "the translation of the transformtion as a tuple (x, y, z)",It seems that translation is equal to transformtion,they has same means unexpectedly! And what do "msg.x" , "msg.y" and "0" actually mean in robot pose? Can i comprehend like this:msg.x and msg.y are Coordinate value where 0 means z=0?
second:param rotation: the rotation of the transformation as a tuple (x, y, z, w),what does (0, 0, msg.theta) mean in robot pose?And what are the relations between rotation and translation?
sendTransform((msg.x,msg.y,0),
tf.transformations.quaternion_from_euler(0, 0, msg.theta),
rospy.Time.now(),
turtlename,
"world")