Skip to content

Major changes to the structure of the program: #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 14, 2016

Conversation

janlav
Copy link
Contributor

@janlav janlav commented Mar 10, 2016

This change affect the whole operation of the program.

Now Rapid.m is a Class and not a function (rapid.m):
To use rapid you will now have to create an object of the Rapid-class which carries out everything that RaPId is supposed to do by the class methods. The most important are:

  1. a=Rapid() ora=Rapid(rapidSettings)create an instance a of the class or instantiate and load rapidSettings, a struct or an instance of RaPIdClass respectively.
  2. [sol, hist, rapidSettings]=a.runIdentification()will carry out the identification task (previously done by rapid(rapidSettings) ).
  3. a.plotBestTracking() will plot how close the simulated system followed the reference output.

See the commit messages also.
Hopefully you can run the installation and try the Examples when reviewing this PR.

Some issues directly affected by this are #11, #16 and #31 altough none of these may necessarily be considered closed.

janlav added 2 commits March 10, 2016 19:18
…hich carries out all the tasks. The only useful methods for user is constructing the object, loadSettings (with a RaPId-class object as arg), runIdentifcation (to get solution and history), and plotBestTracking (to see how close we got to reference)

Also:
* Removed a ton of instances of mIxEdCaSe
* Consequently renamed the object-containing settings 'rapidSettings" (instance of the RaPId-class)
*  Added some basic plotting in GUI of the tracking of reference signals
… would have prevented the proper initalization and updating of old objects.
…hod makePathsRelative when saving containers in GUI (users in CLI have to do this by themselves).

Also some minor changes to simulinkSettings GUI (stuff were not really used)

Closes ALSETLab#17
tinrabuzin pushed a commit that referenced this pull request Mar 14, 2016
Major changes to the structure of the program:
@tinrabuzin tinrabuzin merged commit 9fa24ca into ALSETLab:master Mar 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants