; Auto-generated. Do not edit!


(in-package std_msgs-msg)


;//! \htmlinclude Float32.msg.html

(defclass <Float32> (ros-message)
  ((data
    :reader data-val
    :initarg :data
    :type float
    :initform 0.0))
)
(defmethod serialize ((msg <Float32>) ostream)
  "Serializes a message object of type '<Float32>"
  (let ((bits (roslisp-utils:encode-single-float-bits (slot-value msg 'data))))
    (write-byte (ldb (byte 8 0) bits) ostream)
    (write-byte (ldb (byte 8 8) bits) ostream)
    (write-byte (ldb (byte 8 16) bits) ostream)
    (write-byte (ldb (byte 8 24) bits) ostream))
)
(defmethod deserialize ((msg <Float32>) istream)
  "Deserializes a message object of type '<Float32>"
  (let ((bits 0))
    (setf (ldb (byte 8 0) bits) (read-byte istream))
    (setf (ldb (byte 8 8) bits) (read-byte istream))
    (setf (ldb (byte 8 16) bits) (read-byte istream))
    (setf (ldb (byte 8 24) bits) (read-byte istream))
    (setf (slot-value msg 'data) (roslisp-utils:decode-single-float-bits bits)))
  msg
)
(defmethod ros-datatype ((msg (eql '<Float32>)))
  "Returns string type for a message object of type '<Float32>"
  "std_msgs/Float32")
(defmethod md5sum ((type (eql '<Float32>)))
  "Returns md5sum for a message object of type '<Float32>"
  "73fcbf46b49191e672908e50842a83d4")
(defmethod message-definition ((type (eql '<Float32>)))
  "Returns full string definition for message of type '<Float32>"
  (format nil "float32 data~%~%"))
(defmethod serialization-length ((msg <Float32>))
  (+ 0
     4
))
(defmethod ros-message-to-list ((msg <Float32>))
  "Converts a ROS message object to a list"
  (list '<Float32>
    (cons ':data (data-val msg))
))
