User Tools

Site Tools


visual3d:tutorials:real_time:biofeedback:c3d

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual3d:tutorials:real_time:biofeedback:c3d [2024/06/19 12:55] sgrangervisual3d:tutorials:real_time:biofeedback:c3d [2025/08/14 15:21] (current) sgranger
Line 1: Line 1:
-{{{{{{{{{{{{{{{{====== purpose ======+====== C3D ======
  
-this tutorial shows you how to generate real time feedback from the visual3d realtime tab when streaming a c3d file through visual3dthe pictures and example in this tutorial are specific to graphing left ankle angleshowever, the same principles can be applied to any link model based items.+===== Purpose ===== 
 +This tutorial shows you how to generate real time feedback from the Visual3D RealTime Tab when streaming a C3D file through Visual3DThe pictures and example in this tutorial are specific to graphing Left Ankle AnglesHowever, the same principles can be applied to any Link Model Based items.
  
-====== steps ======+===== Steps =====
  
-===== preparing for the tutorial =====+==== 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.
  
-  - download the file //[[https://www.has-motion.com/download/rttutorials/qualysis/model.zip|model.zip]]// +These sample Qualysis files were downloaded from [[https://www.c3d.org/sampledata.html|C3D.org]]
-  - 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 ==== 
 +  - From the File menul, select **Open/Add...**, choose //model.cmo// 
 +  - From the workspace status screen, verify the model file named Standing_Hybrid_2.c3d appears in the column labeled Models/Calibration Files. \\ {{:LoadRTModel.jpg?500}} 
 +  - Switch to the **Models** tab to verify bones in picture \\ {{:RTVerifyBones.jpg?500}}
  
-===== step 1 open cmo file =====+==== Step 2 Connect to RT stream/Load Emulation ==== 
 +  - Open the //Real-Time// tab  
 +  - Connect to the C3D stream using either: 
 +    - the Built in RT plugin Click **C3DFile_RT** (used to emulate a camera system), Browse 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}} 
 +    - the External RT plugin, see the instructions on how to run biofeedback through Visual3D server: [[https://www.c-motion.com/v3dwiki/index.php/Visual3DServer_Tutorials_Biofeedback_V3DRealtime|Visual3D Server Tutorial]] \\ {{:V3DRealTime_Tutorial_Step4_ConnectToServer.png?500}} 
 +  - The data is automatically applied to the model  
 +**NOTE:** Streaming status is in the lower left
  
-|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|+==== Step 3 - Compute model based item: RT pipeline ==== 
 +  - Open up //Model Based Data Computation// under the **Real-Time Pipeline** 
 +  - Double click Compute_Model_Based_Data 
 +  - Click **Edit** \\ {{:RTPipeline_CMBD.jpg?500}} 
 +  - 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}} 
 +  - Click **Done**
  
-|3. switch to the **models** tab to verify bones in picture\\   |  rtverifybones.jpg|+==== Step 4 - Create Graph ==== 
 +  - Click **Add** in the **Real-Time Graphs** section, and enter the following: \\ **Data to:** LINK_MODEL_BASED::ORIGINAL::Ankle \\ {{:GraphDef.jpg?500}} 
 +  - Click **OK**
  
-\\+==== Complete ==== 
 +Your result should show a Real-Time stream that looks like the picture below:
  
 +{{:Final.jpg?600}} \\
  
-===== step 2 - connect to rt stream/load emulation =====+Remember to save the Graph and RT Pipeline
  
-**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 ===== 
- 
-<html><ol></html> 
-<html><li></html>open up //model based data computation// under the **real-time pipeline**<html></li></html> 
-<html><li></html>double click //compute_model_based_data//<html></li></html> 
-<html><li></html>click **edit**\\ 
-rtpipeline_cmbd.jpg<html></li></html> 
-<html><li></html>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<html></li></html> 
-<html><li></html>click **done**<html></li></html><html></ol></html> 
- 
-===== step 4 - create graph ===== 
- 
-<html><ol></html> 
-<html><li></html>click **add** in the **real-time graphs** section, and enter the following:\\ 
- 
-**data to:** link_model_based::original::ankle\\ 
- 
-graphdef.jpg<html></li></html> 
-<html><li></html>click **ok**<html></li></html><html></ol></html> 
- 
-===== 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 
- 
- 
-}}}}}}}}}}}}}}}} 
visual3d/tutorials/real_time/biofeedback/c3d.1718801704.txt.gz · Last modified: 2024/06/19 12:55 by sgranger