parameters: (self, places)
docstring: Publish places as poses, using a PoseArray message
docstring_summary: Publish places as poses, using a PoseArray message
docstring_tokens: Publish places as poses using a PoseArray message
function: def _publish_places(self, places):
          """
          Publish places as poses, using a PoseArray message
          """
  
          if self._places_pub.get_num_connections() > 0:
              msg = PoseArray()
              msg.header.frame_id = self._robot.get_planning_frame()
              msg.header.stamp = rospy.Time.now()
  
              for place in places:
                  msg.poses.append(place.place_pose.pose)
  
              self._places_pub.publish(msg)
function_tokens: def _publish_places ( self , places ) : if self . _places_pub . get_num_connections ( ) > 0 : msg = PoseArray ( ) msg . header . frame_id = self . _robot . get_planning_frame ( ) msg . header . stamp = rospy . Time . now ( ) for place in places : msg . poses . append ( place . place_pose . pose ) self . _places_pub . publish ( msg )