; Auto-generated. Do not edit! (cl:in-package ur_msgs-srv) ;//! \htmlinclude SetPayload-request.msg.html (cl:defclass (roslisp-msg-protocol:ros-message) ((payload :reader payload :initarg :payload :type cl:float :initform 0.0)) ) (cl:defclass SetPayload-request () ()) (cl:defmethod cl:initialize-instance :after ((m ) cl:&rest args) (cl:declare (cl:ignorable args)) (cl:unless (cl:typep m 'SetPayload-request) (roslisp-msg-protocol:msg-deprecation-warning "using old message class name ur_msgs-srv: is deprecated: use ur_msgs-srv:SetPayload-request instead."))) (cl:ensure-generic-function 'payload-val :lambda-list '(m)) (cl:defmethod payload-val ((m )) (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader ur_msgs-srv:payload-val is deprecated. Use ur_msgs-srv:payload instead.") (payload m)) (cl:defmethod roslisp-msg-protocol:serialize ((msg ) ostream) "Serializes a message object of type '" (cl:let ((bits (roslisp-utils:encode-single-float-bits (cl:slot-value msg 'payload)))) (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 ) istream) "Deserializes a message object of type '" (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 'payload) (roslisp-utils:decode-single-float-bits bits))) msg ) (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '))) "Returns string type for a service object of type '" "ur_msgs/SetPayloadRequest") (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'SetPayload-request))) "Returns string type for a service object of type 'SetPayload-request" "ur_msgs/SetPayloadRequest") (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '))) "Returns md5sum for a message object of type '" "7f12eb632882cb73e5721178d0073e39") (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'SetPayload-request))) "Returns md5sum for a message object of type 'SetPayload-request" "7f12eb632882cb73e5721178d0073e39") (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '))) "Returns full string definition for message of type '" (cl:format cl:nil "float32 payload~%~%~%")) (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'SetPayload-request))) "Returns full string definition for message of type 'SetPayload-request" (cl:format cl:nil "float32 payload~%~%~%")) (cl:defmethod roslisp-msg-protocol:serialization-length ((msg )) (cl:+ 0 4 )) (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg )) "Converts a ROS message object to a list" (cl:list 'SetPayload-request (cl:cons ':payload (payload msg)) )) ;//! \htmlinclude SetPayload-response.msg.html (cl:defclass (roslisp-msg-protocol:ros-message) ((success :reader success :initarg :success :type cl:boolean :initform cl:nil)) ) (cl:defclass SetPayload-response () ()) (cl:defmethod cl:initialize-instance :after ((m ) cl:&rest args) (cl:declare (cl:ignorable args)) (cl:unless (cl:typep m 'SetPayload-response) (roslisp-msg-protocol:msg-deprecation-warning "using old message class name ur_msgs-srv: is deprecated: use ur_msgs-srv:SetPayload-response instead."))) (cl:ensure-generic-function 'success-val :lambda-list '(m)) (cl:defmethod success-val ((m )) (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader ur_msgs-srv:success-val is deprecated. Use ur_msgs-srv:success instead.") (success m)) (cl:defmethod roslisp-msg-protocol:serialize ((msg ) ostream) "Serializes a message object of type '" (cl:write-byte (cl:ldb (cl:byte 8 0) (cl:if (cl:slot-value msg 'success) 1 0)) ostream) ) (cl:defmethod roslisp-msg-protocol:deserialize ((msg ) istream) "Deserializes a message object of type '" (cl:setf (cl:slot-value msg 'success) (cl:not (cl:zerop (cl:read-byte istream)))) msg ) (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '))) "Returns string type for a service object of type '" "ur_msgs/SetPayloadResponse") (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'SetPayload-response))) "Returns string type for a service object of type 'SetPayload-response" "ur_msgs/SetPayloadResponse") (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '))) "Returns md5sum for a message object of type '" "7f12eb632882cb73e5721178d0073e39") (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'SetPayload-response))) "Returns md5sum for a message object of type 'SetPayload-response" "7f12eb632882cb73e5721178d0073e39") (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '))) "Returns full string definition for message of type '" (cl:format cl:nil "bool success~%~%~%~%")) (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'SetPayload-response))) "Returns full string definition for message of type 'SetPayload-response" (cl:format cl:nil "bool success~%~%~%~%")) (cl:defmethod roslisp-msg-protocol:serialization-length ((msg )) (cl:+ 0 1 )) (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg )) "Converts a ROS message object to a list" (cl:list 'SetPayload-response (cl:cons ':success (success msg)) )) (cl:defmethod roslisp-msg-protocol:service-request-type ((msg (cl:eql 'SetPayload))) 'SetPayload-request) (cl:defmethod roslisp-msg-protocol:service-response-type ((msg (cl:eql 'SetPayload))) 'SetPayload-response) (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'SetPayload))) "Returns string type for a service object of type '" "ur_msgs/SetPayload")