HAPTIX limb API crashes MATLAB
I'm using a non-standard computer configuration - a different box running Gazebo than what was given to the performer teams, able to run Gazebo just fine, and then my laptop running MATLAB and Motive in Windows 7. I can run the C++ API from within Linux just fine, and drive the virtual limb sinusoidally as in the example. However, when I try running the MATLAB version of this from my Win7 machine, MATLAB immediately crashes. It gives some reference to the fact that this happens when MEX files are used.
I'm running Handsim 0.8.3, and Windows SDK 0.7.2. The problem, I suspect, is that the MEX file was built for different computer configurations, and I don't think I have a way to build my own version of the MEX file specific to the Windows compiler / .NET / Visual C++ Redistributable packages I have on my machine.
I should also add that the Octave scripts also work fine in Linux. So something is broken on either the Windows machine, or the means of talking to the Linux machine. I can connect Motive from my Windows box and stream that data over to the Linux box no problem, so I don't think it's the connection between the two that's the issue.
Can you post the version of Matlab used in both scenarios? Thanks.
I'm using R2015a, but could upgrade to 2015b if you like.
which version of Visual Studio are you using? Current SDK works only with VS 2013.
VS2015 - whatever the current one is that you can download.
So I should try to roll back to VS2013, and that will potentially resolve this? What does VS2013 have to do with the MATLAB MEX file? I didn't compile anything, just using the files that OSRF provided. Seems like it's less dependent on VS20xx, and more dependent on Visual C++ Redistributable, or something along those lines.
Rolled back to VS2013. Not having much luck. Question about the steps in the tutorial that are unclear - am I supposed to set up an IGN_IP and IGN_PARTITION parameters on both my Windows machine and the Linux machine running Gazebo? I assumed I was supposed to do this, but the language on the tutorial page indicates that I'm only supposed to do this on the Windows machine if using that, or the local Linux machine if using that for the API.
I don't know what the problem was, but it seems to be working all of a sudden. Could be a whole bunch of different things - deleted my entire MATLAB appdata folder, moved to VS2013, checked out the MATLAB license so I'm not running on a license server, reinstalled VC++ redist a few times. So I have no idea what fixed this.