@@ -4,15 +4,9 @@ Strong coupling core {#mainpage}
44Library for solving a system of strong coupled physical subsystems. Aimed to use
55in co-simulation, where each slave has mechanical connector points.
66
7- The library should have support for a number of constraints:
8-
9- * sc::LockConstraint
10- * sc::BallJointConstraint
11- * sc::DistanceConstraint
12- * sc::HingeConstraint
13- * sc::PrismaticConstraint
14-
15- These can be used to mechanically constrain the connectors to each other.
7+ The library has support for a number of constraints, see subclasses of
8+ sc::Constraint. These can be used to mechanically constrain the connectors
9+ to each other.
1610
1711# Usage
1812
@@ -25,15 +19,17 @@ The code is typically used like so:
25193 . Constrain two connectors by creating instances of sc::Constraint.
26204 . Add slaves, connectors, constraints to the solver (sc::Solver).
27215 . For each time step in your stepping loop:
28- 1 . Set positions and velocities of the connectors.
29- 2 . Set the jacobian for each equation in the system (each sc::Constraint
22+ 1 . Set position, quaternion, velocity and angular velocity of the connectors.
23+ 2 . Set future velocity and angular velocity of the connectors (you get this
24+ by stepping your system one time step forward).
25+ 3 . Set the jacobian for each equation in the system (each sc::Constraint
3026 contains at least one sc::Equation). The Jacobian can be imagined as the
31- connector inertia in all directions.
32- 3 . Solve the system (sc::Solver::solve()).
33- 4 . Get resulting constraint force from the connectors. Apply these forces to your
34- co-simulation slaves, step, and then go to 5 .
27+ connector inertia in the constraint directions.
28+ 4 . Solve the system (sc::Solver::solve()).
29+ 5 . Get resulting constraint force and torque from the connectors. Apply
30+ these forces to your co-simulation slaves and then do a final step .
3531
36- Sample code can be found in test/Slave .cpp
32+ Sample code can be found in test/rigid .cpp
3733
3834# Install
3935
8682You need [ Doxygen] ( http://www.stack.nl/~dimitri/doxygen/ ) to generate the
8783documentation. Build the documentation by doing this:
8884
89- cd docs/;
9085 doxygen Doxyfile;
9186
87+ The HTML files will end up in docs/.
88+
9289# Project info
9390Funded in part by VINNOVA through project Simovate (dnr 2012-01235) and Umeå University, Umeå, Sweden.
9491
9592# Change log
9693
9794* 0.1.0*
98-
99- * Added sc::BallJointConstraint
10095* Started change log
0 commit comments