; Auto-generated. Do not edit!


(cl:in-package mettler_toledo_quantos_q2_msgs-msg)


;//! \htmlinclude QuantosResponse.msg.html

(cl:defclass <QuantosResponse> (roslisp-msg-protocol:ros-message)
  ((frontDoorPos
    :reader frontDoorPos
    :initarg :frontDoorPos
    :type cl:integer
    :initform 0)
   (samplerPos
    :reader samplerPos
    :initarg :samplerPos
    :type cl:integer
    :initform 0))
)

(cl:defclass QuantosResponse (<QuantosResponse>)
  ())

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

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

(cl:ensure-generic-function 'samplerPos-val :lambda-list '(m))
(cl:defmethod samplerPos-val ((m <QuantosResponse>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader mettler_toledo_quantos_q2_msgs-msg:samplerPos-val is deprecated.  Use mettler_toledo_quantos_q2_msgs-msg:samplerPos instead.")
  (samplerPos m))
(cl:defmethod roslisp-msg-protocol:serialize ((msg <QuantosResponse>) ostream)
  "Serializes a message object of type '<QuantosResponse>"
  (cl:let* ((signed (cl:slot-value msg 'frontDoorPos)) (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:let* ((signed (cl:slot-value msg 'samplerPos)) (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 <QuantosResponse>) istream)
  "Deserializes a message object of type '<QuantosResponse>"
    (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 'frontDoorPos) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
    (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 'samplerPos) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
  msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<QuantosResponse>)))
  "Returns string type for a message object of type '<QuantosResponse>"
  "mettler_toledo_quantos_q2_msgs/QuantosResponse")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'QuantosResponse)))
  "Returns string type for a message object of type 'QuantosResponse"
  "mettler_toledo_quantos_q2_msgs/QuantosResponse")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<QuantosResponse>)))
  "Returns md5sum for a message object of type '<QuantosResponse>"
  "3036ed050e1a6e7e48e7144fc5fa0890")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'QuantosResponse)))
  "Returns md5sum for a message object of type 'QuantosResponse"
  "3036ed050e1a6e7e48e7144fc5fa0890")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<QuantosResponse>)))
  "Returns full string definition for message of type '<QuantosResponse>"
  (cl:format cl:nil "int32 frontDoorPos~%int32 samplerPos~%~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'QuantosResponse)))
  "Returns full string definition for message of type 'QuantosResponse"
  (cl:format cl:nil "int32 frontDoorPos~%int32 samplerPos~%~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <QuantosResponse>))
  (cl:+ 0
     4
     4
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <QuantosResponse>))
  "Converts a ROS message object to a list"
  (cl:list 'QuantosResponse
    (cl:cons ':frontDoorPos (frontDoorPos msg))
    (cl:cons ':samplerPos (samplerPos msg))
))
