; Auto-generated. Do not edit!


(in-package std_msgs-msg)


;//! \htmlinclude UInt16.msg.html

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