Robotics StackExchange | Archived questions

HAPTIX API for Matlab but in Linux

Hello everybody. For some reasons we would like to use Matlab with Haptix in the same Linux environment. My question is whether the current API available at https://bitbucket.org/osrf/haptix-comm can be used with Matlab in Linux. If not, what impedes it? Thanks.

Asked by Sharif on 2017-01-27 14:13:06 UTC

Comments

Answers

If you can use the API with Octave on Linux, I can't see why you wouldn't be able with Matlab:

http://gazebosim.org/tutorials?tut=haptix_matlab

Asked by chapulina on 2017-01-27 15:47:02 UTC

Comments

Please check my explanation. It couldn't be fit as a comment here.

Asked by Sharif on 2017-01-27 16:45:33 UTC

Well, the tutorial explains that the API would work whether with Octave in Linux, or with Matlab in Windows, which speculatively is because of some reasons I wonder. Moreover, I have tried using the API with Matlab in Linux, and it complains about Undefined function or variable 'hxgz'. This is because of the fact that the API deals with some MEX functions that should be compiled in the right environment. So my question would be, why the developers have not provided the API for MATLAB in Linux in the first place, and would it be doable in a short time to make it working by compiling from source on Matlab in Linux? (Currently they do it through remotely connecting a Matlab on a Windows machine to the Linux that runs Gazebo.)

Asked by Sharif on 2017-01-27 16:41:53 UTC

Comments