text: // Auto-generated. Do not edit!
  
  // (in-package mavros_msgs.srv)
  
  
  "use strict";
  
  const _serializer = _ros_msg_utils.Serialize;
  const _arraySerializer = _serializer.Array;
  const _deserializer = _ros_msg_utils.Deserialize;
  const _arrayDeserializer = _deserializer.Array;
  const _finder = _ros_msg_utils.Find;
  const _getByteLength = _ros_msg_utils.getByteLength;
  
  //-----------------------------------------------------------
  
  
  //-----------------------------------------------------------
  
  class ParamPushRequest {
    constructor(initObj={}) {
      if (initObj === null) {
        // initObj === null is a special case for deserialization where we don't initialize fields
      }
      else {
      }
    }
  
    static serialize(obj, buffer, bufferOffset) {
      // Serializes a message object of type ParamPushRequest
      return bufferOffset;
    }
  
    static deserialize(buffer, bufferOffset=[0]) {
      //deserializes a message object of type ParamPushRequest
      let len;
      let data = new ParamPushRequest(null);
      return data;
    }
  
    static getMessageSize(object) {
      return 0;
    }
  
    static datatype() {
      // Returns string type for a service object
      return 'mavros_msgs/ParamPushRequest';
    }
  
    static md5sum() {
      //Returns md5sum for a message object
      return 'd41d8cd98f00b204e9800998ecf8427e';
    }
  
    static messageDefinition() {
      // Returns full string definition for message
      return `
      # Send current send
      #
      # Returns success status and param_transfered count
      
      
      `;
    }
  
    static Resolve(msg) {
      // deep-construct a valid message object instance of whatever was passed in
      if (typeof msg !== 'object' || msg === null) {
        msg = {};
      }
      const resolved = new ParamPushRequest(null);
      return resolved;
      }
  };
  
  class ParamPushResponse {
    constructor(initObj={}) {
      if (initObj === null) {
        // initObj === null is a special case for deserialization where we don't initialize fields
        this.success = null;
        this.param_transfered = null;
      }
      else {
        if (initObj.hasOwnProperty('success')) {
          this.success = initObj.success
        }
        else {
          this.success = false;
        }
        if (initObj.hasOwnProperty('param_transfered')) {
          this.param_transfered = initObj.param_transfered
        }
        else {
          this.param_transfered = 0;
        }
      }
    }
  
    static serialize(obj, buffer, bufferOffset) {
      // Serializes a message object of type ParamPushResponse
      // Serialize message field [success]
      bufferOffset = _serializer.bool(obj.success, buffer, bufferOffset);
      // Serialize message field [param_transfered]
      bufferOffset = _serializer.uint32(obj.param_transfered, buffer, bufferOffset);
      return bufferOffset;
    }
  
    static deserialize(buffer, bufferOffset=[0]) {
      //deserializes a message object of type ParamPushResponse
      let len;
      let data = new ParamPushResponse(null);
      // Deserialize message field [success]
      data.success = _deserializer.bool(buffer, bufferOffset);
      // Deserialize message field [param_transfered]
      data.param_transfered = _deserializer.uint32(buffer, bufferOffset);
      return data;
    }
  
    static getMessageSize(object) {
      return 5;
    }
  
    static datatype() {
      // Returns string type for a service object
      return 'mavros_msgs/ParamPushResponse';
    }
  
    static md5sum() {
      //Returns md5sum for a message object
      return 'd3fc4d8cefa193382985a92a041a2a3d';
    }
  
    static messageDefinition() {
      // Returns full string definition for message
      return `
      bool success
      uint32 param_transfered
      
      
      `;
    }
  
    static Resolve(msg) {
      // deep-construct a valid message object instance of whatever was passed in
      if (typeof msg !== 'object' || msg === null) {
        msg = {};
      }
      const resolved = new ParamPushResponse(null);
      if (msg.success !== undefined) {
        resolved.success = msg.success;
      }
      else {
        resolved.success = false
      }
  
      if (msg.param_transfered !== undefined) {
        resolved.param_transfered = msg.param_transfered;
      }
      else {
        resolved.param_transfered = 0
      }
  
      return resolved;
      }
  };
  
  module.exports = {
    Request: ParamPushRequest,
    Response: ParamPushResponse,
    md5sum() { return 'd3fc4d8cefa193382985a92a041a2a3d'; },
    datatype() { return 'mavros_msgs/ParamPush'; }
  };
  