GetWaypointByIndex.lisp 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. ; Auto-generated. Do not edit!
  2. (cl:in-package waterplus_map_tools-srv)
  3. ;//! \htmlinclude GetWaypointByIndex-request.msg.html
  4. (cl:defclass <GetWaypointByIndex-request> (roslisp-msg-protocol:ros-message)
  5. ((index
  6. :reader index
  7. :initarg :index
  8. :type cl:integer
  9. :initform 0))
  10. )
  11. (cl:defclass GetWaypointByIndex-request (<GetWaypointByIndex-request>)
  12. ())
  13. (cl:defmethod cl:initialize-instance :after ((m <GetWaypointByIndex-request>) cl:&rest args)
  14. (cl:declare (cl:ignorable args))
  15. (cl:unless (cl:typep m 'GetWaypointByIndex-request)
  16. (roslisp-msg-protocol:msg-deprecation-warning "using old message class name waterplus_map_tools-srv:<GetWaypointByIndex-request> is deprecated: use waterplus_map_tools-srv:GetWaypointByIndex-request instead.")))
  17. (cl:ensure-generic-function 'index-val :lambda-list '(m))
  18. (cl:defmethod index-val ((m <GetWaypointByIndex-request>))
  19. (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader waterplus_map_tools-srv:index-val is deprecated. Use waterplus_map_tools-srv:index instead.")
  20. (index m))
  21. (cl:defmethod roslisp-msg-protocol:serialize ((msg <GetWaypointByIndex-request>) ostream)
  22. "Serializes a message object of type '<GetWaypointByIndex-request>"
  23. (cl:let* ((signed (cl:slot-value msg 'index)) (unsigned (cl:if (cl:< signed 0) (cl:+ signed 4294967296) signed)))
  24. (cl:write-byte (cl:ldb (cl:byte 8 0) unsigned) ostream)
  25. (cl:write-byte (cl:ldb (cl:byte 8 8) unsigned) ostream)
  26. (cl:write-byte (cl:ldb (cl:byte 8 16) unsigned) ostream)
  27. (cl:write-byte (cl:ldb (cl:byte 8 24) unsigned) ostream)
  28. )
  29. )
  30. (cl:defmethod roslisp-msg-protocol:deserialize ((msg <GetWaypointByIndex-request>) istream)
  31. "Deserializes a message object of type '<GetWaypointByIndex-request>"
  32. (cl:let ((unsigned 0))
  33. (cl:setf (cl:ldb (cl:byte 8 0) unsigned) (cl:read-byte istream))
  34. (cl:setf (cl:ldb (cl:byte 8 8) unsigned) (cl:read-byte istream))
  35. (cl:setf (cl:ldb (cl:byte 8 16) unsigned) (cl:read-byte istream))
  36. (cl:setf (cl:ldb (cl:byte 8 24) unsigned) (cl:read-byte istream))
  37. (cl:setf (cl:slot-value msg 'index) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
  38. msg
  39. )
  40. (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<GetWaypointByIndex-request>)))
  41. "Returns string type for a service object of type '<GetWaypointByIndex-request>"
  42. "waterplus_map_tools/GetWaypointByIndexRequest")
  43. (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetWaypointByIndex-request)))
  44. "Returns string type for a service object of type 'GetWaypointByIndex-request"
  45. "waterplus_map_tools/GetWaypointByIndexRequest")
  46. (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<GetWaypointByIndex-request>)))
  47. "Returns md5sum for a message object of type '<GetWaypointByIndex-request>"
  48. "3d6fa8d914cdbd6f782b3a98c909799f")
  49. (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'GetWaypointByIndex-request)))
  50. "Returns md5sum for a message object of type 'GetWaypointByIndex-request"
  51. "3d6fa8d914cdbd6f782b3a98c909799f")
  52. (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<GetWaypointByIndex-request>)))
  53. "Returns full string definition for message of type '<GetWaypointByIndex-request>"
  54. (cl:format cl:nil "int32 index~%~%~%"))
  55. (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'GetWaypointByIndex-request)))
  56. "Returns full string definition for message of type 'GetWaypointByIndex-request"
  57. (cl:format cl:nil "int32 index~%~%~%"))
  58. (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <GetWaypointByIndex-request>))
  59. (cl:+ 0
  60. 4
  61. ))
  62. (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <GetWaypointByIndex-request>))
  63. "Converts a ROS message object to a list"
  64. (cl:list 'GetWaypointByIndex-request
  65. (cl:cons ':index (index msg))
  66. ))
  67. ;//! \htmlinclude GetWaypointByIndex-response.msg.html
  68. (cl:defclass <GetWaypointByIndex-response> (roslisp-msg-protocol:ros-message)
  69. ((name
  70. :reader name
  71. :initarg :name
  72. :type cl:string
  73. :initform "")
  74. (pose
  75. :reader pose
  76. :initarg :pose
  77. :type geometry_msgs-msg:Pose
  78. :initform (cl:make-instance 'geometry_msgs-msg:Pose)))
  79. )
  80. (cl:defclass GetWaypointByIndex-response (<GetWaypointByIndex-response>)
  81. ())
  82. (cl:defmethod cl:initialize-instance :after ((m <GetWaypointByIndex-response>) cl:&rest args)
  83. (cl:declare (cl:ignorable args))
  84. (cl:unless (cl:typep m 'GetWaypointByIndex-response)
  85. (roslisp-msg-protocol:msg-deprecation-warning "using old message class name waterplus_map_tools-srv:<GetWaypointByIndex-response> is deprecated: use waterplus_map_tools-srv:GetWaypointByIndex-response instead.")))
  86. (cl:ensure-generic-function 'name-val :lambda-list '(m))
  87. (cl:defmethod name-val ((m <GetWaypointByIndex-response>))
  88. (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader waterplus_map_tools-srv:name-val is deprecated. Use waterplus_map_tools-srv:name instead.")
  89. (name m))
  90. (cl:ensure-generic-function 'pose-val :lambda-list '(m))
  91. (cl:defmethod pose-val ((m <GetWaypointByIndex-response>))
  92. (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader waterplus_map_tools-srv:pose-val is deprecated. Use waterplus_map_tools-srv:pose instead.")
  93. (pose m))
  94. (cl:defmethod roslisp-msg-protocol:serialize ((msg <GetWaypointByIndex-response>) ostream)
  95. "Serializes a message object of type '<GetWaypointByIndex-response>"
  96. (cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'name))))
  97. (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
  98. (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
  99. (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
  100. (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
  101. (cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'name))
  102. (roslisp-msg-protocol:serialize (cl:slot-value msg 'pose) ostream)
  103. )
  104. (cl:defmethod roslisp-msg-protocol:deserialize ((msg <GetWaypointByIndex-response>) istream)
  105. "Deserializes a message object of type '<GetWaypointByIndex-response>"
  106. (cl:let ((__ros_str_len 0))
  107. (cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
  108. (cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
  109. (cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
  110. (cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
  111. (cl:setf (cl:slot-value msg 'name) (cl:make-string __ros_str_len))
  112. (cl:dotimes (__ros_str_idx __ros_str_len msg)
  113. (cl:setf (cl:char (cl:slot-value msg 'name) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
  114. (roslisp-msg-protocol:deserialize (cl:slot-value msg 'pose) istream)
  115. msg
  116. )
  117. (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<GetWaypointByIndex-response>)))
  118. "Returns string type for a service object of type '<GetWaypointByIndex-response>"
  119. "waterplus_map_tools/GetWaypointByIndexResponse")
  120. (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetWaypointByIndex-response)))
  121. "Returns string type for a service object of type 'GetWaypointByIndex-response"
  122. "waterplus_map_tools/GetWaypointByIndexResponse")
  123. (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<GetWaypointByIndex-response>)))
  124. "Returns md5sum for a message object of type '<GetWaypointByIndex-response>"
  125. "3d6fa8d914cdbd6f782b3a98c909799f")
  126. (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'GetWaypointByIndex-response)))
  127. "Returns md5sum for a message object of type 'GetWaypointByIndex-response"
  128. "3d6fa8d914cdbd6f782b3a98c909799f")
  129. (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<GetWaypointByIndex-response>)))
  130. "Returns full string definition for message of type '<GetWaypointByIndex-response>"
  131. (cl:format cl:nil "string name~%geometry_msgs/Pose pose~%~%================================================================================~%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~%~%~%"))
  132. (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'GetWaypointByIndex-response)))
  133. "Returns full string definition for message of type 'GetWaypointByIndex-response"
  134. (cl:format cl:nil "string name~%geometry_msgs/Pose pose~%~%================================================================================~%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~%~%~%"))
  135. (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <GetWaypointByIndex-response>))
  136. (cl:+ 0
  137. 4 (cl:length (cl:slot-value msg 'name))
  138. (roslisp-msg-protocol:serialization-length (cl:slot-value msg 'pose))
  139. ))
  140. (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <GetWaypointByIndex-response>))
  141. "Converts a ROS message object to a list"
  142. (cl:list 'GetWaypointByIndex-response
  143. (cl:cons ':name (name msg))
  144. (cl:cons ':pose (pose msg))
  145. ))
  146. (cl:defmethod roslisp-msg-protocol:service-request-type ((msg (cl:eql 'GetWaypointByIndex)))
  147. 'GetWaypointByIndex-request)
  148. (cl:defmethod roslisp-msg-protocol:service-response-type ((msg (cl:eql 'GetWaypointByIndex)))
  149. 'GetWaypointByIndex-response)
  150. (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetWaypointByIndex)))
  151. "Returns string type for a service object of type '<GetWaypointByIndex>"
  152. "waterplus_map_tools/GetWaypointByIndex")