visual3d:documentation:pipeline:metric_commands:metric_golf_swing_plane
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:metric_commands:metric_golf_swing_plane [2024/07/12 14:04] – created sgranger | visual3d:documentation:pipeline:metric_commands:metric_golf_swing_plane [2025/08/11 16:34] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | The golf swing plane is defined as the best fit plane to a time series of points of a TARGET or LANDMARK, usually defined within an event sequence. | + | ===== Overview ===== |
- | The purpose of the event sequence is to allow the computation | + | The **Metric_Golf_Swing_Plane** command computes |
- | **Metric_Golf_Swing_Plane** | + | The underlying calculation uses Visual3D' |
+ | |||
+ | //ax + by + cz + d = 0, where (a, b, c) is the normal vector to the plane.// | ||
+ | |||
+ | In a standard Best Fit Plane calculation, | ||
+ | |||
+ | ===== Pipeline Command ===== | ||
+ | |||
+ | The command below is as seen in the Visual3D application. Parameters allow you to control various details of the command. | ||
+ | |||
+ | < | ||
+ | Metric_Golf_Swing_Plane | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ===== Command Parameters ===== | ||
+ | |||
+ | The following table shows the command parameters and descriptions: | ||
+ | |||
+ | |**Parameter**|**Description**| | ||
+ | |**/ | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**/ | ||
+ | |**!/ EVENT_SEQUENCE=**|Defines the start and end events for the swing segment to be analyzed (e.g., TAKEAWAY + BACK)| | ||
+ | |**! / | ||
+ | |||
+ | ===== Dialog ===== | ||
+ | |||
+ | This command can be edited in the text editor or in dialog form. To open the dialog, either click Edit in the Pipeline Workshop or double-click the command. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The dialog options are: | ||
+ | * **Result Name**: Name of the calculated swing plane metric. | ||
+ | * **Result Folder**: Destination folder for the result (default PROCESED). | ||
+ | * **Signal Type**: Choose TARGET or LANDMARK | ||
+ | * **Signal Folder**: Select the folder containing the signal. | ||
+ | * **Signal Name**: Specify the signal to analyze (e.g., CLUB) | ||
+ | * **Signal Component**: | ||
+ | * **Defined Events**: List of available events. | ||
+ | * **Event Sequence**: Defines the sequence from start to end events for the plane fitting. | ||
+ | * **Exclude Events**: Events to be excluded from the analysis. | ||
+ | |||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | The following examples will go through the use of the **Metric_Golf_Swing_Plane** | ||
+ | |||
+ | ==== Example 1: Swing Plane during Takeaway ==== | ||
+ | |||
+ | This example computes the stance plane using the club's motion between the TAKEAWAY and BACK events. | ||
+ | |||
+ | < | ||
+ | Metric_Golf_Swing_Plane | ||
/ | / | ||
- | SIGNAL_NAMES=CLUB | + | /SIGNAL_NAMES=CLUB |
/ | / | ||
/ | / | ||
- | / | ||
/ | / | ||
! / | ! / | ||
- | **;** | + | ; |
- | or a plane at the beginning of the backswing. | + | </ |
- | **Metric_Golf_Swing_Plane** | + | ==== Example 2: Swing Plane at the Start of the Downswing ==== |
+ | |||
+ | This example computes the swing plane using the club's motion between the TOP and DOWN events. | ||
+ | |||
+ | < | ||
+ | Metric_Golf_Swing_Plane | ||
/ | / | ||
/ | / | ||
Line 24: | Line 90: | ||
/ | / | ||
! / | ! / | ||
- | **;** | + | ; |
- | The dialog for this command is: | + | </ |
- | {{SwingPlaneDialog.jpg}} | + | ==== Workflow Extension Example: Displaying stance and swing planes ==== |
- | \\ | + | Once you have calculated |
- | To display | + | |
- | **Highlight_Golf_Features** | + | < |
+ | Highlight_Golf_Features | ||
! / | ! / | ||
! / | ! / | ||
- | CLUB_PATH=TARGET:: | + | /CLUB_PATH=TARGET:: |
- | ! /BALL_PATH=TARGET:: | + | ! /BALL_PATH+TARGET:: |
/ | / | ||
/ | / | ||
Line 44: | Line 110: | ||
/ | / | ||
/ | / | ||
- | **;** | + | ; |
- | {{GolfHighlightsDialog.jpg}} | + | </ |
+ | |||
+ | This is shown in dialog form below: | ||
+ | |||
+ | {{:GolfHighlightsDialog.jpg}} | ||
+ | |||
+ | Due to the dataset used for this example, it has been difficult to generalize a good view of the swing planes. An example image is shown here: | ||
+ | |||
+ | {{: | ||
- | \\ | ||
- | Given the dataset, it has been difficult to generalize a good view of the swing planes. One image is below. | ||
- | {{SwingPlaneImage.jpg}} | + | ---- |
+ | [[Visual3D: | ||
visual3d/documentation/pipeline/metric_commands/metric_golf_swing_plane.1720793086.txt.gz · Last modified: 2024/07/12 14:04 by sgranger