+
+ def posReceived(self, msg):
+ self.x = msg.pose.pose.position.x
+ self.y = msg.pose.pose.position.y
+ orientation = msg.pose.pose.orientation
+ angles = tf.transformations.euler_from_quaternion([orientation.x, orientation.y, orientation.z, orientation.w])
+ self.alpha = angles[2]