; Auto-generated. Do not edit!


(cl:in-package ros_merge_test-msg)


;//! \htmlinclude dis_info_array.msg.html

(cl:defclass <dis_info_array> (roslisp-msg-protocol:ros-message)
  ((dis
    :reader dis
    :initarg :dis
    :type (cl:vector ros_merge_test-msg:dis_info)
   :initform (cl:make-array 0 :element-type 'ros_merge_test-msg:dis_info :initial-element (cl:make-instance 'ros_merge_test-msg:dis_info))))
)

(cl:defclass dis_info_array (<dis_info_array>)
  ())

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

(cl:ensure-generic-function 'dis-val :lambda-list '(m))
(cl:defmethod dis-val ((m <dis_info_array>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader ros_merge_test-msg:dis-val is deprecated.  Use ros_merge_test-msg:dis instead.")
  (dis m))
(cl:defmethod roslisp-msg-protocol:serialize ((msg <dis_info_array>) ostream)
  "Serializes a message object of type '<dis_info_array>"
  (cl:let ((__ros_arr_len (cl:length (cl:slot-value msg 'dis))))
    (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) (roslisp-msg-protocol:serialize ele ostream))
   (cl:slot-value msg 'dis))
)
(cl:defmethod roslisp-msg-protocol:deserialize ((msg <dis_info_array>) istream)
  "Deserializes a message object of type '<dis_info_array>"
  (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 'dis) (cl:make-array __ros_arr_len))
  (cl:let ((vals (cl:slot-value msg 'dis)))
    (cl:dotimes (i __ros_arr_len)
    (cl:setf (cl:aref vals i) (cl:make-instance 'ros_merge_test-msg:dis_info))
  (roslisp-msg-protocol:deserialize (cl:aref vals i) istream))))
  msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<dis_info_array>)))
  "Returns string type for a message object of type '<dis_info_array>"
  "ros_merge_test/dis_info_array")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'dis_info_array)))
  "Returns string type for a message object of type 'dis_info_array"
  "ros_merge_test/dis_info_array")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<dis_info_array>)))
  "Returns md5sum for a message object of type '<dis_info_array>"
  "154c19253095a5ca966c5dce84293342")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'dis_info_array)))
  "Returns md5sum for a message object of type 'dis_info_array"
  "154c19253095a5ca966c5dce84293342")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<dis_info_array>)))
  "Returns full string definition for message of type '<dis_info_array>"
  (cl:format cl:nil "ros_merge_test/dis_info[] dis~%================================================================================~%MSG: ros_merge_test/dis_info~%float32 distance~%float32 width~%float32 height~%float32 angle~%~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'dis_info_array)))
  "Returns full string definition for message of type 'dis_info_array"
  (cl:format cl:nil "ros_merge_test/dis_info[] dis~%================================================================================~%MSG: ros_merge_test/dis_info~%float32 distance~%float32 width~%float32 height~%float32 angle~%~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <dis_info_array>))
  (cl:+ 0
     4 (cl:reduce #'cl:+ (cl:slot-value msg 'dis) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ (roslisp-msg-protocol:serialization-length ele))))
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <dis_info_array>))
  "Converts a ROS message object to a list"
  (cl:list 'dis_info_array
    (cl:cons ':dis (dis msg))
))
