visual3d:tutorials:real_time:biofeedback:vicon_nexus
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:tutorials:real_time:biofeedback:vicon_nexus [2024/07/16 19:34] – created sgranger | visual3d:tutorials:real_time:biofeedback:vicon_nexus [2025/09/23 18:57] (current) – [Step 5 - Create Graph] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
==== Overview ==== | ==== Overview ==== | ||
- | This tutorial shows is step-by-step guide to stream | + | [[https:// |
- | Nexus streams out the data it receives as it processes them. Visual3D | + | Capturing a static trial in Visual3D is ideal when preparing for real-time digitizing or defining functional joints. Visual3D |
- | Capturing data in Visual3D | + | Before streaming, ensure that Nexus is running with a calibrated subject and a completed |
- | * RT Biofeedback is available only in Visual3D | + | This tutorial provides a step-by-step guide to streaming real-time data from Vicon Nexus to Visual3D, allowing users to take full advantage of Visual3D’s real-time processing and biofeedback features. |
==== Step 1 - Subject Calibration in Nexus ==== | ==== Step 1 - Subject Calibration in Nexus ==== | ||
Line 15: | Line 15: | ||
**Before streaming in real time, Nexus must be running and the subject calibration trial must be labeled. This allows Nexus to label markers in " | **Before streaming in real time, Nexus must be running and the subject calibration trial must be labeled. This allows Nexus to label markers in " | ||
- | |1. Calibrating the capture volume Nexus using the software' | + | |1. Calibrating the capture volume Nexus using the software' |
- | |3. Collect a static trial.\\ \\ 4. From data managent, load the static trial and label the marker trajectories.(image on right) | + | |3. Collect a static trial.\\ \\ 4. From data managent, load the static trial and label the marker trajectories.(image on right) |
- | |5. Run the ' | + | |5. Run the ' |
- | |6. Go back to " | + | |6. Go back to " |
==== Step 2 - Apply Model Template in Visual3D ==== | ==== Step 2 - Apply Model Template in Visual3D ==== | ||
Line 32: | Line 32: | ||
OPTION 2 - You can collect a static trial in Visual3D.\\ | OPTION 2 - You can collect a static trial in Visual3D.\\ | ||
\\ | \\ | ||
- | **I recommend using the static trial collected in Nexus (Option 1).**\\ | + | **Its recommended to use the static trial collected in Nexus (Option 1).**\\ |
\\ | \\ | ||
**OPTION 1 -**\\ | **OPTION 1 -**\\ | ||
Line 45: | Line 45: | ||
Collect a short static trial using the following process: | Collect a short static trial using the following process: | ||
- | |1. From the **Model** menu, select //Create (Add Static Calibration File)//, then //Hybrid Model from RealTime Streaming// | + | |1. From the **Model** menu, select //Create (Add Static Calibration File)//, then //Hybrid Model from RealTime Streaming// |
- | |2. Define the name of the model: | + | |2. Define the name of the model: |
- | |3. Select the correct real-time system from the drop down menu and click start streaming.\\ \\ \\ When prompted, specify your sampling frequency\\ \\ When prompted, specify the IP address as the local host, 127.0.0.1 and port as 801\\ \\ 4. While the subject is standing still, collect a static trial by either clicking **Create Snapshot (Static Trial)** to save the static trial in the workspace or **Save Static File to Disk** to save the static trial as a C3D file.\\ \\ Please note that closing the //Real Time Model Building// dialog box will stop the real time streaming and remove the markers from the 3D viewer. After closing this dialog, if the static trial does not appear in the 3D viewer, switch to the Workspace tab and back to the Models tab.\\ | + | |3. Select the correct real-time system from the drop down menu and click start streaming.\\ \\ \\ When prompted, specify your sampling frequency\\ \\ When prompted, specify the IP address as the local host, 127.0.0.1 and port as 801\\ \\ 4. While the subject is standing still, collect a static trial by either clicking **Create Snapshot (Static Trial)** to save the static trial in the workspace or **Save Static File to Disk** to save the static trial as a C3D file.\\ \\ Please note that closing the //Real Time Model Building// dialog box will stop the real time streaming and remove the markers from the 3D viewer. After closing this dialog, if the static trial does not appear in the 3D viewer, switch to the Workspace tab and back to the Models tab.\\ |
|**4.** Go to **Model -> Apply Model Template** and browse to your model template (.mdh)\\ | |**4.** Go to **Model -> Apply Model Template** and browse to your model template (.mdh)\\ | ||
==== Step 3 - Visual3D Real-Time Set Up ==== | ==== Step 3 - Visual3D Real-Time Set Up ==== | ||
+ | |1. Launch V3D (V3D main screen).|{{: | ||
- | 1. Launch V3D (V3D main screen)\\ | + | |2. Select the Real-time capture TAB|\\ |
- | \\ | + | |3. a) In the dialog box you should see your plug in %%__%%%%__%%%%__%%.dlls Click Vicon_Nexus_RT.|{{:RT_V3D_Vicon.png?650}}|\\ |
- | {{V3D_main_screen.jpg}}\\ | + | |
- | + | ||
- | + | ||
- | \\ | + | |
- | 2. Select the Real-time capture TAB\\ | + | |
- | + | ||
- | + | ||
- | 3. a) In the dialog box you should see your plug in %%__%%%%__%%%%__%%.dlls Click Vicon_Nexus_RT.\\ | + | |
- | + | ||
- | + | ||
- | \\ | + | |
- | {{RT_V3D_Vicon.png}}\\ | + | |
- | + | ||
- | + | ||
- | \\ | + | |
- | 3. b) A dialog box will appear to select your current Nexus System file. When using standard Nexus file structure, the system file should be located under: C: | + | |
- | + | ||
- | + | ||
- | {{RT_Dialog_Vicon.png}}\\ | + | |
+ | |3. b) A dialog box will appear to select your current Nexus System file. When using standard Nexus file structure, the system file should be located under: C: | ||
\\ | \\ | ||
Line 93: | Line 76: | ||
After having created or loaded a model, and established connection with the system back in the Real-Time tab, it is then possible to compute any model based item through the real-time pipeline. | After having created or loaded a model, and established connection with the system back in the Real-Time tab, it is then possible to compute any model based item through the real-time pipeline. | ||
- | < | + | -Open up: Model Based Data Computation under the **Real-Time Pipeline** |
- | < | + | -Double click, Compute_Model_Based_Data |
- | < | + | -Click **Edit** |
- | < | + | {{:RTPipeline_CMBD.jpg}}\\ |
- | {{RTPipeline_CMBD.jpg}}< | + | Change the corresponding: |
- | < | + | \\ |
+ | < | ||
**Data Name:** Ankle | **Data Name:** Ankle | ||
**Folder:** ORIGINAL | **Folder:** ORIGINAL | ||
**Model Based Item Properties: | **Model Based Item Properties: | ||
**Segment: | **Segment: | ||
- | **Reference Segment:** Right Shank\\ | + | **Reference Segment:** Right Shank |
+ | </ | ||
- | {{Capture_Model_Based_Data.jpg}}< | + | {{:Capture_Model_Based_Data.jpg}}\\ |
- | < | + | |
+ | Click **Done**\\ | ||
==== Step 5 - Create Graph ==== | ==== Step 5 - Create Graph ==== | ||
- | < | + | -Click **Add** in the **Real-Time Graphs** section, and enter the following: |
- | < | + | |
**Data to:** LINK_MODEL_BASED:: | **Data to:** LINK_MODEL_BASED:: | ||
- | {{GraphDef.jpg}}< | + | {{:GraphDef.jpg?650}}\\ |
- | < | + | |
- | \\ | ||
Your result should show a Real-Time stream that looks like the picture below | Your result should show a Real-Time stream that looks like the picture below | ||
- | {{Final_Graph_RT.png}}\\ | + | {{:Final_Graph_RT.png?650}}\\ |
Remember to save the Graph and RT Pipeline | Remember to save the Graph and RT Pipeline | ||
+ | **It is very important that Nexus automatic labeling works properly in " | ||
visual3d/tutorials/real_time/biofeedback/vicon_nexus.1721158474.txt.gz · Last modified: 2024/07/16 19:34 by sgranger