/usr/share/common-lisp/ros/dynamic_reconfigure/msg/Group.lisp is in cl-dynamic-reconfigure 1.5.46-1.
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 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 | ; Auto-generated. Do not edit!
(cl:in-package dynamic_reconfigure-msg)
;//! \htmlinclude Group.msg.html
(cl:defclass <Group> (roslisp-msg-protocol:ros-message)
((name
:reader name
:initarg :name
:type cl:string
:initform "")
(type
:reader type
:initarg :type
:type cl:string
:initform "")
(parameters
:reader parameters
:initarg :parameters
:type (cl:vector dynamic_reconfigure-msg:ParamDescription)
:initform (cl:make-array 0 :element-type 'dynamic_reconfigure-msg:ParamDescription :initial-element (cl:make-instance 'dynamic_reconfigure-msg:ParamDescription)))
(parent
:reader parent
:initarg :parent
:type cl:integer
:initform 0)
(id
:reader id
:initarg :id
:type cl:integer
:initform 0))
)
(cl:defclass Group (<Group>)
())
(cl:defmethod cl:initialize-instance :after ((m <Group>) cl:&rest args)
(cl:declare (cl:ignorable args))
(cl:unless (cl:typep m 'Group)
(roslisp-msg-protocol:msg-deprecation-warning "using old message class name dynamic_reconfigure-msg:<Group> is deprecated: use dynamic_reconfigure-msg:Group instead.")))
(cl:ensure-generic-function 'name-val :lambda-list '(m))
(cl:defmethod name-val ((m <Group>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader dynamic_reconfigure-msg:name-val is deprecated. Use dynamic_reconfigure-msg:name instead.")
(name m))
(cl:ensure-generic-function 'type-val :lambda-list '(m))
(cl:defmethod type-val ((m <Group>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader dynamic_reconfigure-msg:type-val is deprecated. Use dynamic_reconfigure-msg:type instead.")
(type m))
(cl:ensure-generic-function 'parameters-val :lambda-list '(m))
(cl:defmethod parameters-val ((m <Group>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader dynamic_reconfigure-msg:parameters-val is deprecated. Use dynamic_reconfigure-msg:parameters instead.")
(parameters m))
(cl:ensure-generic-function 'parent-val :lambda-list '(m))
(cl:defmethod parent-val ((m <Group>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader dynamic_reconfigure-msg:parent-val is deprecated. Use dynamic_reconfigure-msg:parent instead.")
(parent m))
(cl:ensure-generic-function 'id-val :lambda-list '(m))
(cl:defmethod id-val ((m <Group>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader dynamic_reconfigure-msg:id-val is deprecated. Use dynamic_reconfigure-msg:id instead.")
(id m))
(cl:defmethod roslisp-msg-protocol:serialize ((msg <Group>) ostream)
"Serializes a message object of type '<Group>"
(cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'name))))
(cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
(cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'name))
(cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'type))))
(cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
(cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'type))
(cl:let ((__ros_arr_len (cl:length (cl:slot-value msg 'parameters))))
(cl:write-byte (cl:ldb (cl:byte 8 0) __ros_arr_len) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 8) __ros_arr_len) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 16) __ros_arr_len) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 24) __ros_arr_len) ostream))
(cl:map cl:nil #'(cl:lambda (ele) (roslisp-msg-protocol:serialize ele ostream))
(cl:slot-value msg 'parameters))
(cl:let* ((signed (cl:slot-value msg 'parent)) (unsigned (cl:if (cl:< signed 0) (cl:+ signed 4294967296) signed)))
(cl:write-byte (cl:ldb (cl:byte 8 0) unsigned) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 8) unsigned) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 16) unsigned) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 24) unsigned) ostream)
)
(cl:let* ((signed (cl:slot-value msg 'id)) (unsigned (cl:if (cl:< signed 0) (cl:+ signed 4294967296) signed)))
(cl:write-byte (cl:ldb (cl:byte 8 0) unsigned) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 8) unsigned) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 16) unsigned) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 24) unsigned) ostream)
)
)
(cl:defmethod roslisp-msg-protocol:deserialize ((msg <Group>) istream)
"Deserializes a message object of type '<Group>"
(cl:let ((__ros_str_len 0))
(cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
(cl:setf (cl:slot-value msg 'name) (cl:make-string __ros_str_len))
(cl:dotimes (__ros_str_idx __ros_str_len msg)
(cl:setf (cl:char (cl:slot-value msg 'name) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
(cl:let ((__ros_str_len 0))
(cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
(cl:setf (cl:slot-value msg 'type) (cl:make-string __ros_str_len))
(cl:dotimes (__ros_str_idx __ros_str_len msg)
(cl:setf (cl:char (cl:slot-value msg 'type) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
(cl:let ((__ros_arr_len 0))
(cl:setf (cl:ldb (cl:byte 8 0) __ros_arr_len) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 8) __ros_arr_len) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 16) __ros_arr_len) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 24) __ros_arr_len) (cl:read-byte istream))
(cl:setf (cl:slot-value msg 'parameters) (cl:make-array __ros_arr_len))
(cl:let ((vals (cl:slot-value msg 'parameters)))
(cl:dotimes (i __ros_arr_len)
(cl:setf (cl:aref vals i) (cl:make-instance 'dynamic_reconfigure-msg:ParamDescription))
(roslisp-msg-protocol:deserialize (cl:aref vals i) istream))))
(cl:let ((unsigned 0))
(cl:setf (cl:ldb (cl:byte 8 0) unsigned) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 8) unsigned) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 16) unsigned) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 24) unsigned) (cl:read-byte istream))
(cl:setf (cl:slot-value msg 'parent) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
(cl:let ((unsigned 0))
(cl:setf (cl:ldb (cl:byte 8 0) unsigned) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 8) unsigned) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 16) unsigned) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 24) unsigned) (cl:read-byte istream))
(cl:setf (cl:slot-value msg 'id) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<Group>)))
"Returns string type for a message object of type '<Group>"
"dynamic_reconfigure/Group")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'Group)))
"Returns string type for a message object of type 'Group"
"dynamic_reconfigure/Group")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<Group>)))
"Returns md5sum for a message object of type '<Group>"
"9e8cd9e9423c94823db3614dd8b1cf7a")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'Group)))
"Returns md5sum for a message object of type 'Group"
"9e8cd9e9423c94823db3614dd8b1cf7a")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<Group>)))
"Returns full string definition for message of type '<Group>"
(cl:format cl:nil "string name~%string type~%ParamDescription[] parameters~%int32 parent ~%int32 id~%~%================================================================================~%MSG: dynamic_reconfigure/ParamDescription~%string name~%string type~%uint32 level~%string description~%string edit_method~%~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'Group)))
"Returns full string definition for message of type 'Group"
(cl:format cl:nil "string name~%string type~%ParamDescription[] parameters~%int32 parent ~%int32 id~%~%================================================================================~%MSG: dynamic_reconfigure/ParamDescription~%string name~%string type~%uint32 level~%string description~%string edit_method~%~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <Group>))
(cl:+ 0
4 (cl:length (cl:slot-value msg 'name))
4 (cl:length (cl:slot-value msg 'type))
4 (cl:reduce #'cl:+ (cl:slot-value msg 'parameters) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ (roslisp-msg-protocol:serialization-length ele))))
4
4
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <Group>))
"Converts a ROS message object to a list"
(cl:list 'Group
(cl:cons ':name (name msg))
(cl:cons ':type (type msg))
(cl:cons ':parameters (parameters msg))
(cl:cons ':parent (parent msg))
(cl:cons ':id (id msg))
))
|