Gazebo | Ignition | Community
Ask Your Question
0

HAPTIX API for Matlab but in Linux

asked 2017-01-27 13:13:06 -0600

Sharif gravatar image

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.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2017-01-27 14:47:02 -0600

chapulina gravatar image

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=ha...

edit flag offensive delete link more

Comments

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

Sharif gravatar imageSharif ( 2017-01-27 15:45:33 -0600 )edit
0

answered 2017-01-27 15:41:53 -0600

Sharif gravatar image

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.)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-01-27 13:13:06 -0600

Seen: 564 times

Last updated: Jan 27 '17