; Auto-generated. Do not edit!


(cl:in-package kern_pcb_balance_msgs-msg)


;//! \htmlinclude KernReading.msg.html

(cl:defclass <KernReading> (roslisp-msg-protocol:ros-message)
  ((weight
    :reader weight
    :initarg :weight
    :type cl:float
    :initform 0.0))
)

(cl:defclass KernReading (<KernReading>)
  ())

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

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