(self, physics)
return entity_positions
Return a list of the positions of the ball and all players.
Return a list of the positions of the ball and all players.
Return a list of the positions of the ball and all players .
def _tracked_entity_positions(self, physics):
    """Return a list of the positions of the ball and all players."""
    ball_pos, unused_ball_quat = self.ball.get_pose(physics)
    entity_positions = [ball_pos]
    for player in self.players:
      walker_pos, unused_walker_quat = player.walker.get_pose(physics)
      entity_positions.append(walker_pos)
    return entity_positions
def _tracked_entity_positions ( self , physics ) : ball_pos , unused_ball_quat = self . ball . get_pose ( physics ) entity_positions = [ ball_pos ] for player in self . players : walker_pos , unused_walker_quat = player . walker . get_pose ( physics ) entity_positions . append ( walker_pos ) return entity_positions