Skip to content
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

Carvallo whipple doc example #442

Merged
merged 36 commits into from Oct 22, 2020

Conversation

moorepants
Copy link
Member

@moorepants moorepants commented Oct 22, 2020

This PR is the same as #122 but extracts the new documentation example from the old style example. I wanted to maintain the commits and separate from the other example that needs more work for its purpose. Both PRs will eventually be merged.

Example

  • There are no merge conflicts.
  • A figure (preferrably SVG) has been added for the example.
  • The required versions of all dependencie have been noted. (For
    notebooks, the version information
    extension
    is helpful
    for this.)
  • A run.py file that executes the example is included.
  • All reviewer comments have been addressed.

moorepants and others added 30 commits May 25, 2015 15:37
I found one major error in the definition of the rear wheel center velocity. I
was using the same definition from my dissertation which assumed that no is the
origin and dn is moving wrt to no through q1 and q2. But I think, not quite
sure, that when you set the rear wheel contact point as the origin you have to
account for the velocity components due to rear wheel rate and pitch rate.
Making that change, which matches Gilbert's version, gets the ode eval very
close to Basu-Mandal numbers. I just have a small error at this point. I'm also
still getting a singular matrix on the ode function generator (this may be a
larger problem or misunderstanding as I see it too often in other problems).
Conflicts:
	examples/bicycle/whipple.py
This is based off the whipple.py. The simulation works and is stable. I
get divide by zeros and nan's if the initial conditions are zero. The
small epsilon I added in place of the zero initial conditions worked for
1e-12 but not 1e-10 and 1e-14. Not sure why either of these issues
occur. But at least this is a basic working example and a starting point
for investigating more.
@moorepants moorepants merged commit ffbad87 into pydy:master Oct 22, 2020
@moorepants moorepants deleted the carvallo-whipple-doc-example branch April 15, 2023 18:46
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.

None yet

2 participants