parameters: (self, data)
docstring: New message received
docstring_summary: New message received
docstring_tokens: New message received
function: def localization_callback(self, data):
          """
          New message received
          """
          self.localization.CopyFrom(data)
          self.position_x = self.localization.pose.position.x
          self.position_y = self.localization.pose.position.y
          self.position_z = self.localization.pose.position.z
          self.orientation_x = self.localization.pose.orientation.qx
          self.orientation_y = self.localization.pose.orientation.qy
          self.orientation_z = self.localization.pose.orientation.qz
          self.orientation_w = self.localization.pose.orientation.qw
          self.linear_velocity_x = self.localization.pose.linear_velocity.x
          self.linear_velocity_y = self.localization.pose.linear_velocity.y
          self.linear_velocity_z = self.localization.pose.linear_velocity.z
function_tokens: def localization_callback ( self , data ) : self . localization . CopyFrom ( data ) self . position_x = self . localization . pose . position . x self . position_y = self . localization . pose . position . y self . position_z = self . localization . pose . position . z self . orientation_x = self . localization . pose . orientation . qx self . orientation_y = self . localization . pose . orientation . qy self . orientation_z = self . localization . pose . orientation . qz self . orientation_w = self . localization . pose . orientation . qw self . linear_velocity_x = self . localization . pose . linear_velocity . x self . linear_velocity_y = self . localization . pose . linear_velocity . y self . linear_velocity_z = self . localization . pose . linear_velocity . z