项目作者: CesMak

项目描述 :
simulative adaptive control theory library of Markus Lamprecht
高级语言: JavaScript
项目地址: git://github.com/CesMak/simact.git
创建时间: 2017-09-20T10:05:19Z
项目社区:https://github.com/CesMak/simact

开源协议:MIT License

下载


SIMACT

SIMACT (Simulative Adaptive Control Theory) is an advanced library for control theory. This library can do symbolic calculations and contains many basic functions like calculating the observability or controllability matrix.

Usage

Just include the simact.bundle.js file in your website!

See this libray in action at: Engine

Check out the theory behind it: Theory

Documentation

Doku

Dependency

The SIMACT Library depends on:

License

Copyright 2017: Markus Lamprecht, Contact: MarkusLamprecht@live.de
If you want to use this library please make sure you also respect the licenses of the Algebrite, Numeric js and BigInteger library (see under Dependency).

Changes on SIMACT

If I should do some changes please open a new Issue.

If you want to install the simact library on your pc do the following:

  1. Copy algebrite.js and simact.js into a simact-lib folder

  2. npm install big-integer also npm install browserify

  3. browserify simact.js --standalone simact > simact.bundle.js

  4. Testing:npm install jasmine

    • Go in the spec folder and create a test.spec.js file
    • Enter a simple test in that file: var simact = require("../simact"); describe("hello world",function(){ it("result should be ...",function(){ //console.log(sim.add(0.2)); expect(simact.addPP(0.2)).toBe(0.2); });});
      • Go to main folder and test with jasmine
  5. Documentation:

    • npm install jsdoc
    • ./node_modules/.bin/jsdoc simact.js
  1. If you want to change the Algebrite.js file:
    • Git clone algebrite
    • in Eclipse: create new project
    • into that project import (from File System) and slect the downloaded folder
    • eg.: go to runtime -> symbol.coffee and change outputs!

Testing:

Go to simact-lib folder and run:
jasmine

Changing algebrite:

  1. Go to alg folder and to runtime/run.coffee
  2. Change something: e.g.: console.log(“ahalad”)
  3. npm run build-for-browser
  4. Kopiere aus dist erstellte algebrite.js datei in meine simact.lib
  5. Führe dort: browserify simact.js —standalone simact > simact.bundle.js aus
  6. nun sollten die änderungen mit einbindung von simact.bundle.js aktiv sein.