/usr/share/common-lisp/ros/dynamic_reconfigure/msg/DoubleParameter.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 | ; Auto-generated. Do not edit!
(cl:in-package dynamic_reconfigure-msg)
;//! \htmlinclude DoubleParameter.msg.html
(cl:defclass <DoubleParameter> (roslisp-msg-protocol:ros-message)
((name
:reader name
:initarg :name
:type cl:string
:initform "")
(value
:reader value
:initarg :value
:type cl:float
:initform 0.0))
)
(cl:defclass DoubleParameter (<DoubleParameter>)
())
(cl:defmethod cl:initialize-instance :after ((m <DoubleParameter>) cl:&rest args)
(cl:declare (cl:ignorable args))
(cl:unless (cl:typep m 'DoubleParameter)
(roslisp-msg-protocol:msg-deprecation-warning "using old message class name dynamic_reconfigure-msg:<DoubleParameter> is deprecated: use dynamic_reconfigure-msg:DoubleParameter instead.")))
(cl:ensure-generic-function 'name-val :lambda-list '(m))
(cl:defmethod name-val ((m <DoubleParameter>))
(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 'value-val :lambda-list '(m))
(cl:defmethod value-val ((m <DoubleParameter>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader dynamic_reconfigure-msg:value-val is deprecated. Use dynamic_reconfigure-msg:value instead.")
(value m))
(cl:defmethod roslisp-msg-protocol:serialize ((msg <DoubleParameter>) ostream)
"Serializes a message object of type '<DoubleParameter>"
(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 ((bits (roslisp-utils:encode-double-float-bits (cl:slot-value msg 'value))))
(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:write-byte (cl:ldb (cl:byte 8 32) bits) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 40) bits) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 48) bits) ostream)
(cl:write-byte (cl:ldb (cl:byte 8 56) bits) ostream))
)
(cl:defmethod roslisp-msg-protocol:deserialize ((msg <DoubleParameter>) istream)
"Deserializes a message object of type '<DoubleParameter>"
(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 ((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:ldb (cl:byte 8 32) bits) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 40) bits) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 48) bits) (cl:read-byte istream))
(cl:setf (cl:ldb (cl:byte 8 56) bits) (cl:read-byte istream))
(cl:setf (cl:slot-value msg 'value) (roslisp-utils:decode-double-float-bits bits)))
msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<DoubleParameter>)))
"Returns string type for a message object of type '<DoubleParameter>"
"dynamic_reconfigure/DoubleParameter")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'DoubleParameter)))
"Returns string type for a message object of type 'DoubleParameter"
"dynamic_reconfigure/DoubleParameter")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<DoubleParameter>)))
"Returns md5sum for a message object of type '<DoubleParameter>"
"d8512f27253c0f65f928a67c329cd658")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'DoubleParameter)))
"Returns md5sum for a message object of type 'DoubleParameter"
"d8512f27253c0f65f928a67c329cd658")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<DoubleParameter>)))
"Returns full string definition for message of type '<DoubleParameter>"
(cl:format cl:nil "string name~%float64 value~%~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'DoubleParameter)))
"Returns full string definition for message of type 'DoubleParameter"
(cl:format cl:nil "string name~%float64 value~%~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <DoubleParameter>))
(cl:+ 0
4 (cl:length (cl:slot-value msg 'name))
8
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <DoubleParameter>))
"Converts a ROS message object to a list"
(cl:list 'DoubleParameter
(cl:cons ':name (name msg))
(cl:cons ':value (value msg))
))
|