; Auto-generated. Do not edit!


(cl:in-package kern_pcb_balance_msgs-msg)


;//! \htmlinclude KernCommand.msg.html

(cl:defclass <KernCommand> (roslisp-msg-protocol:ros-message)
  ((kern_command
    :reader kern_command
    :initarg :kern_command
    :type cl:integer
    :initform 0))
)

(cl:defclass KernCommand (<KernCommand>)
  ())

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

(cl:ensure-generic-function 'kern_command-val :lambda-list '(m))
(cl:defmethod kern_command-val ((m <KernCommand>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader kern_pcb_balance_msgs-msg:kern_command-val is deprecated.  Use kern_pcb_balance_msgs-msg:kern_command instead.")
  (kern_command m))
(cl:defmethod roslisp-msg-protocol:symbol-codes ((msg-type (cl:eql '<KernCommand>)))
    "Constants for message type '<KernCommand>"
  '((:ZERO . 0))
)
(cl:defmethod roslisp-msg-protocol:symbol-codes ((msg-type (cl:eql 'KernCommand)))
    "Constants for message type 'KernCommand"
  '((:ZERO . 0))
)
(cl:defmethod roslisp-msg-protocol:serialize ((msg <KernCommand>) ostream)
  "Serializes a message object of type '<KernCommand>"
  (cl:let* ((signed (cl:slot-value msg 'kern_command)) (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 <KernCommand>) istream)
  "Deserializes a message object of type '<KernCommand>"
    (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 'kern_command) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
  msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<KernCommand>)))
  "Returns string type for a message object of type '<KernCommand>"
  "kern_pcb_balance_msgs/KernCommand")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'KernCommand)))
  "Returns string type for a message object of type 'KernCommand"
  "kern_pcb_balance_msgs/KernCommand")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<KernCommand>)))
  "Returns md5sum for a message object of type '<KernCommand>"
  "be19004f897ef341d72d902917da8054")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'KernCommand)))
  "Returns md5sum for a message object of type 'KernCommand"
  "be19004f897ef341d72d902917da8054")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<KernCommand>)))
  "Returns full string definition for message of type '<KernCommand>"
  (cl:format cl:nil "# Available commands to use the Fisher Scientific PPS4102 Top Pan balance ~%int32 ZERO = 0~%~%int32 kern_command ~%~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'KernCommand)))
  "Returns full string definition for message of type 'KernCommand"
  (cl:format cl:nil "# Available commands to use the Fisher Scientific PPS4102 Top Pan balance ~%int32 ZERO = 0~%~%int32 kern_command ~%~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <KernCommand>))
  (cl:+ 0
     4
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <KernCommand>))
  "Converts a ROS message object to a list"
  (cl:list 'KernCommand
    (cl:cons ':kern_command (kern_command msg))
))
