; Auto-generated. Do not edit!


(cl:in-package fisherbrand_pps4102_balance_msgs-msg)


;//! \htmlinclude BalanceReading.msg.html

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

(cl:defclass BalanceReading (<BalanceReading>)
  ())

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

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