示例#1
0
文件: pose.py 项目: wx-b/robovat
 def matrix3(self, value):
     # When setting matrix3, orientation should be updated.
     self._orientation = Orientation(value)
示例#2
0
文件: pose.py 项目: wx-b/robovat
 def matrix4(self, value):
     self._position = Point(value[:3, 3])
     self._euler = Orientation(value[:3, :3]).euler
     self._quaternion = Orientation(value[:3, :3]).quaternion
     self._matrix3 = Orientation(value[:3, :3]).matrix3
示例#3
0
文件: pose.py 项目: wx-b/robovat
 def quaternion(self, value):
     # When setting quaternion, orientation should be updated.
     self._orientation = Orientation(value)
示例#4
0
文件: pose.py 项目: wx-b/robovat
 def yaw(self, value):
     # When setting euler, orientation should be updated.
     self._orientation = Orientation([self.roll, self.pitch, value])
示例#5
0
文件: pose.py 项目: wx-b/robovat
 def pitch(self, value):
     # When setting euler, orientation should be updated.
     self._orientation = Orientation([self.roll, value, self.yaw])
示例#6
0
文件: pose.py 项目: wx-b/robovat
 def euler(self, value):
     # When setting euler, orientation should be updated.
     self._orientation = Orientation(value)
示例#7
0
文件: pose.py 项目: wx-b/robovat
 def orientation(self, value):
     self._orientation = Orientation(value)