コード例 #1
0
ファイル: localisation.py プロジェクト: oleg-Shipitko/RESET
	def move(self, rel_motion):
		"""Move particle by creating new one and setting position"""
		new_x, new_y, new_orientation = pmm.prob(self.pose(), rel_motion)	
		new_robot = Robot()
		new_robot.set(new_x, new_y, new_orientation)
		return new_robot
コード例 #2
0
 def move(self, rel_motion):
     new_x, new_y, new_orientation = pmm.prob(self.pose(), rel_motion)
     new_robot = Robot()
     new_robot.set(new_x, new_y, new_orientation)
     return new_robot
コード例 #3
0
 def move(self, rel_motion):
     """Move particle by creating new one and setting position"""
     new_x, new_y, new_orientation = pmm.prob(self.pose(), rel_motion)
     new_robot = Robot()
     new_robot.set(new_x, new_y, new_orientation)
     return new_robot
コード例 #4
0
ファイル: control2.py プロジェクト: oleg-Shipitko/RESET
	def move(self, rel_motion):
		new_x, new_y, new_orientation = pmm.prob(self.pose(), rel_motion)	
		new_robot = Robot()
		new_robot.set(new_x, new_y, new_orientation)
		return new_robot