-
Notifications
You must be signed in to change notification settings - Fork 0
WIP: Scholz integration #1
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
base: master
Are you sure you want to change the base?
Conversation
| cable. */ | ||
| enum class Status | ||
| { | ||
| Ok, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WrappingStatus::InContactWithSurface
| /** Compute the unit force vector in Ground frame that this segment exerts | ||
| on the MobilizedBody. The actual applied force can be found by multiplication with the cable tension. | ||
| The system must be realiezd to Stage::Position. */ | ||
| void calcUnitForce(const State& state, SpatialVec& unitForce_G) const; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be removed
| that if nPoints=1, and the curve length is not zero, an exception is | ||
| thrown. | ||
| @return The number of points written. */ | ||
| int calcPoints(const State& state, std::vector<Vec3>& points_G, int nPoints = 0) const; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use a std::function<void(Vec3)>& sink
or use an epsilon? use will be not be happy choosing nPoints...
| belong to a valid cable path.*/ | ||
| CurveSegment( | ||
| CableSpan cable, | ||
| const MobilizedBody& mobod, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Take an index instead
|
|
||
| //============================================================================== | ||
| // A curved cable segment on a surface that is part of a `CableSpan`. | ||
| class SimTK_SIMBODY_EXPORT CurveSegment final |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be exposed at all?
Draft PR to discuss during meeting