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 13:37] – removed sgranger | visual3d:documentation:pipeline:meta_commands:zeni_metacommand [2024/10/09 18:31] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Zeni MetaCommand ====== | ||
+ | |||
+ | The script below is an example of a [[Visual3D: | ||
+ | |||
+ | This Meta-Command creates kinematic gait events using [[Visual3D: | ||
+ | |||
+ | This Meta-Command can be [[https:// | ||
+ | |||
+ | ==== 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: | ||
+ | |||
+ | < | ||
+ | Kinematic_Events_Foot_Position | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Meta-Command ==== | ||
+ | |||
+ | < | ||
+ | ! BEGIN_META | ||
+ | ! META_CMD_NAME=Kinematic_Gait_Events | ||
+ | ! META_PARAM= HEELSTRIKE_LABEL : string :HS:yes | ||
+ | ! META_PARAM= TOEOFF_LABEL : string :TO:yes | ||
+ | ! END_META | ||
+ | |||
+ | ! ============================================================================ | ||
+ | ! Kinematic Gait Events | ||
+ | ! ============================================================================ | ||
+ | |||
+ | ! This step is not necessary, but important to make sure that | ||
+ | ! any events that were previously created are deleted | ||
+ | |||
+ | Event_Delete | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /TIME= | ||
+ | ; | ||
+ | |||
+ | ! ---------------------------------------------------------------------------- | ||
+ | ! Transform the position of the foot into the Pelvis Coordinate System | ||
+ | ! ---------------------------------------------------------------------------- | ||
+ | |||
+ | ! Right Foot | ||
+ | |||
+ | Compute_Model_Based_Data | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /AXIS1=X | ||
+ | ! /AXIS2=Y | ||
+ | ! /AXIS3=Z | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Compute_Model_Based_Data | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /AXIS1=X | ||
+ | ! /AXIS2=Y | ||
+ | ! /AXIS3=Z | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | ! Left Foot | ||
+ | |||
+ | Compute_Model_Based_Data | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /AXIS1=X | ||
+ | ! /AXIS2=Y | ||
+ | ! /AXIS3=Z | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Compute_Model_Based_Data | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /AXIS1=X | ||
+ | ! /AXIS2=Y | ||
+ | ! /AXIS3=Z | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | ! ---------------------------------------------------------------------------- | ||
+ | ! Create Events | ||
+ | ! - Heel Strike: When the foot is furthest in front of the pelvis | ||
+ | ! - Toe Off: When the foot is furthest behind the pelvis | ||
+ | ! ---------------------------------------------------------------------------- | ||
+ | |||
+ | Event_Maximum | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Event_Minimum | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Event_Maximum | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Event_Minimum | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | |||
visual3d/documentation/pipeline/meta_commands/zeni_metacommand.1718804259.txt.gz · Last modified: 2024/06/19 13:37 by sgranger