Search found 14 matches

by Florent
10 May 2021, 16:55
Forum: General questions
Topic: simxGetIntSignal C++ API function with simxDefaultSubscriber to
Replies: 1
Views: 2373

simxGetIntSignal C++ API function with simxDefaultSubscriber to

Hello, I am developping a project to control a scene using the C++ API. In my scene I have several laser sensor and I want to get the values of the sensors using the simxGetIntSignal function. As topic, I use simxDefaultSubscriber. Here is roughly the way I am doing it: b0client->simxGetIntSignal("L...
by Florent
16 Mar 2021, 16:37
Forum: General questions
Topic: Disconnect an Reconnect to CoppeliaSim B0RemoteApi
Replies: 4
Views: 568

Re: Disconnect an Reconnect to CoppeliaSim B0RemoteApi

It could be, because I work on this project for more than one year now and even if i installed Coppelia sim 4.1.0 in between, I don't know if i changed the binding to the "new" b0RemoteApi.cpp and b0RemoteApi.h
by Florent
16 Mar 2021, 14:36
Forum: General questions
Topic: Disconnect an Reconnect to CoppeliaSim B0RemoteApi
Replies: 4
Views: 568

Re: Disconnect an Reconnect to CoppeliaSim B0RemoteApi

Hello,

No the lines of code you've written were note present, only this:

Code: Select all

int arg1=1;
const char* arg2="b0C";
b0_init(&arg1,(char**)&arg2);
I changed with the ones you wrote and it works fine now. Thank you,

Best regards,
by Florent
11 Mar 2021, 14:16
Forum: General questions
Topic: Disconnect an Reconnect to CoppeliaSim B0RemoteApi
Replies: 4
Views: 568

Disconnect an Reconnect to CoppeliaSim B0RemoteApi

Hello, I am using C++ B0 Remote Api on Windows 10 and CoppeliaSim 4.1.0. I am able to connect to CoppeliaSim by using: b0RemoteApi* client = new b0RemoteApi("MyClient", "b0RemoteApi"); Then I can do different stuff, but then I would like to "disconnect" from the server and I use: client->b0RemoteApi...
by Florent
05 Feb 2021, 15:14
Forum: General questions
Topic: Retrieve object string name from b0RemoteApi C++
Replies: 3
Views: 167

Re: Retrieve object string name from b0RemoteApi C++

Hello,

Thanks a lot for your help. Really sorry I didn't see the function simxGetObjectName.
But do you know if I miss something when I try to read a string parameter? For example, I set a color name of a shape and not able to retrieve it in my client.

Best regards,
by Florent
04 Feb 2021, 12:29
Forum: General questions
Topic: Retrieve object string name from b0RemoteApi C++
Replies: 3
Views: 167

Retrieve object string name from b0RemoteApi C++

Hello, I am working with b0RemoteApi in C++ and I would like to retrieve the names of all object into a scene within my external app. To do so, I use the function simxGetObjectsInTree , this works fine. I get all the object handles. From the handles, I would like to refind the names of the objects, ...
by Florent
01 Apr 2020, 00:01
Forum: General questions
Topic: Develop plugin for Coppelia Sim using LibPlugin
Replies: 15
Views: 1828

Re: Develop plugin for Coppelia Sim using LibPlugin

Hello, I downloaded Qt open source and open the simExtPluginSkeleton source code projet. I compiled it and it worked fine. Then I copied the generated .dll file into the CoppeliaSim installation folder. But when I run CoppeliamSim, the plugin is not loaded and I see this error: Error with plugin 'Pl...
by Florent
30 Mar 2020, 19:28
Forum: General questions
Topic: Develop plugin for Coppelia Sim using LibPlugin
Replies: 15
Views: 1828

Re: Develop plugin for Coppelia Sim using LibPlugin

You use Qt on windows or linux? Because Qt on windows is not free (and really expensive btw).

Best regards,
by Florent
28 Mar 2020, 19:51
Forum: General questions
Topic: Develop plugin for Coppelia Sim using LibPlugin
Replies: 15
Views: 1828

Re: Develop plugin for Coppelia Sim using LibPlugin

Hello,

Thank you for your feedback. Which IDE d you use to develop plugin? Is visual Studio fitting well? Do I need Qt to do so?

Thank you,
by Florent
24 Mar 2020, 16:45
Forum: General questions
Topic: Develop plugin for Coppelia Sim using LibPlugin
Replies: 15
Views: 1828

Re: Develop plugin for Coppelia Sim using LibPlugin

The file stubs.h that the project included was the one inside libPlugin\simStubsGen\cpp . This one is the one containing the #pi preprocessor statement. Inside the plugin I changed the #include "simStubsGen/cpp/stubs.h" path to #include "generated/stubs.h" and it solved the problem. I was able to co...