Page 1 of 1
B0_resolver keeps creating new nodes with matlab
Posted: 30 Dec 2021, 10:22
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!

Re: B0_resolver keeps creating new nodes with matlab
Posted: 30 Dec 2021, 16:17
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
Re: B0_resolver keeps creating new nodes with matlab
Posted: 31 Dec 2021, 06:49
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!
Re: B0_resolver keeps creating new nodes with matlab
Posted: 03 Jan 2022, 17:00
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