/usr/share/common-lisp/ros/visualization_msgs/msg/Marker.lisp is in cl-visualization-msgs 1.12.5-3.
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 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 | ; Auto-generated. Do not edit!
(cl:in-package visualization_msgs-msg)
;//! \htmlinclude Marker.msg.html
(cl:defclass <Marker> (roslisp-msg-protocol:ros-message)
((header
:reader header
:initarg :header
:type std_msgs-msg:Header
:initform (cl:make-instance 'std_msgs-msg:Header))
(ns
:reader ns
:initarg :ns
:type cl:string
:initform "")
(id
:reader id
:initarg :id
:type cl:integer
:initform 0)
(type
:reader type
:initarg :type
:type cl:integer
:initform 0)
(action
:reader action
:initarg :action
:type cl:integer
:initform 0)
(pose
:reader pose
:initarg :pose
:type geometry_msgs-msg:Pose
:initform (cl:make-instance 'geometry_msgs-msg:Pose))
(scale
:reader scale
:initarg :scale
:type geometry_msgs-msg:Vector3
:initform (cl:make-instance 'geometry_msgs-msg:Vector3))
(color
:reader color
:initarg :color
:type std_msgs-msg:ColorRGBA
:initform (cl:make-instance 'std_msgs-msg:ColorRGBA))
(lifetime
:reader lifetime
:initarg :lifetime
:type cl:real
:initform 0)
(frame_locked
:reader frame_locked
:initarg :frame_locked
:type cl:boolean
:initform cl:nil)
(points
:reader points
:initarg :points
:type (cl:vector geometry_msgs-msg:Point)
:initform (cl:make-array 0 :element-type 'geometry_msgs-msg:Point :initial-element (cl:make-instance 'geometry_msgs-msg:Point)))
(colors
:reader colors
:initarg :colors
:type (cl:vector std_msgs-msg:ColorRGBA)
:initform (cl:make-array 0 :element-type 'std_msgs-msg:ColorRGBA :initial-element (cl:make-instance 'std_msgs-msg:ColorRGBA)))
(text
:reader text
:initarg :text
:type cl:string
:initform "")
(mesh_resource
:reader mesh_resource
:initarg :mesh_resource
:type cl:string
:initform "")
(mesh_use_embedded_materials
:reader mesh_use_embedded_materials
:initarg :mesh_use_embedded_materials
:type cl:boolean
:initform cl:nil))
)
(cl:defclass Marker (<Marker>)
())
(cl:defmethod cl:initialize-instance :after ((m <Marker>) cl:&rest args)
(cl:declare (cl:ignorable args))
(cl:unless (cl:typep m 'Marker)
(roslisp-msg-protocol:msg-deprecation-warning "using old message class name visualization_msgs-msg:<Marker> is deprecated: use visualization_msgs-msg:Marker instead.")))
(cl:ensure-generic-function 'header-val :lambda-list '(m))
(cl:defmethod header-val ((m <Marker>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader visualization_msgs-msg:header-val is deprecated. Use visualization_msgs-msg:header instead.")
(header m))
(cl:ensure-generic-function 'ns-val :lambda-list '(m))
(cl:defmethod ns-val ((m <Marker>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader visualization_msgs-msg:ns-val is deprecated. Use visualization_msgs-msg:ns instead.")
(ns m))
(cl:ensure-generic-function 'id-val :lambda-list '(m))
(cl:defmethod id-val ((m <Marker>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader visualization_msgs-msg:id-val is deprecated. Use visualization_msgs-msg:id instead.")
(id m))
(cl:ensure-generic-function 'type-val :lambda-list '(m))
(cl:defmethod type-val ((m <Marker>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader visualization_msgs-msg:type-val is deprecated. Use visualization_msgs-msg:type instead.")
(type m))
(cl:ensure-generic-function 'action-val :lambda-list '(m))
(cl:defmethod action-val ((m <Marker>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader visualization_msgs-msg:action-val is deprecated. Use visualization_msgs-msg:action instead.")
(action m))
(cl:ensure-generic-function 'pose-val :lambda-list '(m))
(cl:defmethod pose-val ((m <Marker>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader visualization_msgs-msg:pose-val is deprecated. Use visualization_msgs-msg:pose instead.")
(pose m))
(cl:ensure-generic-function 'scale-val :lambda-list '(m))
(cl:defmethod scale-val ((m <Marker>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader visualization_msgs-msg:scale-val is deprecated. Use visualization_msgs-msg:scale instead.")
(scale m))
(cl:ensure-generic-function 'color-val :lambda-list '(m))
(cl:defmethod color-val ((m <Marker>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader visualization_msgs-msg:color-val is deprecated. Use visualization_msgs-msg:color instead.")
(color m))
(cl:ensure-generic-function 'lifetime-val :lambda-list '(m))
(cl:defmethod lifetime-val ((m <Marker>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader visualization_msgs-msg:lifetime-val is deprecated. Use visualization_msgs-msg:lifetime instead.")
(lifetime m))
(cl:ensure-generic-function 'frame_locked-val :lambda-list '(m))
(cl:defmethod frame_locked-val ((m <Marker>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader visualization_msgs-msg:frame_locked-val is deprecated. Use visualization_msgs-msg:frame_locked instead.")
(frame_locked m))
(cl:ensure-generic-function 'points-val :lambda-list '(m))
(cl:defmethod points-val ((m <Marker>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader visualization_msgs-msg:points-val is deprecated. Use visualization_msgs-msg:points instead.")
(points m))
(cl:ensure-generic-function 'colors-val :lambda-list '(m))
(cl:defmethod colors-val ((m <Marker>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader visualization_msgs-msg:colors-val is deprecated. Use visualization_msgs-msg:colors instead.")
(colors m))
(cl:ensure-generic-function 'text-val :lambda-list '(m))
(cl:defmethod text-val ((m <Marker>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader visualization_msgs-msg:text-val is deprecated. Use visualization_msgs-msg:text instead.")
(text m))
(cl:ensure-generic-function 'mesh_resource-val :lambda-list '(m))
(cl:defmethod mesh_resource-val ((m <Marker>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader visualization_msgs-msg:mesh_resource-val is deprecated. Use visualization_msgs-msg:mesh_resource instead.")
(mesh_resource m))
(cl:ensure-generic-function 'mesh_use_embedded_materials-val :lambda-list '(m))
(cl:defmethod mesh_use_embedded_materials-val ((m <Marker>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader visualization_msgs-msg:mesh_use_embedded_materials-val is deprecated. Use visualization_msgs-msg:mesh_use_embedded_materials instead.")
(mesh_use_embedded_materials m))
(cl:defmethod roslisp-msg-protocol:symbol-codes ((msg-type (cl:eql '<Marker>)))
"Constants for message type '<Marker>"
'((:ARROW . 0)
(:CUBE . 1)
(:SPHERE . 2)
(:CYLINDER . 3)
(:LINE_STRIP . 4)
(:LINE_LIST . 5)
(:CUBE_LIST . 6)
(:SPHERE_LIST . 7)
(:POINTS . 8)
(:TEXT_VIEW_FACING . 9)
(:MESH_RESOURCE . 10)
(:TRIANGLE_LIST . 11)
(:ADD . 0)
(:MODIFY . 0)
(:DELETE . 2)
(:DELETEALL . 3))
)
(cl:defmethod roslisp-msg-protocol:symbol-codes ((msg-type (cl:eql 'Marker)))
"Constants for message type 'Marker"
'((:ARROW . 0)
(:CUBE . 1)
(:SPHERE . 2)
(:CYLINDER . 3)
(:LINE_STRIP . 4)
(:LINE_LIST . 5)
(:CUBE_LIST . 6)
(:SPHERE_LIST . 7)
(:POINTS . 8)
(:TEXT_VIEW_FACING . 9)
(:MESH_RESOURCE . 10)
(:TRIANGLE_LIST . 11)
(:ADD . 0)
(:MODIFY . 0)
(:DELETE . 2)
(:DELETEALL . 3))
)
(cl:defmethod roslisp-msg-protocol:serialize ((msg <Marker>) ostream)
"Serializes a message object of type '<Marker>"
(roslisp-msg-protocol:serialize (cl:slot-value msg 'header) ostream)
(cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'ns))))
(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 'ns))
(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:let* ((signed (cl:slot-value msg 'type)) (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 'action)) (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)
)
(roslisp-msg-protocol:serialize (cl:slot-value msg 'pose) ostream)
(roslisp-msg-protocol:serialize (cl:slot-value msg 'scale) ostream)
(roslisp-msg-protocol:serialize (cl:slot-value msg 'color) ostream)
(cl:let ((__sec (cl:floor (cl:slot-value msg 'lifetime)))
(__nsec (cl:round (cl:* 1e9 (cl:- (cl:slot-value msg 'lifetime) (cl:floor (cl:slot-value msg 'lifetime)))))))
(cl:write-byte (cl:ldb (cl:byte 8 0) __sec) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 8) __sec) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 16) __sec) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 24) __sec) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 0) __nsec) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 8) __nsec) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 16) __nsec) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 24) __nsec) ostream))
(cl:write-byte (cl:ldb (cl:byte 8 0) (cl:if (cl:slot-value msg 'frame_locked) 1 0)) ostream)
(cl:let ((__ros_arr_len (cl:length (cl:slot-value msg 'points))))
(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 'points))
(cl:let ((__ros_arr_len (cl:length (cl:slot-value msg 'colors))))
(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 'colors))
(cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'text))))
(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 'text))
(cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'mesh_resource))))
(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 'mesh_resource))
(cl:write-byte (cl:ldb (cl:byte 8 0) (cl:if (cl:slot-value msg 'mesh_use_embedded_materials) 1 0)) ostream)
)
(cl:defmethod roslisp-msg-protocol:deserialize ((msg <Marker>) istream)
"Deserializes a message object of type '<Marker>"
(roslisp-msg-protocol:deserialize (cl:slot-value msg 'header) 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 'ns) (cl:make-string __ros_str_len))
(cl:dotimes (__ros_str_idx __ros_str_len msg)
(cl:setf (cl:char (cl:slot-value msg 'ns) __ros_str_idx) (cl:code-char (cl:read-byte 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 'id) (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 'type) (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 'action) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
(roslisp-msg-protocol:deserialize (cl:slot-value msg 'pose) istream)
(roslisp-msg-protocol:deserialize (cl:slot-value msg 'scale) istream)
(roslisp-msg-protocol:deserialize (cl:slot-value msg 'color) istream)
(cl:let ((__sec 0) (__nsec 0))
(cl:setf (cl:ldb (cl:byte 8 0) __sec) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 8) __sec) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 16) __sec) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 24) __sec) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 0) __nsec) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 8) __nsec) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 16) __nsec) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 24) __nsec) (cl:read-byte istream))
(cl:setf (cl:slot-value msg 'lifetime) (cl:+ (cl:coerce __sec 'cl:double-float) (cl:/ __nsec 1e9))))
(cl:setf (cl:slot-value msg 'frame_locked) (cl:not (cl:zerop (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 'points) (cl:make-array __ros_arr_len))
(cl:let ((vals (cl:slot-value msg 'points)))
(cl:dotimes (i __ros_arr_len)
(cl:setf (cl:aref vals i) (cl:make-instance 'geometry_msgs-msg:Point))
(roslisp-msg-protocol:deserialize (cl:aref vals i) 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 'colors) (cl:make-array __ros_arr_len))
(cl:let ((vals (cl:slot-value msg 'colors)))
(cl:dotimes (i __ros_arr_len)
(cl:setf (cl:aref vals i) (cl:make-instance 'std_msgs-msg:ColorRGBA))
(roslisp-msg-protocol:deserialize (cl:aref vals i) 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 'text) (cl:make-string __ros_str_len))
(cl:dotimes (__ros_str_idx __ros_str_len msg)
(cl:setf (cl:char (cl:slot-value msg 'text) __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 'mesh_resource) (cl:make-string __ros_str_len))
(cl:dotimes (__ros_str_idx __ros_str_len msg)
(cl:setf (cl:char (cl:slot-value msg 'mesh_resource) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
(cl:setf (cl:slot-value msg 'mesh_use_embedded_materials) (cl:not (cl:zerop (cl:read-byte istream))))
msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<Marker>)))
"Returns string type for a message object of type '<Marker>"
"visualization_msgs/Marker")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'Marker)))
"Returns string type for a message object of type 'Marker"
"visualization_msgs/Marker")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<Marker>)))
"Returns md5sum for a message object of type '<Marker>"
"4048c9de2a16f4ae8e0538085ebf1b97")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'Marker)))
"Returns md5sum for a message object of type 'Marker"
"4048c9de2a16f4ae8e0538085ebf1b97")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<Marker>)))
"Returns full string definition for message of type '<Marker>"
(cl:format cl:nil "# See http://www.ros.org/wiki/rviz/DisplayTypes/Marker and http://www.ros.org/wiki/rviz/Tutorials/Markers%3A%20Basic%20Shapes for more information on using this message with rviz~%~%uint8 ARROW=0~%uint8 CUBE=1~%uint8 SPHERE=2~%uint8 CYLINDER=3~%uint8 LINE_STRIP=4~%uint8 LINE_LIST=5~%uint8 CUBE_LIST=6~%uint8 SPHERE_LIST=7~%uint8 POINTS=8~%uint8 TEXT_VIEW_FACING=9~%uint8 MESH_RESOURCE=10~%uint8 TRIANGLE_LIST=11~%~%uint8 ADD=0~%uint8 MODIFY=0~%uint8 DELETE=2~%uint8 DELETEALL=3~%~%Header header # header for time/frame information~%string ns # Namespace to place this object in... used in conjunction with id to create a unique name for the object~%int32 id # object ID useful in conjunction with the namespace for manipulating and deleting the object later~%int32 type # Type of object~%int32 action # 0 add/modify an object, 1 (deprecated), 2 deletes an object, 3 deletes all objects~%geometry_msgs/Pose pose # Pose of the object~%geometry_msgs/Vector3 scale # Scale of the object 1,1,1 means default (usually 1 meter square)~%std_msgs/ColorRGBA color # Color [0.0-1.0]~%duration lifetime # How long the object should last before being automatically deleted. 0 means forever~%bool frame_locked # If this marker should be frame-locked, i.e. retransformed into its frame every timestep~%~%#Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)~%geometry_msgs/Point[] points~%#Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)~%#number of colors must either be 0 or equal to the number of points~%#NOTE: alpha is not yet used~%std_msgs/ColorRGBA[] colors~%~%# NOTE: only used for text markers~%string text~%~%# NOTE: only used for MESH_RESOURCE markers~%string mesh_resource~%bool mesh_use_embedded_materials~%~%================================================================================~%MSG: std_msgs/Header~%# Standard metadata for higher-level stamped data types.~%# This is generally used to communicate timestamped data ~%# in a particular coordinate frame.~%# ~%# sequence ID: consecutively increasing ID ~%uint32 seq~%#Two-integer timestamp that is expressed as:~%# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')~%# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')~%# time-handling sugar is provided by the client library~%time stamp~%#Frame this data is associated with~%# 0: no frame~%# 1: global frame~%string frame_id~%~%================================================================================~%MSG: geometry_msgs/Pose~%# A representation of pose in free space, composed of position and orientation. ~%Point position~%Quaternion orientation~%~%================================================================================~%MSG: geometry_msgs/Point~%# This contains the position of a point in free space~%float64 x~%float64 y~%float64 z~%~%================================================================================~%MSG: geometry_msgs/Quaternion~%# This represents an orientation in free space in quaternion form.~%~%float64 x~%float64 y~%float64 z~%float64 w~%~%================================================================================~%MSG: geometry_msgs/Vector3~%# This represents a vector in free space. ~%# It is only meant to represent a direction. Therefore, it does not~%# make sense to apply a translation to it (e.g., when applying a ~%# generic rigid transformation to a Vector3, tf2 will only apply the~%# rotation). If you want your data to be translatable too, use the~%# geometry_msgs/Point message instead.~%~%float64 x~%float64 y~%float64 z~%================================================================================~%MSG: std_msgs/ColorRGBA~%float32 r~%float32 g~%float32 b~%float32 a~%~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'Marker)))
"Returns full string definition for message of type 'Marker"
(cl:format cl:nil "# See http://www.ros.org/wiki/rviz/DisplayTypes/Marker and http://www.ros.org/wiki/rviz/Tutorials/Markers%3A%20Basic%20Shapes for more information on using this message with rviz~%~%uint8 ARROW=0~%uint8 CUBE=1~%uint8 SPHERE=2~%uint8 CYLINDER=3~%uint8 LINE_STRIP=4~%uint8 LINE_LIST=5~%uint8 CUBE_LIST=6~%uint8 SPHERE_LIST=7~%uint8 POINTS=8~%uint8 TEXT_VIEW_FACING=9~%uint8 MESH_RESOURCE=10~%uint8 TRIANGLE_LIST=11~%~%uint8 ADD=0~%uint8 MODIFY=0~%uint8 DELETE=2~%uint8 DELETEALL=3~%~%Header header # header for time/frame information~%string ns # Namespace to place this object in... used in conjunction with id to create a unique name for the object~%int32 id # object ID useful in conjunction with the namespace for manipulating and deleting the object later~%int32 type # Type of object~%int32 action # 0 add/modify an object, 1 (deprecated), 2 deletes an object, 3 deletes all objects~%geometry_msgs/Pose pose # Pose of the object~%geometry_msgs/Vector3 scale # Scale of the object 1,1,1 means default (usually 1 meter square)~%std_msgs/ColorRGBA color # Color [0.0-1.0]~%duration lifetime # How long the object should last before being automatically deleted. 0 means forever~%bool frame_locked # If this marker should be frame-locked, i.e. retransformed into its frame every timestep~%~%#Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)~%geometry_msgs/Point[] points~%#Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)~%#number of colors must either be 0 or equal to the number of points~%#NOTE: alpha is not yet used~%std_msgs/ColorRGBA[] colors~%~%# NOTE: only used for text markers~%string text~%~%# NOTE: only used for MESH_RESOURCE markers~%string mesh_resource~%bool mesh_use_embedded_materials~%~%================================================================================~%MSG: std_msgs/Header~%# Standard metadata for higher-level stamped data types.~%# This is generally used to communicate timestamped data ~%# in a particular coordinate frame.~%# ~%# sequence ID: consecutively increasing ID ~%uint32 seq~%#Two-integer timestamp that is expressed as:~%# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')~%# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')~%# time-handling sugar is provided by the client library~%time stamp~%#Frame this data is associated with~%# 0: no frame~%# 1: global frame~%string frame_id~%~%================================================================================~%MSG: geometry_msgs/Pose~%# A representation of pose in free space, composed of position and orientation. ~%Point position~%Quaternion orientation~%~%================================================================================~%MSG: geometry_msgs/Point~%# This contains the position of a point in free space~%float64 x~%float64 y~%float64 z~%~%================================================================================~%MSG: geometry_msgs/Quaternion~%# This represents an orientation in free space in quaternion form.~%~%float64 x~%float64 y~%float64 z~%float64 w~%~%================================================================================~%MSG: geometry_msgs/Vector3~%# This represents a vector in free space. ~%# It is only meant to represent a direction. Therefore, it does not~%# make sense to apply a translation to it (e.g., when applying a ~%# generic rigid transformation to a Vector3, tf2 will only apply the~%# rotation). If you want your data to be translatable too, use the~%# geometry_msgs/Point message instead.~%~%float64 x~%float64 y~%float64 z~%================================================================================~%MSG: std_msgs/ColorRGBA~%float32 r~%float32 g~%float32 b~%float32 a~%~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <Marker>))
(cl:+ 0
(roslisp-msg-protocol:serialization-length (cl:slot-value msg 'header))
4 (cl:length (cl:slot-value msg 'ns))
4
4
4
(roslisp-msg-protocol:serialization-length (cl:slot-value msg 'pose))
(roslisp-msg-protocol:serialization-length (cl:slot-value msg 'scale))
(roslisp-msg-protocol:serialization-length (cl:slot-value msg 'color))
8
1
4 (cl:reduce #'cl:+ (cl:slot-value msg 'points) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ (roslisp-msg-protocol:serialization-length ele))))
4 (cl:reduce #'cl:+ (cl:slot-value msg 'colors) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ (roslisp-msg-protocol:serialization-length ele))))
4 (cl:length (cl:slot-value msg 'text))
4 (cl:length (cl:slot-value msg 'mesh_resource))
1
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <Marker>))
"Converts a ROS message object to a list"
(cl:list 'Marker
(cl:cons ':header (header msg))
(cl:cons ':ns (ns msg))
(cl:cons ':id (id msg))
(cl:cons ':type (type msg))
(cl:cons ':action (action msg))
(cl:cons ':pose (pose msg))
(cl:cons ':scale (scale msg))
(cl:cons ':color (color msg))
(cl:cons ':lifetime (lifetime msg))
(cl:cons ':frame_locked (frame_locked msg))
(cl:cons ':points (points msg))
(cl:cons ':colors (colors msg))
(cl:cons ':text (text msg))
(cl:cons ':mesh_resource (mesh_resource msg))
(cl:cons ':mesh_use_embedded_materials (mesh_use_embedded_materials msg))
))
|