User Tools

Site Tools


visual3d:documentation:pipeline:meta_commands:zeni_metacommand

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual3d:documentation:pipeline:meta_commands:zeni_metacommand [2024/06/19 12:51] sgrangervisual3d:documentation:pipeline:meta_commands:zeni_metacommand [2024/10/09 18:31] (current) wikisysop
Line 1: Line 1:
-the script below is an example of a [[visual3d:documentation:pipeline:meta_commands:meta_commands_overview|meta-command]]. the script below would be saved as a v3m file and placed in the meta-command folder.+====== Zeni MetaCommand ======
  
-this meta-command creates kinematic gait events using [[visual3d:documentation:pipeline:event_commands:example_-_gait_events_using_kinematic_data#method_1:_zeni_paper|the method described here]].+The script below is an example of a [[Visual3D:Documentation:Pipeline:Meta_Commands:Meta_Commands_Overview|Meta-Command]]. The script below would be saved as a v3m file and placed in the Meta-Command folder.
  
-this meta-command can be [[http://c-motion.com/download/examples/events/kinematic_gait_events.zip|downloaded here]].+This Meta-Command creates kinematic gait events using [[Visual3D:Documentation:Pipeline:Event_Commands:Example_-_Gait_Events_using_Kinematic_Data#Method_1:_Zeni_Paper|the method described here]].
  
-===== calling the meta-command =====+This Meta-Command can be [[https://has-motion.com/download/examples/Events/Kinematic_Gait_Events.zip|downloaded here]].
  
-once the meta-command (v3m file) has been placed in the meta-command folder, it can be called from any other pipeline file:+==== Calling the Meta-Command ==== 
 + 
 +Once the Meta-Command (v3m file) has been placed in the Meta-Command folder, it can be called from any other pipeline file:
  
 <code> <code>
-kinematic_events_foot_position +Kinematic_Events_Foot_Position 
-! /heelstrike_label=hs +! /HEELSTRIKE_LABEL=HS 
-! /toeoff_label=to+! /TOEOFF_LABEL=TO
 ; ;
 </code> </code>
  
-===== meta-command =====+==== Meta-Command ====
  
 <code> <code>
-begin_meta +BEGIN_META 
-meta_cmd_name=kinematic_gait_events +META_CMD_NAME=Kinematic_Gait_Events 
-meta_paramheelstrike_label  : string :hs:yes +META_PARAMHEELSTRIKE_LABEL  : string :HS:yes 
-meta_paramtoeoff_label  : string :to:yes +META_PARAMTOEOFF_LABEL  : string :TO:yes 
-end_meta+END_META
  
 ! ============================================================================ ! ============================================================================
-kinematic gait events+Kinematic Gait Events
 ! ============================================================================ ! ============================================================================
    
-this step is not necessary, but important to make sure that +This step is not necessary, but important to make sure that 
 !   any events that were previously created are deleted !   any events that were previously created are deleted
  
-event_delete +Event_Delete 
-/event_name=r&::heelstrike_label&+r&::toeoff_label&+l&::heelstrike_label&+l&::toeoff_label+/EVENT_NAME=R&::HEELSTRIKE_LABEL&+R&::TOEOFF_LABEL&+L&::HEELSTRIKE_LABEL&+L&::TOEOFF_LABEL
-! /event_sequence+! /EVENT_SEQUENCE
-! /exclude_events+! /EXCLUDE_EVENTS
-! /event_instance+! /EVENT_INSTANCE
-! /time=+! /TIME=
 ; ;
    
 ! ---------------------------------------------------------------------------- ! ----------------------------------------------------------------------------
-!  transform the position of the foot into the pelvis coordinate system+!  Transform the position of the foot into the Pelvis Coordinate System
 ! ---------------------------------------------------------------------------- ! ----------------------------------------------------------------------------
  
-right foot+Right Foot
  
-compute_model_based_data +Compute_Model_Based_Data 
-/result_name=rtoe_wrt_pelvis +/RESULT_NAME=RToe_Wrt_Pelvis 
-/function=seg_distal_joint +/FUNCTION=SEG_DISTAL_JOINT 
-/segment=rft +/SEGMENT=RFT 
-/reference_segment=rpv +/REFERENCE_SEGMENT=RPV 
-/resolution_coordinate_system=rpv +/RESOLUTION_COORDINATE_SYSTEM=RPV 
-! /use_cardan_sequence=false +! /USE_CARDAN_SEQUENCE=FALSE 
-! /normalization=false +! /NORMALIZATION=FALSE 
-! /normalization_method+! /NORMALIZATION_METHOD
-! /normalization_metric+! /NORMALIZATION_METRIC
-! /negatex=false +! /NEGATEX=FALSE 
-! /negatey=false +! /NEGATEY=FALSE 
-! /negatez=false +! /NEGATEZ=FALSE 
-! /axis1=x +! /AXIS1=X 
-! /axis2=y +! /AXIS2=Y 
-! /axis3=z +! /AXIS3=Z 
-! /treadmill_data=false +! /TREADMILL_DATA=FALSE 
-! /treadmill_direction=unit_vector(0,1,0) +! /TREADMILL_DIRECTION=UNIT_VECTOR(0,1,0) 
-! /treadmill_speed=0.0+! /TREADMILL_SPEED=0.0
 ; ;
  
-compute_model_based_data +Compute_Model_Based_Data 
-/result_name=rheel_wrt_pelvis +/RESULT_NAME=RHeel_Wrt_Pelvis 
-/function=seg_proximal_joint +/FUNCTION=SEG_PROXIMAL_JOINT 
-/segment=rft +/SEGMENT=RFT 
-/reference_segment=rpv +/REFERENCE_SEGMENT=RPV 
-/resolution_coordinate_system=rpv +/RESOLUTION_COORDINATE_SYSTEM=RPV 
-! /use_cardan_sequence=false +! /USE_CARDAN_SEQUENCE=FALSE 
-! /normalization=false +! /NORMALIZATION=FALSE 
-! /normalization_method+! /NORMALIZATION_METHOD
-! /normalization_metric+! /NORMALIZATION_METRIC
-! /negatex=false +! /NEGATEX=FALSE 
-! /negatey=false +! /NEGATEY=FALSE 
-! /negatez=false +! /NEGATEZ=FALSE 
-! /axis1=x +! /AXIS1=X 
-! /axis2=y +! /AXIS2=Y 
-! /axis3=z +! /AXIS3=Z 
-! /treadmill_data=false +! /TREADMILL_DATA=FALSE 
-! /treadmill_direction=unit_vector(0,1,0) +! /TREADMILL_DIRECTION=UNIT_VECTOR(0,1,0) 
-! /treadmill_speed=0.0+! /TREADMILL_SPEED=0.0
 ; ;
  
-left foot+Left Foot
  
-compute_model_based_data +Compute_Model_Based_Data 
-/result_name=ltoe_wrt_pelvis +/RESULT_NAME=LToe_Wrt_Pelvis 
-/function=seg_distal_joint +/FUNCTION=SEG_DISTAL_JOINT 
-/segment=lft +/SEGMENT=LFT 
-/reference_segment=rpv +/REFERENCE_SEGMENT=RPV 
-/resolution_coordinate_system=rpv +/RESOLUTION_COORDINATE_SYSTEM=RPV 
-! /use_cardan_sequence=false +! /USE_CARDAN_SEQUENCE=FALSE 
-! /normalization=false +! /NORMALIZATION=FALSE 
-! /normalization_method+! /NORMALIZATION_METHOD
-! /normalization_metric+! /NORMALIZATION_METRIC
-! /negatex=false +! /NEGATEX=FALSE 
-! /negatey=false +! /NEGATEY=FALSE 
-! /negatez=false +! /NEGATEZ=FALSE 
-! /axis1=x +! /AXIS1=X 
-! /axis2=y +! /AXIS2=Y 
-! /axis3=z +! /AXIS3=Z 
-! /treadmill_data=false +! /TREADMILL_DATA=FALSE 
-! /treadmill_direction=unit_vector(0,1,0) +! /TREADMILL_DIRECTION=UNIT_VECTOR(0,1,0) 
-! /treadmill_speed=0.0+! /TREADMILL_SPEED=0.0
 ; ;
  
-compute_model_based_data +Compute_Model_Based_Data 
-/result_name=lheel_wrt_pelvis +/RESULT_NAME=LHeel_Wrt_Pelvis 
-/function=seg_proximal_joint +/FUNCTION=SEG_PROXIMAL_JOINT 
-/segment=lft +/SEGMENT=LFT 
-/reference_segment=rpv +/REFERENCE_SEGMENT=RPV 
-/resolution_coordinate_system=rpv +/RESOLUTION_COORDINATE_SYSTEM=RPV 
-! /use_cardan_sequence=false +! /USE_CARDAN_SEQUENCE=FALSE 
-! /normalization=false +! /NORMALIZATION=FALSE 
-! /normalization_method+! /NORMALIZATION_METHOD
-! /normalization_metric+! /NORMALIZATION_METRIC
-! /negatex=false +! /NEGATEX=FALSE 
-! /negatey=false +! /NEGATEY=FALSE 
-! /negatez=false +! /NEGATEZ=FALSE 
-! /axis1=x +! /AXIS1=X 
-! /axis2=y +! /AXIS2=Y 
-! /axis3=z +! /AXIS3=Z 
-! /treadmill_data=false +! /TREADMILL_DATA=FALSE 
-! /treadmill_direction=unit_vector(0,1,0) +! /TREADMILL_DIRECTION=UNIT_VECTOR(0,1,0) 
-! /treadmill_speed=0.0+! /TREADMILL_SPEED=0.0
 ; ;
  
 ! ---------------------------------------------------------------------------- ! ----------------------------------------------------------------------------
-!  create events +!  Create Events 
-!  - heel strikewhen the foot is furthest in front of the pelvis +!  - Heel StrikeWhen the foot is furthest in front of the pelvis 
-!  - toe offwhen the foot is furthest behind the pelvis+!  - Toe OffWhen the foot is furthest behind the pelvis
 ! ---------------------------------------------------------------------------- ! ----------------------------------------------------------------------------
    
-event_maximum +Event_Maximum 
-/signal_types=link_model_based +/SIGNAL_TYPES=LINK_MODEL_BASED 
-/signal_names=rheel_wrt_pelvis +/SIGNAL_NAMES=RHEEL_WRT_PELVIS 
-! /signal_folder=original +! /SIGNAL_FOLDER=ORIGINAL 
-/event_name=r&::heelstrike_label+/EVENT_NAME=R&::HEELSTRIKE_LABEL
-! /select_x=false +! /SELECT_X=FALSE 
-/select_y=true +/SELECT_Y=TRUE 
-! /select_z=false +! /SELECT_Z=FALSE 
-! /frame_window=8 +! /FRAME_WINDOW=8 
-! /start_at_event+! /START_AT_EVENT
-! /end_at_event+! /END_AT_EVENT
-! /event_instance=+! /EVENT_INSTANCE=
 ; ;
  
-event_minimum +Event_Minimum 
-/signal_types=link_model_based +/SIGNAL_TYPES=LINK_MODEL_BASED 
-/signal_names=rtoe_wrt_pelvis +/SIGNAL_NAMES=RTOE_WRT_PELVIS 
-! /signal_folder=original +! /SIGNAL_FOLDER=ORIGINAL 
-/event_name=r&::toeoff_label+/EVENT_NAME=R&::TOEOFF_LABEL
-! /select_x=false +! /SELECT_X=FALSE 
-/select_y=true +/SELECT_Y=TRUE 
-! /select_z=false +! /SELECT_Z=FALSE 
-! /frame_window=8 +! /FRAME_WINDOW=8 
-! /start_at_event+! /START_AT_EVENT
-! /end_at_event+! /END_AT_EVENT
-! /event_instance=+! /EVENT_INSTANCE=
  
  
-event_maximum +Event_Maximum 
-/signal_types=link_model_based +/SIGNAL_TYPES=LINK_MODEL_BASED 
-/signal_names=lheel_wrt_pelvis +/SIGNAL_NAMES=LHEEL_WRT_PELVIS 
-! /signal_folder=original +! /SIGNAL_FOLDER=ORIGINAL 
-/event_name=l&::heelstrike_label+/EVENT_NAME=L&::HEELSTRIKE_LABEL
-! /select_x=false +! /SELECT_X=FALSE 
-/select_y=true +/SELECT_Y=TRUE 
-! /select_z=false +! /SELECT_Z=FALSE 
-! /frame_window=8 +! /FRAME_WINDOW=8 
-! /start_at_event+! /START_AT_EVENT
-! /end_at_event+! /END_AT_EVENT
-! /event_instance=+! /EVENT_INSTANCE=
 ; ;
  
-event_minimum +Event_Minimum 
-/signal_types=link_model_based +/SIGNAL_TYPES=LINK_MODEL_BASED 
-/signal_names=ltoe_wrt_pelvis +/SIGNAL_NAMES=LTOE_WRT_PELVIS 
-! /signal_folder=original +! /SIGNAL_FOLDER=ORIGINAL 
-/event_name=l&::toeoff_label+/EVENT_NAME=L&::TOEOFF_LABEL
-! /select_x=false +! /SELECT_X=FALSE 
-/select_y=true +/SELECT_Y=TRUE 
-! /select_z=false +! /SELECT_Z=FALSE 
-! /frame_window=8 +! /FRAME_WINDOW=8 
-! /start_at_event+! /START_AT_EVENT
-! /end_at_event+! /END_AT_EVENT
-! /event_instance=+! /EVENT_INSTANCE=
 ; ;
 </code> </code>
visual3d/documentation/pipeline/meta_commands/zeni_metacommand.1718801472.txt.gz · Last modified: 2024/06/19 12:51 by sgranger