/pydy_examples

[This repo is deprecated, see the main PyDy repository] A collection of PyDy examples.

Primary LanguagePython

Notice

pydy_examples has been merged into the main pydy repository. This independent project is now deprecated, all development and subsequent releases will be from http://github.com/pydy/pydy.

These are examples of using the various tools in PyDy to simulate and study the motion of classical dynamic systems. The equations of motion for the systems are typically derived with SymPy Mechanics and the numerical work done with a variety of other packages, such as:

  • NumPy/SciPy
  • python-control
  • Matlab
  • GSL
  • IPython

Each folder contains the files for one example. To contribute, make a pull request. The new folder should include a readme explaining the problem, a figure, and the source code for the example. Code written in python should roughly adhere to PEP8: http://www.python.org/dev/peps/pep-0008/. There are some exceptions, such as naming of variables. Use your best judgment.

Commit Guidelines:

When submitting, please follow the commit guidelines used for Git: http://git-scm.com/book/ch5-2.html#Commit-Guidelines. The first line should have a soft limit of 50 characters, and subsequent lines limitted to 72 characters. The commit messages should be written in the imperative present tense.

Visit www.pydy.org to learn more or contribute.