; Auto-generated. Do not edit!


(cl:in-package ros_merge_test-msg)


;//! \htmlinclude dis_info.msg.html

(cl:defclass <dis_info> (roslisp-msg-protocol:ros-message)
  ((distance
    :reader distance
    :initarg :distance
    :type cl:float
    :initform 0.0)
   (width
    :reader width
    :initarg :width
    :type cl:float
    :initform 0.0)
   (height
    :reader height
    :initarg :height
    :type cl:float
    :initform 0.0)
   (angle
    :reader angle
    :initarg :angle
    :type cl:float
    :initform 0.0))
)

(cl:defclass dis_info (<dis_info>)
  ())

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

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

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

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

(cl:ensure-generic-function 'angle-val :lambda-list '(m))
(cl:defmethod angle-val ((m <dis_info>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader ros_merge_test-msg:angle-val is deprecated.  Use ros_merge_test-msg:angle instead.")
  (angle m))
(cl:defmethod roslisp-msg-protocol:serialize ((msg <dis_info>) ostream)
  "Serializes a message object of type '<dis_info>"
  (cl:let ((bits (roslisp-utils:encode-single-float-bits (cl:slot-value msg 'distance))))
    (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:let ((bits (roslisp-utils:encode-single-float-bits (cl:slot-value msg 'width))))
    (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:let ((bits (roslisp-utils:encode-single-float-bits (cl:slot-value msg 'height))))
    (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:let ((bits (roslisp-utils:encode-single-float-bits (cl:slot-value msg 'angle))))
    (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:defmethod roslisp-msg-protocol:deserialize ((msg <dis_info>) istream)
  "Deserializes a message object of type '<dis_info>"
    (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:slot-value msg 'distance) (roslisp-utils:decode-single-float-bits bits)))
    (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:slot-value msg 'width) (roslisp-utils:decode-single-float-bits bits)))
    (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:slot-value msg 'height) (roslisp-utils:decode-single-float-bits bits)))
    (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:slot-value msg 'angle) (roslisp-utils:decode-single-float-bits bits)))
  msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<dis_info>)))
  "Returns string type for a message object of type '<dis_info>"
  "ros_merge_test/dis_info")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'dis_info)))
  "Returns string type for a message object of type 'dis_info"
  "ros_merge_test/dis_info")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<dis_info>)))
  "Returns md5sum for a message object of type '<dis_info>"
  "941a1dedbc0595405760672b9f7f50ee")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'dis_info)))
  "Returns md5sum for a message object of type 'dis_info"
  "941a1dedbc0595405760672b9f7f50ee")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<dis_info>)))
  "Returns full string definition for message of type '<dis_info>"
  (cl:format cl:nil "float32 distance~%float32 width~%float32 height~%float32 angle~%~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'dis_info)))
  "Returns full string definition for message of type 'dis_info"
  (cl:format cl:nil "float32 distance~%float32 width~%float32 height~%float32 angle~%~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <dis_info>))
  (cl:+ 0
     4
     4
     4
     4
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <dis_info>))
  "Converts a ROS message object to a list"
  (cl:list 'dis_info
    (cl:cons ':distance (distance msg))
    (cl:cons ':width (width msg))
    (cl:cons ':height (height msg))
    (cl:cons ':angle (angle msg))
))
