/usr/share/common-lisp/ros/std_msgs/msg/UInt32.lisp is in cl-std-msgs 0.5.9-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | ; Auto-generated. Do not edit!
(cl:in-package std_msgs-msg)
;//! \htmlinclude UInt32.msg.html
(cl:defclass <UInt32> (roslisp-msg-protocol:ros-message)
((data
:reader data
:initarg :data
:type cl:integer
:initform 0))
)
(cl:defclass UInt32 (<UInt32>)
())
(cl:defmethod cl:initialize-instance :after ((m <UInt32>) cl:&rest args)
(cl:declare (cl:ignorable args))
(cl:unless (cl:typep m 'UInt32)
(roslisp-msg-protocol:msg-deprecation-warning "using old message class name std_msgs-msg:<UInt32> is deprecated: use std_msgs-msg:UInt32 instead.")))
(cl:ensure-generic-function 'data-val :lambda-list '(m))
(cl:defmethod data-val ((m <UInt32>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader std_msgs-msg:data-val is deprecated. Use std_msgs-msg:data instead.")
(data m))
(cl:defmethod roslisp-msg-protocol:serialize ((msg <UInt32>) ostream)
"Serializes a message object of type '<UInt32>"
(cl:write-byte (cl:ldb (cl:byte 8 0) (cl:slot-value msg 'data)) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 8) (cl:slot-value msg 'data)) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 16) (cl:slot-value msg 'data)) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 24) (cl:slot-value msg 'data)) ostream)
)
(cl:defmethod roslisp-msg-protocol:deserialize ((msg <UInt32>) istream)
"Deserializes a message object of type '<UInt32>"
(cl:setf (cl:ldb (cl:byte 8 0) (cl:slot-value msg 'data)) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 8) (cl:slot-value msg 'data)) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 16) (cl:slot-value msg 'data)) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 24) (cl:slot-value msg 'data)) (cl:read-byte istream))
msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<UInt32>)))
"Returns string type for a message object of type '<UInt32>"
"std_msgs/UInt32")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'UInt32)))
"Returns string type for a message object of type 'UInt32"
"std_msgs/UInt32")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<UInt32>)))
"Returns md5sum for a message object of type '<UInt32>"
"304a39449588c7f8ce2df6e8001c5fce")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'UInt32)))
"Returns md5sum for a message object of type 'UInt32"
"304a39449588c7f8ce2df6e8001c5fce")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<UInt32>)))
"Returns full string definition for message of type '<UInt32>"
(cl:format cl:nil "uint32 data~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'UInt32)))
"Returns full string definition for message of type 'UInt32"
(cl:format cl:nil "uint32 data~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <UInt32>))
(cl:+ 0
4
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <UInt32>))
"Converts a ROS message object to a list"
(cl:list 'UInt32
(cl:cons ':data (data msg))
))
|