; Auto-generated. Do not edit!


(in-package std_msgs-msg)


;//! \htmlinclude Bool.msg.html

(defclass <Bool> (ros-message)
  ((data
    :reader data-val
    :initarg :data
    :type boolean
    :initform nil))
)
(defmethod serialize ((msg <Bool>) ostream)
  "Serializes a message object of type '<Bool>"
    (write-byte (ldb (byte 8 0) (if (slot-value msg 'data) 1 0)) ostream)
)
(defmethod deserialize ((msg <Bool>) istream)
  "Deserializes a message object of type '<Bool>"
  (setf (slot-value msg 'data) (not (zerop (read-byte istream))))
  msg
)
(defmethod ros-datatype ((msg (eql '<Bool>)))
  "Returns string type for a message object of type '<Bool>"
  "std_msgs/Bool")
(defmethod md5sum ((type (eql '<Bool>)))
  "Returns md5sum for a message object of type '<Bool>"
  "8b94c1b53db61fb6aed406028ad6332a")
(defmethod message-definition ((type (eql '<Bool>)))
  "Returns full string definition for message of type '<Bool>"
  (format nil "bool data~%~%"))
(defmethod serialization-length ((msg <Bool>))
  (+ 0
     1
))
(defmethod ros-message-to-list ((msg <Bool>))
  "Converts a ROS message object to a list"
  (list '<Bool>
    (cons ':data (data-val msg))
))
