This file is indexed.

/usr/share/common-lisp/ros/sensor_msgs/msg/JoyFeedback.lisp is in cl-sensor-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
; Auto-generated. Do not edit!


(cl:in-package sensor_msgs-msg)


;//! \htmlinclude JoyFeedback.msg.html

(cl:defclass <JoyFeedback> (roslisp-msg-protocol:ros-message)
  ((type
    :reader type
    :initarg :type
    :type cl:fixnum
    :initform 0)
   (id
    :reader id
    :initarg :id
    :type cl:fixnum
    :initform 0)
   (intensity
    :reader intensity
    :initarg :intensity
    :type cl:float
    :initform 0.0))
)

(cl:defclass JoyFeedback (<JoyFeedback>)
  ())

(cl:defmethod cl:initialize-instance :after ((m <JoyFeedback>) cl:&rest args)
  (cl:declare (cl:ignorable args))
  (cl:unless (cl:typep m 'JoyFeedback)
    (roslisp-msg-protocol:msg-deprecation-warning "using old message class name sensor_msgs-msg:<JoyFeedback> is deprecated: use sensor_msgs-msg:JoyFeedback instead.")))

(cl:ensure-generic-function 'type-val :lambda-list '(m))
(cl:defmethod type-val ((m <JoyFeedback>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader sensor_msgs-msg:type-val is deprecated.  Use sensor_msgs-msg:type instead.")
  (type m))

(cl:ensure-generic-function 'id-val :lambda-list '(m))
(cl:defmethod id-val ((m <JoyFeedback>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader sensor_msgs-msg:id-val is deprecated.  Use sensor_msgs-msg:id instead.")
  (id m))

(cl:ensure-generic-function 'intensity-val :lambda-list '(m))
(cl:defmethod intensity-val ((m <JoyFeedback>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader sensor_msgs-msg:intensity-val is deprecated.  Use sensor_msgs-msg:intensity instead.")
  (intensity m))
(cl:defmethod roslisp-msg-protocol:symbol-codes ((msg-type (cl:eql '<JoyFeedback>)))
    "Constants for message type '<JoyFeedback>"
  '((:TYPE_LED . 0)
    (:TYPE_RUMBLE . 1)
    (:TYPE_BUZZER . 2))
)
(cl:defmethod roslisp-msg-protocol:symbol-codes ((msg-type (cl:eql 'JoyFeedback)))
    "Constants for message type 'JoyFeedback"
  '((:TYPE_LED . 0)
    (:TYPE_RUMBLE . 1)
    (:TYPE_BUZZER . 2))
)
(cl:defmethod roslisp-msg-protocol:serialize ((msg <JoyFeedback>) ostream)
  "Serializes a message object of type '<JoyFeedback>"
  (cl:write-byte (cl:ldb (cl:byte 8 0) (cl:slot-value msg 'type)) ostream)
  (cl:write-byte (cl:ldb (cl:byte 8 0) (cl:slot-value msg 'id)) ostream)
  (cl:let ((bits (roslisp-utils:encode-single-float-bits (cl:slot-value msg 'intensity))))
    (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 <JoyFeedback>) istream)
  "Deserializes a message object of type '<JoyFeedback>"
    (cl:setf (cl:ldb (cl:byte 8 0) (cl:slot-value msg 'type)) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 0) (cl:slot-value msg 'id)) (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:slot-value msg 'intensity) (roslisp-utils:decode-single-float-bits bits)))
  msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<JoyFeedback>)))
  "Returns string type for a message object of type '<JoyFeedback>"
  "sensor_msgs/JoyFeedback")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'JoyFeedback)))
  "Returns string type for a message object of type 'JoyFeedback"
  "sensor_msgs/JoyFeedback")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<JoyFeedback>)))
  "Returns md5sum for a message object of type '<JoyFeedback>"
  "f4dcd73460360d98f36e55ee7f2e46f1")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'JoyFeedback)))
  "Returns md5sum for a message object of type 'JoyFeedback"
  "f4dcd73460360d98f36e55ee7f2e46f1")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<JoyFeedback>)))
  "Returns full string definition for message of type '<JoyFeedback>"
  (cl:format cl:nil "# Declare of the type of feedback~%uint8 TYPE_LED    = 0~%uint8 TYPE_RUMBLE = 1~%uint8 TYPE_BUZZER = 2~%~%uint8 type~%~%# This will hold an id number for each type of each feedback.~%# Example, the first led would be id=0, the second would be id=1~%uint8 id~%~%# Intensity of the feedback, from 0.0 to 1.0, inclusive.  If device is~%# actually binary, driver should treat 0<=x<0.5 as off, 0.5<=x<=1 as on.~%float32 intensity~%~%~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'JoyFeedback)))
  "Returns full string definition for message of type 'JoyFeedback"
  (cl:format cl:nil "# Declare of the type of feedback~%uint8 TYPE_LED    = 0~%uint8 TYPE_RUMBLE = 1~%uint8 TYPE_BUZZER = 2~%~%uint8 type~%~%# This will hold an id number for each type of each feedback.~%# Example, the first led would be id=0, the second would be id=1~%uint8 id~%~%# Intensity of the feedback, from 0.0 to 1.0, inclusive.  If device is~%# actually binary, driver should treat 0<=x<0.5 as off, 0.5<=x<=1 as on.~%float32 intensity~%~%~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <JoyFeedback>))
  (cl:+ 0
     1
     1
     4
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <JoyFeedback>))
  "Converts a ROS message object to a list"
  (cl:list 'JoyFeedback
    (cl:cons ':type (type msg))
    (cl:cons ':id (id msg))
    (cl:cons ':intensity (intensity msg))
))