GetNumOfWaypoints.lisp 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. ; Auto-generated. Do not edit!
  2. (cl:in-package waterplus_map_tools-srv)
  3. ;//! \htmlinclude GetNumOfWaypoints-request.msg.html
  4. (cl:defclass <GetNumOfWaypoints-request> (roslisp-msg-protocol:ros-message)
  5. ()
  6. )
  7. (cl:defclass GetNumOfWaypoints-request (<GetNumOfWaypoints-request>)
  8. ())
  9. (cl:defmethod cl:initialize-instance :after ((m <GetNumOfWaypoints-request>) cl:&rest args)
  10. (cl:declare (cl:ignorable args))
  11. (cl:unless (cl:typep m 'GetNumOfWaypoints-request)
  12. (roslisp-msg-protocol:msg-deprecation-warning "using old message class name waterplus_map_tools-srv:<GetNumOfWaypoints-request> is deprecated: use waterplus_map_tools-srv:GetNumOfWaypoints-request instead.")))
  13. (cl:defmethod roslisp-msg-protocol:serialize ((msg <GetNumOfWaypoints-request>) ostream)
  14. "Serializes a message object of type '<GetNumOfWaypoints-request>"
  15. )
  16. (cl:defmethod roslisp-msg-protocol:deserialize ((msg <GetNumOfWaypoints-request>) istream)
  17. "Deserializes a message object of type '<GetNumOfWaypoints-request>"
  18. msg
  19. )
  20. (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<GetNumOfWaypoints-request>)))
  21. "Returns string type for a service object of type '<GetNumOfWaypoints-request>"
  22. "waterplus_map_tools/GetNumOfWaypointsRequest")
  23. (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetNumOfWaypoints-request)))
  24. "Returns string type for a service object of type 'GetNumOfWaypoints-request"
  25. "waterplus_map_tools/GetNumOfWaypointsRequest")
  26. (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<GetNumOfWaypoints-request>)))
  27. "Returns md5sum for a message object of type '<GetNumOfWaypoints-request>"
  28. "54b3c80efd6fae6e6ffff8a4b9facd69")
  29. (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'GetNumOfWaypoints-request)))
  30. "Returns md5sum for a message object of type 'GetNumOfWaypoints-request"
  31. "54b3c80efd6fae6e6ffff8a4b9facd69")
  32. (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<GetNumOfWaypoints-request>)))
  33. "Returns full string definition for message of type '<GetNumOfWaypoints-request>"
  34. (cl:format cl:nil "~%~%"))
  35. (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'GetNumOfWaypoints-request)))
  36. "Returns full string definition for message of type 'GetNumOfWaypoints-request"
  37. (cl:format cl:nil "~%~%"))
  38. (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <GetNumOfWaypoints-request>))
  39. (cl:+ 0
  40. ))
  41. (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <GetNumOfWaypoints-request>))
  42. "Converts a ROS message object to a list"
  43. (cl:list 'GetNumOfWaypoints-request
  44. ))
  45. ;//! \htmlinclude GetNumOfWaypoints-response.msg.html
  46. (cl:defclass <GetNumOfWaypoints-response> (roslisp-msg-protocol:ros-message)
  47. ((num
  48. :reader num
  49. :initarg :num
  50. :type cl:integer
  51. :initform 0))
  52. )
  53. (cl:defclass GetNumOfWaypoints-response (<GetNumOfWaypoints-response>)
  54. ())
  55. (cl:defmethod cl:initialize-instance :after ((m <GetNumOfWaypoints-response>) cl:&rest args)
  56. (cl:declare (cl:ignorable args))
  57. (cl:unless (cl:typep m 'GetNumOfWaypoints-response)
  58. (roslisp-msg-protocol:msg-deprecation-warning "using old message class name waterplus_map_tools-srv:<GetNumOfWaypoints-response> is deprecated: use waterplus_map_tools-srv:GetNumOfWaypoints-response instead.")))
  59. (cl:ensure-generic-function 'num-val :lambda-list '(m))
  60. (cl:defmethod num-val ((m <GetNumOfWaypoints-response>))
  61. (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader waterplus_map_tools-srv:num-val is deprecated. Use waterplus_map_tools-srv:num instead.")
  62. (num m))
  63. (cl:defmethod roslisp-msg-protocol:serialize ((msg <GetNumOfWaypoints-response>) ostream)
  64. "Serializes a message object of type '<GetNumOfWaypoints-response>"
  65. (cl:let* ((signed (cl:slot-value msg 'num)) (unsigned (cl:if (cl:< signed 0) (cl:+ signed 4294967296) signed)))
  66. (cl:write-byte (cl:ldb (cl:byte 8 0) unsigned) ostream)
  67. (cl:write-byte (cl:ldb (cl:byte 8 8) unsigned) ostream)
  68. (cl:write-byte (cl:ldb (cl:byte 8 16) unsigned) ostream)
  69. (cl:write-byte (cl:ldb (cl:byte 8 24) unsigned) ostream)
  70. )
  71. )
  72. (cl:defmethod roslisp-msg-protocol:deserialize ((msg <GetNumOfWaypoints-response>) istream)
  73. "Deserializes a message object of type '<GetNumOfWaypoints-response>"
  74. (cl:let ((unsigned 0))
  75. (cl:setf (cl:ldb (cl:byte 8 0) unsigned) (cl:read-byte istream))
  76. (cl:setf (cl:ldb (cl:byte 8 8) unsigned) (cl:read-byte istream))
  77. (cl:setf (cl:ldb (cl:byte 8 16) unsigned) (cl:read-byte istream))
  78. (cl:setf (cl:ldb (cl:byte 8 24) unsigned) (cl:read-byte istream))
  79. (cl:setf (cl:slot-value msg 'num) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
  80. msg
  81. )
  82. (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<GetNumOfWaypoints-response>)))
  83. "Returns string type for a service object of type '<GetNumOfWaypoints-response>"
  84. "waterplus_map_tools/GetNumOfWaypointsResponse")
  85. (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetNumOfWaypoints-response)))
  86. "Returns string type for a service object of type 'GetNumOfWaypoints-response"
  87. "waterplus_map_tools/GetNumOfWaypointsResponse")
  88. (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<GetNumOfWaypoints-response>)))
  89. "Returns md5sum for a message object of type '<GetNumOfWaypoints-response>"
  90. "54b3c80efd6fae6e6ffff8a4b9facd69")
  91. (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'GetNumOfWaypoints-response)))
  92. "Returns md5sum for a message object of type 'GetNumOfWaypoints-response"
  93. "54b3c80efd6fae6e6ffff8a4b9facd69")
  94. (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<GetNumOfWaypoints-response>)))
  95. "Returns full string definition for message of type '<GetNumOfWaypoints-response>"
  96. (cl:format cl:nil "int32 num~%~%~%"))
  97. (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'GetNumOfWaypoints-response)))
  98. "Returns full string definition for message of type 'GetNumOfWaypoints-response"
  99. (cl:format cl:nil "int32 num~%~%~%"))
  100. (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <GetNumOfWaypoints-response>))
  101. (cl:+ 0
  102. 4
  103. ))
  104. (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <GetNumOfWaypoints-response>))
  105. "Converts a ROS message object to a list"
  106. (cl:list 'GetNumOfWaypoints-response
  107. (cl:cons ':num (num msg))
  108. ))
  109. (cl:defmethod roslisp-msg-protocol:service-request-type ((msg (cl:eql 'GetNumOfWaypoints)))
  110. 'GetNumOfWaypoints-request)
  111. (cl:defmethod roslisp-msg-protocol:service-response-type ((msg (cl:eql 'GetNumOfWaypoints)))
  112. 'GetNumOfWaypoints-response)
  113. (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetNumOfWaypoints)))
  114. "Returns string type for a service object of type '<GetNumOfWaypoints>"
  115. "waterplus_map_tools/GetNumOfWaypoints")