; Auto-generated. Do not edit!


(in-package std_msgs-msg)


;//! \htmlinclude Int16.msg.html

(defclass <Int16> (ros-message)
  ((data
    :reader data-val
    :initarg :data
    :type fixnum
    :initform 0))
)
(defmethod serialize ((msg <Int16>) ostream)
  "Serializes a message object of type '<Int16>"
    (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 <Int16>) istream)
  "Deserializes a message object of type '<Int16>"
  (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 '<Int16>)))
  "Returns string type for a message object of type '<Int16>"
  "std_msgs/Int16")
(defmethod md5sum ((type (eql '<Int16>)))
  "Returns md5sum for a message object of type '<Int16>"
  "8524586e34fbd7cb1c08c5f5f1ca0e57")
(defmethod message-definition ((type (eql '<Int16>)))
  "Returns full string definition for message of type '<Int16>"
  (format nil "int16 data~%~%~%"))
(defmethod serialization-length ((msg <Int16>))
  (+ 0
     2
))
(defmethod ros-message-to-list ((msg <Int16>))
  "Converts a ROS message object to a list"
  (list '<Int16>
    (cons ':data (data-val msg))
))
