This guide explains the HSL scripting that is available with Shogun, introduces you to the script interface components, and teaches you the basic structure and tools you need to use scripts and to tailor them to your requirements.
Before you create scripts, ensure that you feel comfortable using Shogun Live and Post to capture, edit, and export data.
Note the following points:
Most HSL scripts are created using the Shogun Post Script Editor.
The easiest way to create an HSL script is to open the Script Editor (see Open the Script Editor), click Record Actions , then perform one or more actions in Shogun. When you are done you can click Record Actions again to stop recording. When the steps are recorded, you can execute them by clicking Run Script
, or customize them to create a more full-featured script.
Sometimes you want to create scripts that prompts the user for information. You can do this in the following ways:
Tip Remember that Shogun Post comes with example HSL scripts that you can use to modify and manipulate motion capture data. You can find these sample scripts in the C:\Program Files\Vicon\ShogunPost#.#\Scripts folder. Sometimes the easiest way to create a script is simply to duplicate and modify one of the existing scripts. |
Now that you understand these fundamentals, you can begin creating, using, and allowing others to use your scripts.
About Vicon Shogun documentationThe following documentation is available with Shogun, both as help pages available online and as PDFs that you can download from help.vicon.com:
For more documentation related to Shogun and other Vicon documents, visit help.vicon.com. |