$ npm install @rassweiler/kawasaki-as-parser
$ yarn add @rassweiler/kawasaki-as-parser
import KawasakiParser from "@rassweiler/kawasaki-as-parser";
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);
Currently investigating how to do this.
- 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
$ 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