visual3d:documentation:pipeline:meta_commands:zeni_metacommand
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:meta_commands:zeni_metacommand [2024/06/19 12:51] – sgranger | visual3d: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: | + | ====== Zeni MetaCommand ====== |
- | this meta-command creates kinematic gait events using [[visual3d:documentation:pipeline:event_commands:example_-_gait_events_using_kinematic_data# | + | 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/ | + | This Meta-Command creates kinematic gait events using [[Visual3D:Documentation: |
- | ===== calling the meta-command ===== | + | This Meta-Command can be [[https:// |
- | once the meta-command | + | ==== Calling |
+ | |||
+ | Once the Meta-Command | ||
< | < | ||
- | kinematic_events_foot_position | + | Kinematic_Events_Foot_Position |
- | ! /heelstrike_label=hs | + | ! /HEELSTRIKE_LABEL=HS |
- | ! /toeoff_label=to | + | ! /TOEOFF_LABEL=TO |
; | ; | ||
</ | </ | ||
- | ===== meta-command ===== | + | ==== Meta-Command |
< | < | ||
- | ! begin_meta | + | ! BEGIN_META |
- | ! meta_cmd_name=kinematic_gait_events | + | ! META_CMD_NAME=Kinematic_Gait_Events |
- | ! meta_param= heelstrike_label | + | ! META_PARAM= HEELSTRIKE_LABEL |
- | ! meta_param= toeoff_label | + | ! META_PARAM= TOEOFF_LABEL |
- | ! 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= |
; | ; | ||
! ---------------------------------------------------------------------------- | ! ---------------------------------------------------------------------------- | ||
- | ! | + | ! |
! ---------------------------------------------------------------------------- | ! ---------------------------------------------------------------------------- | ||
- | ! 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 |
; | ; | ||
! ---------------------------------------------------------------------------- | ! ---------------------------------------------------------------------------- | ||
- | ! | + | ! |
- | ! - heel strike: when the foot is furthest in front of the pelvis | + | ! - Heel Strike: When the foot is furthest in front of the pelvis |
- | ! - toe off: when the foot is furthest behind the pelvis | + | ! - Toe Off: When 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= |
; | ; | ||
</ | </ |
visual3d/documentation/pipeline/meta_commands/zeni_metacommand.1718801472.txt.gz · Last modified: 2024/06/19 12:51 by sgranger