This plugin provides an access to Neuron MoCap data with an mc_rtc controller, the software Axis Neuron must be running on the same network as the controller
-
Build and install the project
-
Run using your mc_rtc interface of choice, add
mocap_plugin
to thePlugins
configuration entry or enable the autoload option
- Download Axis Neuron software :
wget https://files.neuronmocap.com/axis/Axis_Neuron_x64_3_8_42_8591_20180411034619617000_X64.zip
- Unzip:
unzip Axis_Neuron_x64_3_8_42_8591_20180411034619617000_X64.zip
- Install the msi file
wine msiexec.exe /i Axis_Neuron_x64_3_8_42_8591_20180411034619617000.msi
- Plug Axis Hub and see which USB it maps to (might change depending on how much usbs are currently connected)
ls -l /dev/serial/by-id | grep Silicon | cut -d ">" -f 2
This returns something like '../../ttyUSB0', which is indeed '/dev/ttyUSB0'
- Find which port it connects to in Wine
ls -l ~/.wine/dosdevices | grep /dev/ttyUSB0 | cut -d ">" -f 2
Shall return something (eg ~/.wine/dosdevices/com1
), otherwise see troubleshooting.
- Change the access write of that port
$> sudo chmod 666 ~/.wine/dosdevices/com1
- Force-kill wine
wineserver -k
- Run and check if everything is fine in Axis Neuron
wine "C:\Program Files\NOITOM\Axis Neuron\Axis Neuron.exe"
It may happens that some DLLs are missing, in that case see troubleshooting.
- Check if Wine sees the hub:
ls -l ~/.wine/dosdevices/ | grep /dev/ttyUSB0
-
If there is no input, allow wine to see that port
- a) Run
wine regedit
- b) Go to
HKEY_LOCAL_MACHINE/Wine/Ports
- c) Right click > New > Value chain
- d) Set name to COM1 and value to /dev/ttyUSB0
- a) Run
-
Force-kill wine and relaunch axis
wineserver -k && wine "C:\Program Files\NOITOM\Axis Neuron\Axis Neuron.exe"
- Install
winetricks
sudo apt install winetricks
- Install
vcrun2013
winetricks -q vcrun2013