/usr/share/common-lisp/ros/geometry_msgs/msg/Point32.lisp is in cl-geometry-msgs 1.12.5-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 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | ; Auto-generated. Do not edit!
(cl:in-package geometry_msgs-msg)
;//! \htmlinclude Point32.msg.html
(cl:defclass <Point32> (roslisp-msg-protocol:ros-message)
((x
:reader x
:initarg :x
:type cl:float
:initform 0.0)
(y
:reader y
:initarg :y
:type cl:float
:initform 0.0)
(z
:reader z
:initarg :z
:type cl:float
:initform 0.0))
)
(cl:defclass Point32 (<Point32>)
())
(cl:defmethod cl:initialize-instance :after ((m <Point32>) cl:&rest args)
(cl:declare (cl:ignorable args))
(cl:unless (cl:typep m 'Point32)
(roslisp-msg-protocol:msg-deprecation-warning "using old message class name geometry_msgs-msg:<Point32> is deprecated: use geometry_msgs-msg:Point32 instead.")))
(cl:ensure-generic-function 'x-val :lambda-list '(m))
(cl:defmethod x-val ((m <Point32>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader geometry_msgs-msg:x-val is deprecated. Use geometry_msgs-msg:x instead.")
(x m))
(cl:ensure-generic-function 'y-val :lambda-list '(m))
(cl:defmethod y-val ((m <Point32>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader geometry_msgs-msg:y-val is deprecated. Use geometry_msgs-msg:y instead.")
(y m))
(cl:ensure-generic-function 'z-val :lambda-list '(m))
(cl:defmethod z-val ((m <Point32>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader geometry_msgs-msg:z-val is deprecated. Use geometry_msgs-msg:z instead.")
(z m))
(cl:defmethod roslisp-msg-protocol:serialize ((msg <Point32>) ostream)
"Serializes a message object of type '<Point32>"
(cl:let ((bits (roslisp-utils:encode-single-float-bits (cl:slot-value msg 'x))))
(cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream))
(cl:let ((bits (roslisp-utils:encode-single-float-bits (cl:slot-value msg 'y))))
(cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream))
(cl:let ((bits (roslisp-utils:encode-single-float-bits (cl:slot-value msg 'z))))
(cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream))
)
(cl:defmethod roslisp-msg-protocol:deserialize ((msg <Point32>) istream)
"Deserializes a message object of type '<Point32>"
(cl:let ((bits 0))
(cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream))
(cl:setf (cl:slot-value msg 'x) (roslisp-utils:decode-single-float-bits bits)))
(cl:let ((bits 0))
(cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream))
(cl:setf (cl:slot-value msg 'y) (roslisp-utils:decode-single-float-bits bits)))
(cl:let ((bits 0))
(cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream))
(cl:setf (cl:slot-value msg 'z) (roslisp-utils:decode-single-float-bits bits)))
msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<Point32>)))
"Returns string type for a message object of type '<Point32>"
"geometry_msgs/Point32")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'Point32)))
"Returns string type for a message object of type 'Point32"
"geometry_msgs/Point32")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<Point32>)))
"Returns md5sum for a message object of type '<Point32>"
"cc153912f1453b708d221682bc23d9ac")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'Point32)))
"Returns md5sum for a message object of type 'Point32"
"cc153912f1453b708d221682bc23d9ac")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<Point32>)))
"Returns full string definition for message of type '<Point32>"
(cl:format cl:nil "# This contains the position of a point in free space(with 32 bits of precision).~%# It is recommeded to use Point wherever possible instead of Point32. ~%# ~%# This recommendation is to promote interoperability. ~%#~%# This message is designed to take up less space when sending~%# lots of points at once, as in the case of a PointCloud. ~%~%float32 x~%float32 y~%float32 z~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'Point32)))
"Returns full string definition for message of type 'Point32"
(cl:format cl:nil "# This contains the position of a point in free space(with 32 bits of precision).~%# It is recommeded to use Point wherever possible instead of Point32. ~%# ~%# This recommendation is to promote interoperability. ~%#~%# This message is designed to take up less space when sending~%# lots of points at once, as in the case of a PointCloud. ~%~%float32 x~%float32 y~%float32 z~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <Point32>))
(cl:+ 0
4
4
4
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <Point32>))
"Converts a ROS message object to a list"
(cl:list 'Point32
(cl:cons ':x (x msg))
(cl:cons ':y (y msg))
(cl:cons ':z (z msg))
))
|