Ejemplo n.º 1
0
    def set_destination(self, destination):
        print destination['latitude']
        print destination['longitude']
        msg = MoveBaseActionGoal()
        msg.header.stamp = rospy.get_rostime()
        msg.header.frame_id = frame_id
        msg.sentence = sentence

        self.pub.publish(msg)
        return "a"