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

add more hint to Pendulum.cpp, revise the typo error in collision.md #573

Merged
merged 1 commit into from
Dec 24, 2015
Merged

add more hint to Pendulum.cpp, revise the typo error in collision.md #573

merged 1 commit into from
Dec 24, 2015

Conversation

jiayeli-hualien
Copy link
Contributor

There is some code in lesson 2a of Pendulum:
for(size_t i = 0; i < mPendulum->getNumDofs(); ++i)
{
DegreeOfFreedom* dof = mPendulum->getDof(i);
double q0 = dof->getRestPosition() + delta;
dof->setRestPosition(q0);
}
the variable delta may be the parameter of the functions, but the tutorial don't say where the variable 'delta' comes from.
http://dart.readthedocs.org/en/release-5.1/tutorials/multi-pendulum/#lesson-2a-set-joint-spring-rest-position

User may need read the finished file and get hints.

There is a typo error in collision.md

@jslee02
Copy link
Member

jslee02 commented Dec 19, 2015

👍 Good catch. If @mxgrey approves, I think it's good to merge.

@jslee02 jslee02 added this to the DART 6.0.0 milestone Dec 19, 2015
@jiayeli-hualien
Copy link
Contributor Author

wow! so efficient!
Thank you.

I'm glad it is merged.

@mxgrey
Copy link
Member

mxgrey commented Dec 24, 2015

This looks good to me 👍

jslee02 added a commit that referenced this pull request Dec 24, 2015
add more hint to Pendulum.cpp, revise the typo error in collision.md
@jslee02 jslee02 merged commit de4b14b into dartsim:master Dec 24, 2015
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.

3 participants