B0_resolver keeps creating new nodes with matlab

Typically: "How do I... ", "How can I... " questions
Post Reply
lizhen
Posts: 13
Joined: 27 Oct 2021, 14:04

B0_resolver keeps creating new nodes with matlab

Post by lizhen »

hello,
when vrep is controlled by matlab under synchronous mode by B0, B0_resolver keeps creating new nodes every time I run the matlab code. The simulation often hangs unexpectedly than the set time. I don't know how to terminal these nodes. THX!
Image

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

Re: B0_resolver keeps creating new nodes with matlab

Post by coppelia »

Hello,

it looks to me that you do not correctly end the connection at the end of the Matlab program. Do you call client.delete()?

Cheers

lizhen
Posts: 13
Joined: 27 Oct 2021, 14:04

Re: B0_resolver keeps creating new nodes with matlab

Post by lizhen »

Thanks for your patient :D
I run the C:\Program Files\CoppeliaRobotics\CoppeliaSimEdu\programming\b0RemoteApiBindings\matlab\synchronousImageTransmission.m,
and new nodes are still being created all the time. How to terminal these nodes manually?
THX and happy new year!

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

Re: B0_resolver keeps creating new nodes with matlab

Post by coppelia »

Hum... unfortunately we can't test at the moment, since we don't have a matlab license anymore. But there could be a problem in b0RemoteApi.m, in function cleanUp. Not sure what the reason is/was, but following line is commented:

Code: Select all

calllib(obj.libName,'b0_node_delete',obj.node);
try to uncomment it, and see if that solves your problem.

Cheers

Post Reply