; Auto-generated. Do not edit!


(cl:in-package ika_plate_rct_digital_msgs-msg)


;//! \htmlinclude IKACommand.msg.html

(cl:defclass <IKACommand> (roslisp-msg-protocol:ros-message)
  ((ika_command
    :reader ika_command
    :initarg :ika_command
    :type cl:integer
    :initform 0)
   (ika_param
    :reader ika_param
    :initarg :ika_param
    :type cl:integer
    :initform 0))
)

(cl:defclass IKACommand (<IKACommand>)
  ())

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

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

(cl:ensure-generic-function 'ika_param-val :lambda-list '(m))
(cl:defmethod ika_param-val ((m <IKACommand>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader ika_plate_rct_digital_msgs-msg:ika_param-val is deprecated.  Use ika_plate_rct_digital_msgs-msg:ika_param instead.")
  (ika_param m))
(cl:defmethod roslisp-msg-protocol:symbol-codes ((msg-type (cl:eql '<IKACommand>)))
    "Constants for message type '<IKACommand>"
  '((:HEATON . 0)
    (:HEATOFF . 1)
    (:STIRON . 2)
    (:STIROFF . 3)
    (:SETSTIR . 4)
    (:SETHEAT . 5)
    (:STIRAT . 6)
    (:HEATAT . 7)
    (:ALLOFF . 8))
)
(cl:defmethod roslisp-msg-protocol:symbol-codes ((msg-type (cl:eql 'IKACommand)))
    "Constants for message type 'IKACommand"
  '((:HEATON . 0)
    (:HEATOFF . 1)
    (:STIRON . 2)
    (:STIROFF . 3)
    (:SETSTIR . 4)
    (:SETHEAT . 5)
    (:STIRAT . 6)
    (:HEATAT . 7)
    (:ALLOFF . 8))
)
(cl:defmethod roslisp-msg-protocol:serialize ((msg <IKACommand>) ostream)
  "Serializes a message object of type '<IKACommand>"
  (cl:let* ((signed (cl:slot-value msg 'ika_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:let* ((signed (cl:slot-value msg 'ika_param)) (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 <IKACommand>) istream)
  "Deserializes a message object of type '<IKACommand>"
    (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 'ika_command) (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 'ika_param) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
  msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<IKACommand>)))
  "Returns string type for a message object of type '<IKACommand>"
  "ika_plate_rct_digital_msgs/IKACommand")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'IKACommand)))
  "Returns string type for a message object of type 'IKACommand"
  "ika_plate_rct_digital_msgs/IKACommand")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<IKACommand>)))
  "Returns md5sum for a message object of type '<IKACommand>"
  "ec118b63f829809c8ad64cad8c151220")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'IKACommand)))
  "Returns md5sum for a message object of type 'IKACommand"
  "ec118b63f829809c8ad64cad8c151220")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<IKACommand>)))
  "Returns full string definition for message of type '<IKACommand>"
  (cl:format cl:nil "# Available commands to use the Fisher Scientific PPS4102 Top Pan balance ~%int32 HEATON = 0~%int32 HEATOFF = 1~%int32 STIRON = 2~%int32 STIROFF = 3~%int32 SETSTIR = 4~%int32 SETHEAT = 5~%int32 STIRAT = 6~%int32 HEATAT = 7~%int32 ALLOFF = 8~%~%int32 ika_command~%int32 ika_param~%~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'IKACommand)))
  "Returns full string definition for message of type 'IKACommand"
  (cl:format cl:nil "# Available commands to use the Fisher Scientific PPS4102 Top Pan balance ~%int32 HEATON = 0~%int32 HEATOFF = 1~%int32 STIRON = 2~%int32 STIROFF = 3~%int32 SETSTIR = 4~%int32 SETHEAT = 5~%int32 STIRAT = 6~%int32 HEATAT = 7~%int32 ALLOFF = 8~%~%int32 ika_command~%int32 ika_param~%~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <IKACommand>))
  (cl:+ 0
     4
     4
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <IKACommand>))
  "Converts a ROS message object to a list"
  (cl:list 'IKACommand
    (cl:cons ':ika_command (ika_command msg))
    (cl:cons ':ika_param (ika_param msg))
))
