/usr/share/common-lisp/ros/geometry_msgs/msg/TransformStamped.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 | ; Auto-generated. Do not edit!
(cl:in-package geometry_msgs-msg)
;//! \htmlinclude TransformStamped.msg.html
(cl:defclass <TransformStamped> (roslisp-msg-protocol:ros-message)
((header
:reader header
:initarg :header
:type std_msgs-msg:Header
:initform (cl:make-instance 'std_msgs-msg:Header))
(child_frame_id
:reader child_frame_id
:initarg :child_frame_id
:type cl:string
:initform "")
(transform
:reader transform
:initarg :transform
:type geometry_msgs-msg:Transform
:initform (cl:make-instance 'geometry_msgs-msg:Transform)))
)
(cl:defclass TransformStamped (<TransformStamped>)
())
(cl:defmethod cl:initialize-instance :after ((m <TransformStamped>) cl:&rest args)
(cl:declare (cl:ignorable args))
(cl:unless (cl:typep m 'TransformStamped)
(roslisp-msg-protocol:msg-deprecation-warning "using old message class name geometry_msgs-msg:<TransformStamped> is deprecated: use geometry_msgs-msg:TransformStamped instead.")))
(cl:ensure-generic-function 'header-val :lambda-list '(m))
(cl:defmethod header-val ((m <TransformStamped>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader geometry_msgs-msg:header-val is deprecated. Use geometry_msgs-msg:header instead.")
(header m))
(cl:ensure-generic-function 'child_frame_id-val :lambda-list '(m))
(cl:defmethod child_frame_id-val ((m <TransformStamped>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader geometry_msgs-msg:child_frame_id-val is deprecated. Use geometry_msgs-msg:child_frame_id instead.")
(child_frame_id m))
(cl:ensure-generic-function 'transform-val :lambda-list '(m))
(cl:defmethod transform-val ((m <TransformStamped>))
(roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader geometry_msgs-msg:transform-val is deprecated. Use geometry_msgs-msg:transform instead.")
(transform m))
(cl:defmethod roslisp-msg-protocol:serialize ((msg <TransformStamped>) ostream)
"Serializes a message object of type '<TransformStamped>"
(roslisp-msg-protocol:serialize (cl:slot-value msg 'header) ostream)
(cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'child_frame_id))))
(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 'child_frame_id))
(roslisp-msg-protocol:serialize (cl:slot-value msg 'transform) ostream)
)
(cl:defmethod roslisp-msg-protocol:deserialize ((msg <TransformStamped>) istream)
"Deserializes a message object of type '<TransformStamped>"
(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 'child_frame_id) (cl:make-string __ros_str_len))
(cl:dotimes (__ros_str_idx __ros_str_len msg)
(cl:setf (cl:char (cl:slot-value msg 'child_frame_id) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
(roslisp-msg-protocol:deserialize (cl:slot-value msg 'transform) istream)
msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<TransformStamped>)))
"Returns string type for a message object of type '<TransformStamped>"
"geometry_msgs/TransformStamped")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'TransformStamped)))
"Returns string type for a message object of type 'TransformStamped"
"geometry_msgs/TransformStamped")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<TransformStamped>)))
"Returns md5sum for a message object of type '<TransformStamped>"
"b5764a33bfeb3588febc2682852579b0")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'TransformStamped)))
"Returns md5sum for a message object of type 'TransformStamped"
"b5764a33bfeb3588febc2682852579b0")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<TransformStamped>)))
"Returns full string definition for message of type '<TransformStamped>"
(cl:format cl:nil "# This expresses a transform from coordinate frame header.frame_id~%# to the coordinate frame child_frame_id~%#~%# This message is mostly used by the ~%# <a href=\"http://wiki.ros.org/tf\">tf</a> package. ~%# See its documentation for more information.~%~%Header header~%string child_frame_id # the frame id of the child frame~%Transform transform~%~%================================================================================~%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/Transform~%# This represents the transform between two coordinate frames in free space.~%~%Vector3 translation~%Quaternion rotation~%~%================================================================================~%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: geometry_msgs/Quaternion~%# This represents an orientation in free space in quaternion form.~%~%float64 x~%float64 y~%float64 z~%float64 w~%~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'TransformStamped)))
"Returns full string definition for message of type 'TransformStamped"
(cl:format cl:nil "# This expresses a transform from coordinate frame header.frame_id~%# to the coordinate frame child_frame_id~%#~%# This message is mostly used by the ~%# <a href=\"http://wiki.ros.org/tf\">tf</a> package. ~%# See its documentation for more information.~%~%Header header~%string child_frame_id # the frame id of the child frame~%Transform transform~%~%================================================================================~%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/Transform~%# This represents the transform between two coordinate frames in free space.~%~%Vector3 translation~%Quaternion rotation~%~%================================================================================~%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: geometry_msgs/Quaternion~%# This represents an orientation in free space in quaternion form.~%~%float64 x~%float64 y~%float64 z~%float64 w~%~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <TransformStamped>))
(cl:+ 0
(roslisp-msg-protocol:serialization-length (cl:slot-value msg 'header))
4 (cl:length (cl:slot-value msg 'child_frame_id))
(roslisp-msg-protocol:serialization-length (cl:slot-value msg 'transform))
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <TransformStamped>))
"Converts a ROS message object to a list"
(cl:list 'TransformStamped
(cl:cons ':header (header msg))
(cl:cons ':child_frame_id (child_frame_id msg))
(cl:cons ':transform (transform msg))
))
|