text: // Auto-generated. Do not edit!
  
  // (in-package hiwonder_servo_msgs.msg)
  
  
  "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 ActionGroupRunnerResult {
    constructor(initObj={}) {
      if (initObj === null) {
        // initObj === null is a special case for deserialization where we don't initialize fields
        this.name = null;
        this.result = null;
      }
      else {
        if (initObj.hasOwnProperty('name')) {
          this.name = initObj.name
        }
        else {
          this.name = '';
        }
        if (initObj.hasOwnProperty('result')) {
          this.result = initObj.result
        }
        else {
          this.result = '';
        }
      }
    }
  
    static serialize(obj, buffer, bufferOffset) {
      // Serializes a message object of type ActionGroupRunnerResult
      // Serialize message field [name]
      bufferOffset = _serializer.string(obj.name, buffer, bufferOffset);
      // Serialize message field [result]
      bufferOffset = _serializer.string(obj.result, buffer, bufferOffset);
      return bufferOffset;
    }
  
    static deserialize(buffer, bufferOffset=[0]) {
      //deserializes a message object of type ActionGroupRunnerResult
      let len;
      let data = new ActionGroupRunnerResult(null);
      // Deserialize message field [name]
      data.name = _deserializer.string(buffer, bufferOffset);
      // Deserialize message field [result]
      data.result = _deserializer.string(buffer, bufferOffset);
      return data;
    }
  
    static getMessageSize(object) {
      let length = 0;
      length += object.name.length;
      length += object.result.length;
      return length + 8;
    }
  
    static datatype() {
      // Returns string type for a message object
      return 'hiwonder_servo_msgs/ActionGroupRunnerResult';
    }
  
    static md5sum() {
      //Returns md5sum for a message object
      return 'bce5bc1805b967315e9937df0cda1034';
    }
  
    static messageDefinition() {
      // Returns full string definition for message
      return `
      # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
      string name
      string result
      
      `;
    }
  
    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 ActionGroupRunnerResult(null);
      if (msg.name !== undefined) {
        resolved.name = msg.name;
      }
      else {
        resolved.name = ''
      }
  
      if (msg.result !== undefined) {
        resolved.result = msg.result;
      }
      else {
        resolved.result = ''
      }
  
      return resolved;
      }
  };
  
  module.exports = ActionGroupRunnerResult;
  