; Auto-generated. Do not edit!


(in-package nxt_msgs-msg)


;//! \htmlinclude Contact.msg.html

(defclass <Contact> (ros-message)
  ((header
    :reader header-val
    :initarg :header
    :type roslib-msg:<Header>
    :initform (make-instance 'roslib-msg:<Header>))
   (contact
    :reader contact-val
    :initarg :contact
    :type boolean
    :initform nil))
)
(defmethod serialize ((msg <Contact>) ostream)
  "Serializes a message object of type '<Contact>"
  (serialize (slot-value msg 'header) ostream)
    (write-byte (ldb (byte 8 0) (if (slot-value msg 'contact) 1 0)) ostream)
)
(defmethod deserialize ((msg <Contact>) istream)
  "Deserializes a message object of type '<Contact>"
  (deserialize (slot-value msg 'header) istream)
  (setf (slot-value msg 'contact) (not (zerop (read-byte istream))))
  msg
)
(defmethod ros-datatype ((msg (eql '<Contact>)))
  "Returns string type for a message object of type '<Contact>"
  "nxt_msgs/Contact")
(defmethod md5sum ((type (eql '<Contact>)))
  "Returns md5sum for a message object of type '<Contact>"
  "771b237034839b48d5de401dc68aaf43")
(defmethod message-definition ((type (eql '<Contact>)))
  "Returns full string definition for message of type '<Contact>"
  (format nil "Header header~%bool contact~%~%================================================================================~%MSG: roslib/Header~%# Standard metadata for higher-level stamped data types.~%# This is generally used to communicate timestamped data ~%# in a particular coordinate frame.~%# ~%# sequence ID: consecutively increasing ID ~%uint32 seq~%#Two-integer timestamp that is expressed as:~%# * stamp.secs: seconds (stamp_secs) since epoch~%# * stamp.nsecs: nanoseconds since stamp_secs~%# time-handling sugar is provided by the client library~%time stamp~%#Frame this data is associated with~%# 0: no frame~%# 1: global frame~%string frame_id~%~%~%"))
(defmethod serialization-length ((msg <Contact>))
  (+ 0
     (serialization-length (slot-value msg 'header))
     1
))
(defmethod ros-message-to-list ((msg <Contact>))
  "Converts a ROS message object to a list"
  (list '<Contact>
    (cons ':header (header-val msg))
    (cons ':contact (contact-val msg))
))
