Search found 6 matches

by aerosn
29 Jan 2020, 05:22
Forum: General questions
Topic: Regular API or B0-Remote API with C++
Replies: 1
Views: 195

Regular API or B0-Remote API with C++

I just want to know, what's the best API to use with C++ language, regular API or B0-Remote API . I've been using B0-Remote API for about 2-3 weeks, mostly in python than in C++. But because what I want to simulate is a quadcopter control using C++, I've been wondering should I continue using B0-Rem...
by aerosn
22 Jan 2020, 12:13
Forum: General questions
Topic: messagePack object documentation C++
Replies: 3
Views: 248

Re: messagePack object documentation C++

Nevermind, I manage to get the value.

I found that messagePack object is like JSON file, and the way you access the values within it in C++ is msg->at(i) with i represent what value you want to get.
by aerosn
22 Jan 2020, 11:52
Forum: General questions
Topic: messagePack object documentation C++
Replies: 3
Views: 248

Re: messagePack object documentation C++

Hello, across all bindings, we have: First value is a boolean, telling whether the remote function succeeded or not Second value: an error message (if first value is false ), otherwise the first value the remote function returns. e.g. with the function simxGetVisionSensorImage , this is the resolut...
by aerosn
22 Jan 2020, 10:31
Forum: General questions
Topic: messagePack object documentation C++
Replies: 3
Views: 248

messagePack object documentation C++

Hello, I've been searching for documenation about how messagePack work in B0RemoteApi inside CoppeliaSim. What I learned so far is callback function with msg as its parameter in python, the msg variable will be a list with: msg[0] -> boolean (idk what this refers to) msg[1] -> list/value of somethin...
by aerosn
30 Dec 2019, 03:52
Forum: General questions
Topic: [Solved] Error on B0-based Remote Api (C++ on Windows 10)
Replies: 1
Views: 289

Re: Error on B0-based Remote Api (C++ on Windows 10)

SOLVED!

I just have to move the simpleTest.exe to vrep root dir, and it's up and running! How silly of me! I didn't even know that all the dlls it needed were already there at vrep root dir. It wasn't stated anywhere (only b0.lib that were stated is in the vrep root dir).
by aerosn
29 Dec 2019, 11:41
Forum: General questions
Topic: [Solved] Error on B0-based Remote Api (C++ on Windows 10)
Replies: 1
Views: 289

[Solved] Error on B0-based Remote Api (C++ on Windows 10)

Hi, I've been tinkering how to enable B0 remote api to vrep using C++ on windows 10. I've followed the instruction in http://www.coppeliarobotics.com/helpFiles/en/b0RemoteApiClientSide.htm as well as in simpleTest.cpp. What I've done so far: -Install the library (zeromq, boost, version correspond to...