User Tools

Site Tools


visual3d:tutorials:real_time:biofeedback:vicon_nexus

This is an old revision of the document!


1. calibrating the capture volume nexus using the software's standard protocol.\\ \\ 2. create a subject either using a predefined template in nexus or creating your own. (image on right) | nexus_subject.png| |3. collect a static trial.\\ \\ 4. from data managent, load the static trial and label the marker trajectories.(image on right) | nexus_marker_labelling.png| |5. run the 'calculate autolabel trial parameters' from the pipeline menu (image on right). this allows nexus to label markers in "live" mode. | nexus_autolabel.png| |6. go back to "live" mode, with the subject in the capture volume to test that nexus correctly autolabels markers in real-time.\\ \\ 7. before launching real-time streaming in visual3d, take note of the system file currently selected. (image on right) | nexus_system.png| ===== step 2 - apply model template in visual3d ===== **to create the segments in visual3d, you must first load a static trial into visual3d and apply a model template (.mdh).\\ ** **to load the static trial, you can either:**\\ option 1 - load the static trial you collected in nexus during step 1\\ option 2 - you can collect a static trial in visual3d.\\ \\ **i recommend using the static trial collected in nexus (option 1).**\\ \\ **option 1 -**\\ \\ |**1.** go to the **models tab** of visual3d\\ **2.** go to **model -> create (add static calibration file) -> hybrid model from c3dfile** and browse to the c3d file which was collected in nexus.\\ **3.** go to **model -> apply model template** and browse to your model template (.mdh)\\ | \\ **option 2 -**\\ \\ 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//.\\ | create_model_rt.png| |2. define the name of the model:\\ | model_name_rt.png| |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.\\ | model_snapshot_rt.png| |**4.** go to **model -> apply model template** and browse to your model template (.mdh)\\ | ===== step 3 - visual3d real-time set up ===== 1. launch v3d (v3d main screen)\\ \\ 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:\programdata\vicon\nexus\configurations\systems\\ rt_dialog_vicon.png\\ \\ streaming data from nexus is continuous. **note:** streaming status in lower left **it is very important that nexus automatic labelling works properly in "live" mode and identifies markers correctly. if the markers aren't correctly identified in nexus, visual3d can not process any realtime data.** after streaming for a long period of time, the labeling in nexus may start to fail. in nexus, clicking ctrl+r may improve the labeling. ===== step 4 - compute model based item: rt pipeline ===== **the rt pipeline is available only in visual3d professional** 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. <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 5 - 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> \\ your result should show a real-time stream that looks like the picture below final_graph_rt.png\\ remember to save the graph and rt pipeline }}}}}}}}}}}}}}}}}}}}}}}}}}

visual3d/tutorials/real_time/biofeedback/vicon_nexus.1718804387.txt.gz · Last modified: 2024/06/19 13:39 by sgranger