Home
last modified time | relevance | path

Searched refs:getCoordinateSet (Results 1 – 25 of 54) sorted by relevance

123

/dports/science/opensim-core/opensim-core-4.1/Bindings/Python/examples/
H A Ddynamic_walker_example_optimization.py112 candsol.append(model.getCoordinateSet().get('LHip_rz').getDefaultValue())
113 candsol.append(model.getCoordinateSet().get('RHip_rz').getDefaultValue())
114 candsol.append(model.getCoordinateSet().get('LKnee_rz').getDefaultValue())
140 model.getCoordinateSet().get('LHip_rz').setDefaultValue(bestsol[0])
141 model.getCoordinateSet().get('RHip_rz').setDefaultValue(bestsol[1])
142 model.getCoordinateSet().get('LKnee_rz').setDefaultValue(bestsol[2])
143 model.getCoordinateSet().get('RKnee_rz').setDefaultValue(bestsol[3])
145 model.getCoordinateSet().get('LHip_rz').setDefaultSpeedValue(bestsol[5])
146 model.getCoordinateSet().get('RHip_rz').setDefaultSpeedValue(bestsol[6])
147 model.getCoordinateSet().get('LKnee_rz').setDefaultSpeedValue(bestsol[7])
[all …]
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Simulation/SimbodyEngine/
H A DCoordinateCouplerConstraint.cpp173 if (!getModel().getCoordinateSet().contains(independentCoordNames[i])) { in extendConnectToModel()
181 if (!getModel().getCoordinateSet().contains(get_dependent_coordinate_name())) { in extendConnectToModel()
210 const Coordinate& aCoordinate = getModel().getCoordinateSet().get(independentCoordNames[i]); in extendAddToSystem()
216 …const Coordinate& aCoordinate = getModel().getCoordinateSet().get(get_dependent_coordinate_name()); in extendAddToSystem()
H A DSimbodyEngine.cpp182 for (int i = 0; i < _model->getCoordinateSet().getSize(); i++) in getUnlockedCoordinates()
183 if (!_model->getCoordinateSet().get(i).getLocked(s)) in getUnlockedCoordinates()
184 rUnlockedCoordinates.adoptAndAppend(&_model->getCoordinateSet().get(i)); in getUnlockedCoordinates()
815 const CoordinateSet& coordinateSet = _model->getCoordinateSet(); in formCompleteStorages()
921 const CoordinateSet& coordinateSet = _model->getCoordinateSet(); in scaleRotationalDofColumns()
963 const CoordinateSet& coordinateSet = _model->getCoordinateSet(); in scaleRotationalDofColumns()
1060 const CoordinateSet& coordinateSet = _model->getCoordinateSet(); in convertDegreesToRadians()
1083 const CoordinateSet& coordinateSet = _model->getCoordinateSet(); in convertRadiansToDegrees()
/dports/science/opensim-core/opensim-core-4.1/Bindings/Java/Matlab/examples/
H A Dpendulum_marker_positions.m67 model.getCoordinateSet().get(0).setDefaultValue(-1.04719755)
68 model.getCoordinateSet().get(1).setDefaultValue(-0.78539816)
76 reporter.addToReport(model.getCoordinateSet().get(0).getOutput('value'), 'pin1_coord_0');
77 reporter.addToReport(model.getCoordinateSet().get(1).getOutput('value'), 'pin2_coord_0');
83 cReporter.addToReport(model.getCoordinateSet().get(0).getOutput('value'), 'pin1_coord_0');
84 cReporter.addToReport(model.getCoordinateSet().get(1).getOutput('value'), 'pin2_coord_0');
H A DplotMuscleFLCurves.m136 nCoord = model.getCoordinateSet().getSize();
142 aCoord = model.getCoordinateSet().get(k);
179 aCoord = model.getCoordinateSet().get(muscCoord(u));
184 char(model.getCoordinateSet().get(muscCoord(u))), ' = [coordRange];']);
/dports/science/opensim-core/opensim-core-4.1/Bindings/Java/tests/
H A DTestReporter.java117 addToReport(model.getCoordinateSet().get(0).getOutput("value"), in test_TableReporter_2()
121 connect(model.getCoordinateSet().get(1).getOutput("value"), in test_TableReporter_2()
129 connect(model.getCoordinateSet().get(0).getOutput("value"), in test_TableReporter_2()
132 addToReport(model.getCoordinateSet().get(1).getOutput("value"), in test_TableReporter_2()
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Sandbox/MatlabScripts/
H A Dsimulate_double_pendulum_and_write_tables.m44 model.getCoordinateSet().get(0).getOutput('value'), 'pin1_angle');
46 model.getCoordinateSet().get(1).getOutput('value'), 'pin2_angle');
53 model.getCoordinateSet().get(0).getOutput('value'), 'pin1_angle');
55 model.getCoordinateSet().get(1).getOutput('value'), 'pin2_angle');
H A DplotMuscleFLCurves.m138 nCoord = model.getCoordinateSet().getSize();
144 aCoord = model.getCoordinateSet().get(k);
181 aCoord = model.getCoordinateSet().get(muscCoord(u));
186 char(model.getCoordinateSet().get(muscCoord(u))), ' = [coordRange];']);
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Simulation/
H A DAssemblySolver.cpp52 const CoordinateSet& modelCoordSet = getModel().getCoordinateSet(); in AssemblySolver()
99 const CoordinateSet& modelCoordSet = getModel().getCoordinateSet(); in setupGoals()
216 const CoordinateSet& modelCoordSet = getModel().getCoordinateSet(); in assemble()
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Simulation/Test/
H A DtestForces.cpp1236 osimModel.getCoordinateSet()[4].setValue(osim_state, start_h); in testHuntCrossleyForce()
1366 const Coordinate &q_h = osimModel->getCoordinateSet()[0]; in testCoordinateLimitForce()
1491 const Coordinate &coord = osimModel.getCoordinateSet()[0]; in testCoordinateLimitForceRotational()
1632 double y_sim = model.getCoordinateSet()[4].getValue(s); in testExternalForce()
1638 double val = model.getCoordinateSet()[i].getValue(s); in testExternalForce()
1669 for(int i=0; i<model.getCoordinateSet().getSize(); i++){ in testExternalForce()
1670 double val = model.getCoordinateSet()[i].getValue(s2); in testExternalForce()
1706 for(int i=0; i<model.getCoordinateSet().getSize(); i++){ in testExternalForce()
1707 double val = model.getCoordinateSet()[i].getValue(s3); in testExternalForce()
1757 for(int i=0; i<model.getCoordinateSet().getSize(); i++){ in testExternalForce()
[all …]
H A DtestStatesTrajectory.cpp200 for (int ic = 0; ic < model.getCoordinateSet().getSize(); ++ic) { in testFromStatesStorageGivesCorrectStates()
201 const auto& coord = model.getCoordinateSet().get(ic); in testFromStatesStorageGivesCorrectStates()
453 for (int ic = 0; ic < model.getCoordinateSet().getSize(); ++ic) { in testFromStatesStoragePre40CorrectStates()
454 const auto& coord = model.getCoordinateSet().get(ic); in testFromStatesStoragePre40CorrectStates()
761 gait.getCoordinateSet().get("knee_angle_l").getStateVariableNames()[0], in testExport()
762 gait.getCoordinateSet().get("knee_angle_r").getStateVariableNames()[0], in testExport()
763 gait.getCoordinateSet().get("knee_angle_r").getStateVariableNames()[1]}; in testExport()
H A DtestAssemblySolver.cpp113 const CoordinateSet &coords = model.getCoordinateSet(); in testAssembleModelWithConstraints()
303 const CoordinateSet &modelcoords = model.getCoordinateSet(); in testAssemblySatisfiesConstraints()
315 const CoordinateSet &coords = model.getCoordinateSet(); in testAssemblySatisfiesConstraints()
H A DtestMomentArms.cpp161 const Coordinate& c = model.getCoordinateSet()[0]; in testMomentArmsAcrossCompoundJoint()
245 for(int i=0; i< osimModel.getCoordinateSet().getSize(); i++){ in computeGenForceScaling()
246 Coordinate &ac = osimModel.getCoordinateSet()[i]; in computeGenForceScaling()
H A DtestFrames.cpp142 const Coordinate& coord = pendulum->getCoordinateSet().get("q1"); in testBody()
491 pendulum->getCoordinateSet().get("q1").setValue(s, 2.0); in testVelocityAndAccelerationMethods()
492 pendulum->getCoordinateSet().get("q2").setValue(s, -1.0); in testVelocityAndAccelerationMethods()
H A DtestInverseKinematicsSolver.cpp287 Coordinate& coord = pendulum->getCoordinateSet()[0]; in testAccuracy()
401 Coordinate& coord = pendulum->getCoordinateSet()[0]; in testUpdateMarkerWeights()
506 Coordinate& coord = pendulum->getCoordinateSet()[0]; in testTrackWithUpdateMarkerWeights()
583 const Coordinate& coord = pendulum->getCoordinateSet()[0]; in testNumberOfMarkersMismatch()
696 const Coordinate& coord = leg->getCoordinateSet()[0]; in testNumberOfOrientationsMismatch()
/dports/science/opensim-core/opensim-core-4.1/Bindings/Python/tests/
H A Dtest_simbody.py35 assert J.ncol() == model.getCoordinateSet().getSize()
40 assert J.ncol() == model.getCoordinateSet().getSize()
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Analyses/
H A DKinematics.cpp189 const CoordinateSet& coordSet = _model->getCoordinateSet(); in updateCoordinatesToRecord()
255 const CoordinateSet& cs = _model->getCoordinateSet(); in constructColumnLabels()
362 const CoordinateSet& cs = _model->getCoordinateSet(); in record()
H A DInducedAccelerationsSolver.cpp289 int ind = _modelCopy.getCoordinateSet().getIndex(coordName); in getInducedCoordinateAcceleration()
296 coord = &_modelCopy.getCoordinateSet()[ind]; in getInducedCoordinateAcceleration()
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Tools/
H A DCMC_TaskSet.cpp237 const Coordinate& coord = _model->getCoordinateSet().get(name); in setFunctions()
290 const CoordinateSet& coords = getModel()->getCoordinateSet(); in setFunctionsForVelocity()
315 const Coordinate& coord = _model->getCoordinateSet().get(name); in setFunctionsForVelocity()
388 const CoordinateSet& coords = getModel()->getCoordinateSet(); in setFunctionsForAcceleration()
412 const Coordinate& coord = _model->getCoordinateSet().get(name); in setFunctionsForAcceleration()
/dports/science/opensim-core/opensim-core-4.1/Bindings/Java/OpenSimJNI/Test/
H A DtestContext.cpp144 const Coordinate& dr_elbow_flex = model->getCoordinateSet().get("r_elbow_flex"); in main()
177 const Coordinate& dr_elbow_flexNew = model->getCoordinateSet().get("r_elbow_flex"); in main()
217 newPoint->setCoordinate(model->getCoordinateSet().get(0)); in main()
/dports/science/opensim-core/opensim-core-4.1/Bindings/Java/Matlab/Dynamic_Walking_Tutorials/Dynamic_Walker_Challenge/UserFunctions/
H A DOpenSimPlantControlsFunction.m54 LKnee_rz = osimModel.getCoordinateSet().get('LKnee_rz').getValue(osimState);
55 LKnee_rz_u = osimModel.getCoordinateSet().get('LKnee_rz').getSpeedValue(osimState);
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Sandbox/xsens/
H A DImuStreaming.cpp85 _model->getCoordinateSet()[0].setValue(state, in onLiveDataAvailable()
87 _model->getCoordinateSet()[1].setValue(state, in onLiveDataAvailable()
89 _model->getCoordinateSet()[2].setValue(state, in onLiveDataAvailable()
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Sandbox/
H A DImuStreaming.cpp292 model.getCoordinateSet()[0].setValue(state, -1 * degToRad( roll_hat)); in main()
293 model.getCoordinateSet()[2].setValue(state, degToRad(pitch_hat)); in main()
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Examples/SimpleOptimizationExample/
H A DSimpleOptimizationExample.cpp111 const CoordinateSet& coords = osimModel.getCoordinateSet(); in main()
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Tests/SimpleOptimizationExample/
H A DtestSimpleOptimizationExample.cpp109 const CoordinateSet& coords = osimModel.getCoordinateSet(); in main()

123