Skip to content

rassweiler/kawasaki-as-parser

Repository files navigation

kawasaki-as-parser

Build Status Github Tag StackOverflow GitHub license npm version

Node module for parsing kawasaki as backup files.

Usage

NPM

$ npm install @rassweiler/kawasaki-as-parser

Yarn

$ yarn add @rassweiler/kawasaki-as-parser

Importing

import KawasakiParser from "@rassweiler/kawasaki-as-parser";

Getting Data

The module's functions can be called independently (All calls return promises):

let info = await KawasakiParser.getRobotInformationObject(
	utf8StringArray,
	robotNumber
);

Or the getControllerObject() function can be called and will return an object containing all of the robot information:

let controller = await KawasakiParser.getControllerObject(utf8StringFromAsFile);

Typescript types

Currently investigating how to do this.

Milestones

  • Parse comments
  • Parse Robot Programs
  • Parse Controller Programs
  • Parse Robot BCD Info
  • Parse AS reals
  • Parse AS trans
  • Parse AS joints
  • Parse AS strings
  • Parse Spot Weld Info
  • Parse MIG Weld Info

Development

$ git clone https://github.com/rassweiler/kawasaki-as-parser.git

change to the desired branch and install the dependencies using yarn:

$ yarn

For convenience install the suggested vscode addons.

Before commiting run:

yarn test

About

Node module for parsing kawasaki backup files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published