====== C3D ====== ===== Purpose ===== This tutorial shows you how to generate real time feedback from the Visual3D RealTime Tab when streaming a C3D file through Visual3D. The pictures and example in this tutorial are specific to graphing Left Ankle Angles. However, the same principles can be applied to any Link Model Based items. ===== Steps ===== ==== Preparing for the Tutorial ==== - Download the file //[[https://www.has-motion.com/download/RTtutorials/Qualysis/model.zip|model.zip]]// - Save the file where you would normally save motion capture files. These sample Qualysis files were downloaded from [[https://www.c3d.org/sampledata.html|C3D.org]] ==== Step 1 - Open CMO File ==== |1. From the File menu, select **Open/Add...**, Choose //model.cmo//\\ \\ \\ 2. From the workspace status screen, verify the model file named Standing_Hybrid_2.c3d appears in the column labeled Models/Calibration Files. | {{:LoadRTModel.jpg}}| |3. Switch to the **Models** tab to verify bones in picture\\ | {{:RTVerifyBones.jpg}}| \\ ==== Step 2 - Connect to RT stream/Load Emulation ==== **1.** Open the //Real-Time// tab\\ \\ |**2.a.** To connect to the C3D stream using the Builtin RT plugin: (more....) | ||Click **C3DFile_RT** (used to emulate a camera system)\\ \\ \\ \\ \\ Browse to the dynamic C3D file (Walking_Hybrid_2.c3d)\\ \\ \\ \\ \\ **NOTE:** Before using the real time stream users should test using C3D files collected in their lab | {{:RTEmulateCamera.jpg}}\\ || |**2.b.** To connect to the C3D stream using the External RT plugin: (more....) | ||\\ \\ \\ For instructions on how to run biofeedback through Visual3D server see the [[https://www.c-motion.com/v3dwiki/index.php/Visual3DServer_Tutorials_Biofeedback_V3DRealtime|Visual3D Server Tutorial]]. | {{:V3DRealTime_Tutorial_Step4_ConnectToServer.png}}\\ || \\ **3.** The data is automatically applied to the model\\ **Note:** Streaming status in lower left ==== Step 3 - Compute model based item: RT pipeline ====
  1. Open up //Model Based Data Computation// under the **Real-Time Pipeline**
  2. Double click //Compute_Model_Based_Data//
  3. Click **Edit**\\ {{:RTPipeline_CMBD.jpg}}
  4. Change the corresponding:\\ **Data Name:** Ankle **Folder:** ORIGINAL **Model Based Item Properties:** JOINT_ANGLE **Segment:** Right Foot **Reference Segment:** Right Shank\\ {{:Capture_Model_Based_Data.jpg}}
  5. Click **Done**
==== Step 4 - Create Graph ====
  1. Click **Add** in the **Real-Time Graphs** section, and enter the following:\\ **Data to:** LINK_MODEL_BASED::ORIGINAL::Ankle\\ {{:GraphDef.jpg}}
  2. Click **OK**
==== Complete ==== Your result should show a Real-Time stream that looks like the picture below {{:Final.jpg}}\\ Remember to save the Graph and RT Pipeline