def publishPosition(self):
msg = PointStamped()
msg.header.stamp = rospy.Time.now()
msg.header.frame_id = '/target_' + str(self.tag)
msg.point = Point(self.estimated_position[0], self.estimated_position[1], 0)
self.position_publisher.publish(msg)
self.publishCovarianceMatrix()
评论列表
文章目录