; Auto-generated. Do not edit!


(cl:in-package shiyan2-srv)


;//! \htmlinclude FFT-request.msg.html

(cl:defclass <FFT-request> (roslisp-msg-protocol:ros-message)
  ((data_x
    :reader data_x
    :initarg :data_x
    :type (cl:vector cl:float)
   :initform (cl:make-array 0 :element-type 'cl:float :initial-element 0.0))
   (data_y
    :reader data_y
    :initarg :data_y
    :type (cl:vector cl:float)
   :initform (cl:make-array 0 :element-type 'cl:float :initial-element 0.0))
   (window_size
    :reader window_size
    :initarg :window_size
    :type cl:integer
    :initform 0))
)

(cl:defclass FFT-request (<FFT-request>)
  ())

(cl:defmethod cl:initialize-instance :after ((m <FFT-request>) cl:&rest args)
  (cl:declare (cl:ignorable args))
  (cl:unless (cl:typep m 'FFT-request)
    (roslisp-msg-protocol:msg-deprecation-warning "using old message class name shiyan2-srv:<FFT-request> is deprecated: use shiyan2-srv:FFT-request instead.")))

(cl:ensure-generic-function 'data_x-val :lambda-list '(m))
(cl:defmethod data_x-val ((m <FFT-request>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader shiyan2-srv:data_x-val is deprecated.  Use shiyan2-srv:data_x instead.")
  (data_x m))

(cl:ensure-generic-function 'data_y-val :lambda-list '(m))
(cl:defmethod data_y-val ((m <FFT-request>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader shiyan2-srv:data_y-val is deprecated.  Use shiyan2-srv:data_y instead.")
  (data_y m))

(cl:ensure-generic-function 'window_size-val :lambda-list '(m))
(cl:defmethod window_size-val ((m <FFT-request>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader shiyan2-srv:window_size-val is deprecated.  Use shiyan2-srv:window_size instead.")
  (window_size m))
(cl:defmethod roslisp-msg-protocol:serialize ((msg <FFT-request>) ostream)
  "Serializes a message object of type '<FFT-request>"
  (cl:let ((__ros_arr_len (cl:length (cl:slot-value msg 'data_x))))
    (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_arr_len) ostream))
  (cl:map cl:nil #'(cl:lambda (ele) (cl:let ((bits (roslisp-utils:encode-double-float-bits ele)))
    (cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 32) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 40) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 48) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 56) bits) ostream)))
   (cl:slot-value msg 'data_x))
  (cl:let ((__ros_arr_len (cl:length (cl:slot-value msg 'data_y))))
    (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_arr_len) ostream))
  (cl:map cl:nil #'(cl:lambda (ele) (cl:let ((bits (roslisp-utils:encode-double-float-bits ele)))
    (cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 32) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 40) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 48) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 56) bits) ostream)))
   (cl:slot-value msg 'data_y))
  (cl:let* ((signed (cl:slot-value msg 'window_size)) (unsigned (cl:if (cl:< signed 0) (cl:+ signed 4294967296) signed)))
    (cl:write-byte (cl:ldb (cl:byte 8 0) unsigned) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) unsigned) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) unsigned) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) unsigned) ostream)
    )
)
(cl:defmethod roslisp-msg-protocol:deserialize ((msg <FFT-request>) istream)
  "Deserializes a message object of type '<FFT-request>"
  (cl:let ((__ros_arr_len 0))
    (cl:setf (cl:ldb (cl:byte 8 0) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 8) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 16) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 24) __ros_arr_len) (cl:read-byte istream))
  (cl:setf (cl:slot-value msg 'data_x) (cl:make-array __ros_arr_len))
  (cl:let ((vals (cl:slot-value msg 'data_x)))
    (cl:dotimes (i __ros_arr_len)
    (cl:let ((bits 0))
      (cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 32) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 40) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 48) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 56) bits) (cl:read-byte istream))
    (cl:setf (cl:aref vals i) (roslisp-utils:decode-double-float-bits bits))))))
  (cl:let ((__ros_arr_len 0))
    (cl:setf (cl:ldb (cl:byte 8 0) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 8) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 16) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 24) __ros_arr_len) (cl:read-byte istream))
  (cl:setf (cl:slot-value msg 'data_y) (cl:make-array __ros_arr_len))
  (cl:let ((vals (cl:slot-value msg 'data_y)))
    (cl:dotimes (i __ros_arr_len)
    (cl:let ((bits 0))
      (cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 32) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 40) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 48) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 56) bits) (cl:read-byte istream))
    (cl:setf (cl:aref vals i) (roslisp-utils:decode-double-float-bits bits))))))
    (cl:let ((unsigned 0))
      (cl:setf (cl:ldb (cl:byte 8 0) unsigned) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 8) unsigned) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 16) unsigned) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 24) unsigned) (cl:read-byte istream))
      (cl:setf (cl:slot-value msg 'window_size) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
  msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<FFT-request>)))
  "Returns string type for a service object of type '<FFT-request>"
  "shiyan2/FFTRequest")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'FFT-request)))
  "Returns string type for a service object of type 'FFT-request"
  "shiyan2/FFTRequest")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<FFT-request>)))
  "Returns md5sum for a message object of type '<FFT-request>"
  "1c6bb3ace645464ed07f169d1723447f")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'FFT-request)))
  "Returns md5sum for a message object of type 'FFT-request"
  "1c6bb3ace645464ed07f169d1723447f")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<FFT-request>)))
  "Returns full string definition for message of type '<FFT-request>"
  (cl:format cl:nil "float64[] data_x~%float64[] data_y~%int32 window_size~%~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'FFT-request)))
  "Returns full string definition for message of type 'FFT-request"
  (cl:format cl:nil "float64[] data_x~%float64[] data_y~%int32 window_size~%~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <FFT-request>))
  (cl:+ 0
     4 (cl:reduce #'cl:+ (cl:slot-value msg 'data_x) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ 8)))
     4 (cl:reduce #'cl:+ (cl:slot-value msg 'data_y) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ 8)))
     4
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <FFT-request>))
  "Converts a ROS message object to a list"
  (cl:list 'FFT-request
    (cl:cons ':data_x (data_x msg))
    (cl:cons ':data_y (data_y msg))
    (cl:cons ':window_size (window_size msg))
))
;//! \htmlinclude FFT-response.msg.html

(cl:defclass <FFT-response> (roslisp-msg-protocol:ros-message)
  ((magnitude_x
    :reader magnitude_x
    :initarg :magnitude_x
    :type (cl:vector cl:float)
   :initform (cl:make-array 0 :element-type 'cl:float :initial-element 0.0))
   (magnitude_y
    :reader magnitude_y
    :initarg :magnitude_y
    :type (cl:vector cl:float)
   :initform (cl:make-array 0 :element-type 'cl:float :initial-element 0.0))
   (phase_x
    :reader phase_x
    :initarg :phase_x
    :type (cl:vector cl:float)
   :initform (cl:make-array 0 :element-type 'cl:float :initial-element 0.0))
   (phase_y
    :reader phase_y
    :initarg :phase_y
    :type (cl:vector cl:float)
   :initform (cl:make-array 0 :element-type 'cl:float :initial-element 0.0)))
)

(cl:defclass FFT-response (<FFT-response>)
  ())

(cl:defmethod cl:initialize-instance :after ((m <FFT-response>) cl:&rest args)
  (cl:declare (cl:ignorable args))
  (cl:unless (cl:typep m 'FFT-response)
    (roslisp-msg-protocol:msg-deprecation-warning "using old message class name shiyan2-srv:<FFT-response> is deprecated: use shiyan2-srv:FFT-response instead.")))

(cl:ensure-generic-function 'magnitude_x-val :lambda-list '(m))
(cl:defmethod magnitude_x-val ((m <FFT-response>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader shiyan2-srv:magnitude_x-val is deprecated.  Use shiyan2-srv:magnitude_x instead.")
  (magnitude_x m))

(cl:ensure-generic-function 'magnitude_y-val :lambda-list '(m))
(cl:defmethod magnitude_y-val ((m <FFT-response>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader shiyan2-srv:magnitude_y-val is deprecated.  Use shiyan2-srv:magnitude_y instead.")
  (magnitude_y m))

(cl:ensure-generic-function 'phase_x-val :lambda-list '(m))
(cl:defmethod phase_x-val ((m <FFT-response>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader shiyan2-srv:phase_x-val is deprecated.  Use shiyan2-srv:phase_x instead.")
  (phase_x m))

(cl:ensure-generic-function 'phase_y-val :lambda-list '(m))
(cl:defmethod phase_y-val ((m <FFT-response>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader shiyan2-srv:phase_y-val is deprecated.  Use shiyan2-srv:phase_y instead.")
  (phase_y m))
(cl:defmethod roslisp-msg-protocol:serialize ((msg <FFT-response>) ostream)
  "Serializes a message object of type '<FFT-response>"
  (cl:let ((__ros_arr_len (cl:length (cl:slot-value msg 'magnitude_x))))
    (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_arr_len) ostream))
  (cl:map cl:nil #'(cl:lambda (ele) (cl:let ((bits (roslisp-utils:encode-double-float-bits ele)))
    (cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 32) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 40) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 48) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 56) bits) ostream)))
   (cl:slot-value msg 'magnitude_x))
  (cl:let ((__ros_arr_len (cl:length (cl:slot-value msg 'magnitude_y))))
    (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_arr_len) ostream))
  (cl:map cl:nil #'(cl:lambda (ele) (cl:let ((bits (roslisp-utils:encode-double-float-bits ele)))
    (cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 32) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 40) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 48) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 56) bits) ostream)))
   (cl:slot-value msg 'magnitude_y))
  (cl:let ((__ros_arr_len (cl:length (cl:slot-value msg 'phase_x))))
    (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_arr_len) ostream))
  (cl:map cl:nil #'(cl:lambda (ele) (cl:let ((bits (roslisp-utils:encode-double-float-bits ele)))
    (cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 32) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 40) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 48) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 56) bits) ostream)))
   (cl:slot-value msg 'phase_x))
  (cl:let ((__ros_arr_len (cl:length (cl:slot-value msg 'phase_y))))
    (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_arr_len) ostream))
  (cl:map cl:nil #'(cl:lambda (ele) (cl:let ((bits (roslisp-utils:encode-double-float-bits ele)))
    (cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 32) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 40) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 48) bits) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 56) bits) ostream)))
   (cl:slot-value msg 'phase_y))
)
(cl:defmethod roslisp-msg-protocol:deserialize ((msg <FFT-response>) istream)
  "Deserializes a message object of type '<FFT-response>"
  (cl:let ((__ros_arr_len 0))
    (cl:setf (cl:ldb (cl:byte 8 0) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 8) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 16) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 24) __ros_arr_len) (cl:read-byte istream))
  (cl:setf (cl:slot-value msg 'magnitude_x) (cl:make-array __ros_arr_len))
  (cl:let ((vals (cl:slot-value msg 'magnitude_x)))
    (cl:dotimes (i __ros_arr_len)
    (cl:let ((bits 0))
      (cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 32) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 40) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 48) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 56) bits) (cl:read-byte istream))
    (cl:setf (cl:aref vals i) (roslisp-utils:decode-double-float-bits bits))))))
  (cl:let ((__ros_arr_len 0))
    (cl:setf (cl:ldb (cl:byte 8 0) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 8) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 16) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 24) __ros_arr_len) (cl:read-byte istream))
  (cl:setf (cl:slot-value msg 'magnitude_y) (cl:make-array __ros_arr_len))
  (cl:let ((vals (cl:slot-value msg 'magnitude_y)))
    (cl:dotimes (i __ros_arr_len)
    (cl:let ((bits 0))
      (cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 32) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 40) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 48) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 56) bits) (cl:read-byte istream))
    (cl:setf (cl:aref vals i) (roslisp-utils:decode-double-float-bits bits))))))
  (cl:let ((__ros_arr_len 0))
    (cl:setf (cl:ldb (cl:byte 8 0) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 8) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 16) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 24) __ros_arr_len) (cl:read-byte istream))
  (cl:setf (cl:slot-value msg 'phase_x) (cl:make-array __ros_arr_len))
  (cl:let ((vals (cl:slot-value msg 'phase_x)))
    (cl:dotimes (i __ros_arr_len)
    (cl:let ((bits 0))
      (cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 32) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 40) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 48) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 56) bits) (cl:read-byte istream))
    (cl:setf (cl:aref vals i) (roslisp-utils:decode-double-float-bits bits))))))
  (cl:let ((__ros_arr_len 0))
    (cl:setf (cl:ldb (cl:byte 8 0) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 8) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 16) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 24) __ros_arr_len) (cl:read-byte istream))
  (cl:setf (cl:slot-value msg 'phase_y) (cl:make-array __ros_arr_len))
  (cl:let ((vals (cl:slot-value msg 'phase_y)))
    (cl:dotimes (i __ros_arr_len)
    (cl:let ((bits 0))
      (cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 32) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 40) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 48) bits) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 56) bits) (cl:read-byte istream))
    (cl:setf (cl:aref vals i) (roslisp-utils:decode-double-float-bits bits))))))
  msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<FFT-response>)))
  "Returns string type for a service object of type '<FFT-response>"
  "shiyan2/FFTResponse")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'FFT-response)))
  "Returns string type for a service object of type 'FFT-response"
  "shiyan2/FFTResponse")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<FFT-response>)))
  "Returns md5sum for a message object of type '<FFT-response>"
  "1c6bb3ace645464ed07f169d1723447f")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'FFT-response)))
  "Returns md5sum for a message object of type 'FFT-response"
  "1c6bb3ace645464ed07f169d1723447f")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<FFT-response>)))
  "Returns full string definition for message of type '<FFT-response>"
  (cl:format cl:nil "float64[] magnitude_x~%float64[] magnitude_y~%float64[] phase_x~%float64[] phase_y~%~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'FFT-response)))
  "Returns full string definition for message of type 'FFT-response"
  (cl:format cl:nil "float64[] magnitude_x~%float64[] magnitude_y~%float64[] phase_x~%float64[] phase_y~%~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <FFT-response>))
  (cl:+ 0
     4 (cl:reduce #'cl:+ (cl:slot-value msg 'magnitude_x) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ 8)))
     4 (cl:reduce #'cl:+ (cl:slot-value msg 'magnitude_y) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ 8)))
     4 (cl:reduce #'cl:+ (cl:slot-value msg 'phase_x) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ 8)))
     4 (cl:reduce #'cl:+ (cl:slot-value msg 'phase_y) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ 8)))
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <FFT-response>))
  "Converts a ROS message object to a list"
  (cl:list 'FFT-response
    (cl:cons ':magnitude_x (magnitude_x msg))
    (cl:cons ':magnitude_y (magnitude_y msg))
    (cl:cons ':phase_x (phase_x msg))
    (cl:cons ':phase_y (phase_y msg))
))
(cl:defmethod roslisp-msg-protocol:service-request-type ((msg (cl:eql 'FFT)))
  'FFT-request)
(cl:defmethod roslisp-msg-protocol:service-response-type ((msg (cl:eql 'FFT)))
  'FFT-response)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'FFT)))
  "Returns string type for a service object of type '<FFT>"
  "shiyan2/FFT")