How does the matlab recognize and communicate with the Touch Haptic Device?

Typically: "How do I... ", "How can I... " questions
Post Reply
zhangm365
Posts: 13
Joined: 19 Jun 2021, 12:58

How does the matlab recognize and communicate with the Touch Haptic Device?

Post by zhangm365 »

Hello, everyone

Now, I want to identify and communicate with Touch Haptic Device in MATLAB, how to do it ?
Can one give me some advice?

Thanks,
zhangm365

coppelia
Site Admin
Posts: 8893
Joined: 14 Dec 2012, 00:25

Re: How does the matlab recognize and communicate with the Touch Haptic Device?

Post by coppelia »

Hello,

so, if I understand correctly, you have a haptic device working with CoppeliaSim already? Then you are probably using the CHAI3D plugin for CoppeliaSim?

If you were using Python, you could use the ZeroMQ-based remote API, which supports directly all API functions from CoppeliaSim, including functions provided by plugins. If future we plan to extend that to other languages too.

In the mean time, you will have to wrap individual functions in script functions and call those via the simxCallScriptFunction@matlab

Cheers

zhangm365
Posts: 13
Joined: 19 Jun 2021, 12:58

Re: How does the matlab recognize and communicate with the Touch Haptic Device?

Post by zhangm365 »

Yeah, I have used the haptic device working with Coppeliasim successfully.
Now, I am trying to use the haptic device with Matlab. Can anyone give me a hand?

Thanks

coppelia
Site Admin
Posts: 8893
Joined: 14 Dec 2012, 00:25

Re: How does the matlab recognize and communicate with the Touch Haptic Device?

Post by coppelia »

The question is do you want to communicate with the haptic device directly, or via CoppeliaSim? I.e. is CoppeliaSim of any use in that situation?

Cheers

zhangm365
Posts: 13
Joined: 19 Jun 2021, 12:58

Re: How does the matlab recognize and communicate with the Touch Haptic Device?

Post by zhangm365 »

Hello, admin
Thank your reply.
At present, I just want matlab to communicate with the Haptic Device directly.

coppelia
Site Admin
Posts: 8893
Joined: 14 Dec 2012, 00:25

Re: How does the matlab recognize and communicate with the Touch Haptic Device?

Post by coppelia »

Ok, then check with the haptic device manufacturer directly, since this is not directly related to CoppeliaSim in that case, and you will get much better answers from them,.

Cheers

Post Reply