User Tools

Site Tools


visual3d:documentation:partners:opensim:virtual_lab_for_opensim

This is an old revision of the document!



appendix (creating the v3d_lab)

for example if a lab was set up such that the person walked in the –x direction, +z was vertical, and +y was to the subjects left. (see appendix for an example of visual3d mdh script could be used to create a compatible virtual lab.


! ! segment v3d_lab ! hybrid_segment ! /calibration_file= /type=visual_3d /name=v3d_lab /reference_object=medial distal+lateral distal+medial proximal+lateral proximal+proximal joint+distal joint+additional object+additional plane+distal radius+proximal radius /reference_object_names=v3d_lab_med_distal+v3d_lab_lat_distal+v3d_lab_med_prox+v3d_lab_lat_prox++++medial+v3d_lab_distal_radius+v3d_lab_proximal_radius /reference_object_types=landmark+landmark+landmark+landmark+++++metric+metric /use_cal_targets_for_tracking=false /tracking_types=landmark+landmark+landmark+landmark /tracking_names=v3d_lab_lat_prox+v3d_lab_med_prox+v3d_lab_lat_distal+v3d_lab_med_distal ! /use_optimal_tracking=true /kinematic_only=true ! /static_model=false /graphics_rot_x=0 /graphics_rot_y=0 /graphics_rot_z=0 /graphics_scale_x=1 /graphics_scale_y=1 /graphics_scale_z=1 /graphics_translate_x=0 /graphics_translate_y=0 /graphics_translate_z=0 ! /graphics_unit_scale=1.000000 /mass=0.000000 ! /geometry= /prox_to_cg_axial=0.5*v3d_lab_seg_length /prox_to_cg_ml=0*v3d_lab_seg_length /prox_to_cg_ap=0*v3d_lab_seg_length /ixx=0 /iyy=0 /izz=0 ! /ap_direction= ! /axial_direction= ! /objfile= ! /colfile= ! /depth= ; ! landmarks add_landmark /landmark_name=v3d_lab_lat_prox ! /calibration_file= ! /user_generated=true ! /use_percentage=false ! /calibration_only=false ! /use_targets=false /segment_name=lab ! /target_types= ! /target_names= ! /mcsx=0.0 /mcsy=0.001 ! /mcsz=0.0 ! /landmark_location= ! /reference_location_name= ! /reference_location_type= ! /use_reference_location=false ; add_landmark /landmark_name=v3d_lab_med_prox ! /calibration_file= ! /user_generated=true ! /use_percentage=false ! /calibration_only=false ! /use_targets=false /segment_name=lab ! /target_types= ! /target_names= ! /mcsx=0.0 /mcsy=-0.001 ! /mcsz=0.0 ! /landmark_location= ! /reference_location_name= ! /reference_location_type= ! /use_reference_location=false ; add_landmark /landmark_name=v3d_lab_lat_distal ! /calibration_file= ! /user_generated=true ! /use_percentage=false ! /calibration_only=false ! /use_targets=false /segment_name=lab ! /target_types= ! /target_names= ! /mcsx=0.0 /mcsy=0.001 /mcsz=-0.001 ! /landmark_location= ! /reference_location_name= ! /reference_location_type= ! /use_reference_location=false ; add_landmark /landmark_name=v3d_lab_med_distal ! /calibration_file= ! /user_generated=true ! /use_percentage=false ! /calibration_only=false ! /use_targets=false /segment_name=lab ! /target_types= ! /target_names= ! /mcsx=0.0 /mcsy=-0.001 /mcsz=-0.001 ! /landmark_location= ! /reference_location_name= ! /reference_location_type= ! /use_reference_location=false ;

visual3d/documentation/partners/opensim/virtual_lab_for_opensim.1718801366.txt.gz · Last modified: 2024/06/19 12:49 by sgranger