1. German Larrain
  2. ars

Commits

German Larrain  committed 121dba0

graphics.base.Body: renamed method 'update_position_rotation' to 'set_pose'.

  • Participants
  • Parent commits daab603
  • Branches dev

Comments (0)

Files changed (2)

File ars/graphics/base.py

View file
  • Ignore whitespace
 		self._color = None
 		self._actor = None
 
-	def update_position_rotation(self, pos, rot):
+	def set_pose(self, pos, rot):
 		self._position = pos
 		self._rotation = rot
 		self.adapter._update_pose(self._actor, pos, rot)

File ars/model/simulator/__init__.py

View file
  • Ignore whitespace
 		if self.has_actor() and self._updatable:
 			pos = self.get_position()
 			rot = self.get_rotation()
-			self._actor.update_position_rotation(pos, rot)
+			self._actor.set_pose(pos, rot)
 
 	@abstractmethod
 	def get_position(self):