I’ve tested the new code, but I still seem to have more DoF than designated drivers,
Macro command > runmacro “C:\Documents and Settings\hans.essers\Application Data\AnyBody Technology\AnyBody.5.x.x\AMMRV1.3\Application\Examples\Copy of GaitFullBody\Sequence1.anymcr”
Macro command > operation Main.Studies.ParameterIdentification.ParameterOptimization
Macro command > run
- Operation Sequence: (Operation: Main.Studies.ParameterIdentification.Analysis):
0.0) Kinematics (Operation: Main.Studies.KinematicStudyForParameterIdentification.Kinematics):
0.0.0) PreOperation (Operation: Main.Studies.KinematicStudyForParameterIdentification.Kinematics.PreOperation):
0.0.0) InitialConditions (Operation: Main.Studies.KinematicStudyForParameterIdentification.InitialConditions):
WARNING for Main.Studies.KinematicStudyForParameterIdentification.EnvironmentModel.Cane: Non-orthogonal axes were adjusted.
0.0.0) …Design variables have been updated.
0.0.1) …Load time positions have been re-established.
Position analysis failed : 553 independent constraints and 559 unknowns
Constraint no. #0 in Trunk.Buckle.Slider1.Slider1Jnt.Constraints’ above error tolerance 0.001000, error = 0.034232.
etc…
ERROR(OBJ.MCH.KIN3) : /GaitFullBody.main.any : KinematicStudyForParameterIdentification.InitialConditions : Kinematic analysis failed in time step 0
Macro command > runmacro “SaveMacroOperation-Save.anymcr”
Macro command > classoperation Main.ModelSetup.SaveMacroOperation “Save AnyString to file” --file=“RunMacroOperation-Save.anymcr”
Macro command > runmacro “RunMacroOperation-Save.anymcr”
Macro command > classoperation Main.Studies.ParameterIdentification “Save design” --file=“GaitNormal0003-processed-OptimizedParameters.txt”
Macro command > operation Main.Studies.MotionOptimization.Kinematics
Error : Main.Studies.MotionOptimization.Kinematics : object is not AnyOperation.
I’ve adjusted the Cane Segment Axes0 to Wrist - Hand + (angle of cane in hand itself), but I receive the following message:
WARNING for Main.Studies.KinematicStudyForParameterIdentification.EnvironmentModel.Cane: Non-orthogonal axes were adjusted.
I don’t have any Legs nor markers to drive them, do I need them?
I’ve attached my current Code as a zip
Greetings,
Hans
All Constraints:
Constraint no. #0 in Trunk.Buckle.Slider1.Slider1Jnt.Constraints’ above error tolerance 0.001000, error = 0.034232.
Constraint no. #0 in Trunk.Buckle.Slider2.Slider1Jnt.Constraints’ above error tolerance 0.001000, error = 0.030629.
Constraint no. #0 in Trunk.Buckle.Slider3.Slider1Jnt.Constraints’ above error tolerance 0.001000, error = 0.028827.
Constraint no. #0 in Trunk.Buckle.Slider4.Slider1Jnt.Constraints’ above error tolerance 0.001000, error = 0.089713.
Constraint no. #0 in Trunk.Buckle.Slider4.LinDrv’ above error tolerance 0.001000, error = 0.082664.
Constraint no. #0 in Trunk.Buckle.Slider5.Slider1Jnt.Constraints’ above error tolerance 0.001000, error = 0.005855.
Constraint no. #0 in Trunk.Buckle.Disc1.Disc.LinDrvRight’ above error tolerance 0.001000, error = 0.026498.
Constraint no. #0 in Trunk.Buckle.Disc1.Disc.LinDrvLeft’ above error tolerance 0.001000, error = 0.026498.
Constraint no. #0 in Trunk.Buckle.Disc1.Disc.drv’ above error tolerance 0.001000, error = 0.122614.
Constraint no. #0 in Trunk.Buckle.Disc2.Disc.LinDrvRight’ above error tolerance 0.001000, error = 0.016525.
Constraint no. #0 in Trunk.Buckle.Disc2.Disc.LinDrvLeft’ above error tolerance 0.001000, error = 0.016525.
Constraint no. #0 in Trunk.Buckle.Disc2.Disc.drv’ above error tolerance 0.001000, error = 0.109101.
Constraint no. #0 in Trunk.Buckle.Disc3.Disc.drv’ above error tolerance 0.001000, error = 0.100093.
Constraint no. #0 in Trunk.Buckle.Disc4.Disc.drv’ above error tolerance 0.001000, error = 0.086580.
Constraint no. #0 in Trunk.Buckle.Disc5.Disc.LinDrvRight’ above error tolerance 0.001000, error = 0.001095.
Constraint no. #0 in Trunk.Buckle.Disc5.Disc.LinDrvLeft’ above error tolerance 0.001000, error = 0.001095.
Constraint no. #0 in Trunk.Buckle.Disc5.Disc.drv’ above error tolerance 0.001000, error = 0.077572.
Constraint no. #0 in Trunk.Buckle.JointsAndDrivers.LinTopDrv’ above error tolerance 0.001000, error = 0.028827.
Constraint no. #1 in Trunk.Buckle.JointsAndDrivers.LinTopDrv’ above error tolerance 0.001000, error = 0.065311.
Constraint no. #0 in Trunk.Buckle.JointsAndDrivers.LinBottomDrv’ above error tolerance 0.001000, error = 0.018017.
Constraint no. #0 in Trunk.Buckle.JointsAndDrivers.MeasuringSegmentRight.Drv1’ above error tolerance 0.001000, error = 0.045042.
Constraint no. #1 in Trunk.Buckle.JointsAndDrivers.MeasuringSegmentRight.Drv1’ above error tolerance 0.001000, error = 0.021899.
Constraint no. #0 in Trunk.Buckle.JointsAndDrivers.MeasuringSegmentLeft.Drv1’ above error tolerance 0.001000, error = 0.045042.
Constraint no. #1 in Trunk.Buckle.JointsAndDrivers.MeasuringSegmentLeft.Drv1’ above error tolerance 0.001000, error = 0.021899.
Constraint no. #0 in Right.ShoulderArm.Jnt.SCLinCon’ above error tolerance 0.001000, error = 0.005333.
Constraint no. #1 in Right.ShoulderArm.Jnt.SCLinCon’ above error tolerance 0.001000, error = 0.002039.
Constraint no. #2 in Right.ShoulderArm.Jnt.SCLinCon’ above error tolerance 0.001000, error = 0.010570.
Constraint no. #1 in Right.ShoulderArm.Jnt.ACLinCon’ above error tolerance 0.001000, error = 0.002877.
Constraint no. #2 in Right.ShoulderArm.Jnt.ACLinCon’ above error tolerance 0.001000, error = 0.006475.
Constraint no. #1 in Right.ShoulderArm.Jnt.FE.Constraints’ above error tolerance 0.001000, error = 0.006709.
Constraint no. #2 in Right.ShoulderArm.Jnt.FE.Constraints’ above error tolerance 0.001000, error = 0.004357.
Constraint no. #0 in Right.ShoulderArm.Jnt.PSProximalConstraints’ above error tolerance 0.001000, error = 0.004893.
Constraint no. #2 in Right.ShoulderArm.Jnt.PSProximalConstraints’ above error tolerance 0.001000, error = 0.004467.
Constraint no. #0 in Right.ShoulderArm.Jnt.PSLinDistalConstraint’ above error tolerance 0.001000, error = 0.019643.
Constraint no. #1 in Right.ShoulderArm.Jnt.PSLinDistalConstraint’ above error tolerance 0.001000, error = 0.001372.
Constraint no. #0 in Right.ShoulderArm.Jnt.WristJointDeviation.Constraints’ above error tolerance 0.001000, error = 0.013156.
Constraint no. #1 in Right.ShoulderArm.Jnt.WristJointDeviation.Constraints’ above error tolerance 0.001000, error = 0.004788.
Constraint no. #0 in Right.ShoulderArm.Jnt.ScapulaAIThoraxNodeDriver’ above error tolerance 0.001000, error = 0.012295.
Constraint no. #0 in Right.ShoulderArm.Jnt.ScapulaTSThoraxNodeDriver’ above error tolerance 0.001000, error = 0.016981.
Constraint no. #0 in Right.ShoulderArm.Jnt.ScapulaAIThoraxNodeReaction.ContactSegDriver’ above error tolerance 0.001000, error = 0.012217.
Constraint no. #1 in Right.ShoulderArm.Jnt.ScapulaAIThoraxNodeReaction.ContactSegDriver’ above error tolerance 0.001000, error = 0.012280.
Constraint no. #2 in Right.ShoulderArm.Jnt.ScapulaAIThoraxNodeReaction.ContactSegDriver’ above error tolerance 0.001000, error = 0.012428.
Constraint no. #3 in Right.ShoulderArm.Jnt.ScapulaAIThoraxNodeReaction.ContactSegDriver’ above error tolerance 0.001000, error = 0.315552.
Constraint no. #0 in Right.ShoulderArm.Jnt.ScapulaTSThoraxNodeReaction.ContactSegDriver’ above error tolerance 0.001000, error = 0.017361.
Constraint no. #1 in Right.ShoulderArm.Jnt.ScapulaTSThoraxNodeReaction.ContactSegDriver’ above error tolerance 0.001000, error = 0.016878.
Constraint no. #2 in Right.ShoulderArm.Jnt.ScapulaTSThoraxNodeReaction.ContactSegDriver’ above error tolerance 0.001000, error = 0.016831.
Constraint no. #3 in Right.ShoulderArm.Jnt.ScapulaTSThoraxNodeReaction.ContactSegDriver’ above error tolerance 0.001000, error = 0.315552.
Constraint no. #0 in Right.ShoulderArm.Jnt.ConoideumLigamentDrv’ above error tolerance 0.001000, error = 0.004350.
Constraint no. #1 in Right.ShoulderArm.Jnt.HandGloveLinDrv’ above error tolerance 0.001000, error = 0.005961.
Constraint no. #2 in Right.ShoulderArm.Jnt.HandGloveLinDrv’ above error tolerance 0.001000, error = 0.005173.
Constraint no. #0 in Right.ShoulderArm.Mus.ArtificialRake.LinCombDrv’ above error tolerance 0.001000, error = 0.040057.
Constraint no. #1 in Right.ShoulderArm.Mus.ArtificialRake.LinCombDrv’ above error tolerance 0.001000, error = 0.317713.
Constraint no. #2 in Right.ShoulderArm.Mus.ArtificialRake.LinCombDrv’ above error tolerance 0.001000, error = 0.179964.
Constraint no. #0 in Right.ShoulderArm.Mus.ArtificialRake.LinCom2Drv’ above error tolerance 0.001000, error = 0.100000.
Constraint no. #0 in Right.ShoulderArm.Mus.Pectoralis_minor2_cyl.Cylinder.SphericalJoint.Constraints’ above error tolerance 0.001000, error = 0.064048.
Constraint no. #1 in Right.ShoulderArm.Mus.Pectoralis_minor2_cyl.Cylinder.SphericalJoint.Constraints’ above error tolerance 0.001000, error = 0.072671.
Constraint no. #2 in Right.ShoulderArm.Mus.Pectoralis_minor2_cyl.Cylinder.SphericalJoint.Constraints’ above error tolerance 0.001000, error = 0.033211.
Constraint no. #0 in Right.ShoulderArm.Mus.Pectoralis_minor2_cyl.Cylinder.CylRotDrv2’ above error tolerance 0.001000, error = 0.325201.
Constraint no. #0 in ModelEnvironmentConnection.Drivers.SCDriverRight’ above error tolerance 0.001000, error = 0.209293.
Constraint no. #0 in Drivers.RigidCane.Constraints’ above error tolerance 0.001000, error = 0.023194.
Constraint no. #1 in Drivers.RigidCane.Constraints’ above error tolerance 0.001000, error = 0.017398.
Constraint no. #2 in Drivers.RigidCane.Constraints’ above error tolerance 0.001000, error = 0.046276.
Constraint no. #3 in Drivers.RigidCane.Constraints’ above error tolerance 0.001000, error = 2.199873.
Constraint no. #4 in Drivers.RigidCane.Constraints’ above error tolerance 0.001000, error = 0.172973.
Constraint no. #5 in Drivers.RigidCane.Constraints’ above error tolerance 0.001000, error = 0.441141.