<Simulation name="human"> <System name="3DGaitModel2392Arms"> <AdditionalFileDir name="./Geometry" /> <AdditionalFileDir name="./obj_textures" /> <OsimFile name="SUNY_arm_2DOFs_horizon.osim"> <LoadForces load_all="true" muscle_apply_force="true" need_compute_actu="true" need_load="true" sys_active="true" use_fatigue="false"> </LoadForces> <LoadGeometry need_load="true" /> </OsimFile> <ScaleMuscleToRelax name="Muscles" /> <ForceSubsystems> <JointLimitActutorForceSubsystem> <Coefficients>2500 1000 500 1500</Coefficients> </JointLimitActutorForceSubsystem> </ForceSubsystems> <EventHandlers> <OsgEventHandler> <Interval> 0.01</Interval> <Camera graphics_context="true" preset="4"> <ViewUpDirection value="240 -70 200" /> <ViewPosition relative="false" value="50 -60 100" /> <ViewCenter relative="false" value="0 0 0" /> </Camera> <Screen background_color="1.0 1.0 1.0 1.0" position="100 100" resolution="800 600" /> <ShowBodies value="true" /> <ShowBodyBaseLines value="false"> <Scale value="8e-1" /> </ShowBodyBaseLines> <ShowBodyFrames value="false"> <Scale value="4e-2" /> </ShowBodyFrames> <ShowJoints value="false" /> <ShowForces value="false" /> <ShowContactProxyGroups value="false" /> <ShowContactGroups value="false" /> <ShowForceSubsystem name="Muscles"> <DefaultColor> 0.0 0.0 1.0 1.0 </DefaultColor> <ColorValueRange> 0.0 1.0 </ColorValueRange> <ColorOption value="6" /> <Radius value="0.0025" /> </ShowForceSubsystem> </OsgEventHandler> <MuscleStatusEventHandler> <Interval> 10e-3</Interval> <PntOutput name="SUNY_arm_2DOFs_horizon_static_muscle_status.pnt" /> <LOAMuscleForceSubsystem name="Muscles" /> <MuscleNames all="false"> DELT1 DELT2 DELT3 Infraspinatus Latissimus_dorsi_1 Latissimus_dorsi_2 Latissimus_dorsi_3 Teres_minor PECM1 PECM2 PECM3 Coracobrachialis TRIlong TRIlat TRImed BIClong BICshort BRA </MuscleNames> <MuscleVars all="false"> excitation activation force </MuscleVars> <PortSend2>32001</PortSend2> </MuscleStatusEventHandler> <MuscleExcitationSetterEventHandler> <Interval> 10e-3</Interval> <LOAMuscleForceSubsystem name="Muscles" /> <MuscleNames all="true"> DELT1 DELT2 DELT3 Infraspinatus Latissimus_dorsi_1 Latissimus_dorsi_2 Latissimus_dorsi_3 Teres_minor PECM1 PECM2 PECM3 Coracobrachialis TRIlong TRIlat TRImed BIClong BICshort BRA </MuscleNames> <Body name="SUNY_2DOF_Arm_Model" /> <CoordinateNames all="true"> arm_flex elbow_flex </CoordinateNames> <PortReceive>31000</PortReceive> </MuscleExcitationSetterEventHandler> <CoordinateOutputEventHandler> <Interval> 10e-3</Interval> <Body name="SUNY_2DOF_Arm_Model" /> <CoordinateNames all="true"> arm_flex elbow_flex </CoordinateNames> <PntOutput name="SUNY_arm_2DOFs_horizon_static_coordinate_status.pnt" /> <PortSend1>32000</PortSend1> </CoordinateOutputEventHandler> </EventHandlers> </System> <Dynamics> <PntOutput name="SUNY_arm_2DOFs_horizon_static_state.pnt" /> <TimeStep> 1.0e-4 </TimeStep> <TimeStepper> <SynTimeStepper /> </TimeStepper> <Integrator> <EulerIntegrator /> <LSODAIntegrator2 max_substeps="500" /> <RungeKuttaImplicitIntegrator /> </Integrator> </Dynamics> <EndTime>10.0</EndTime> </Simulation>