C/C++ Doubt

Typically: "How do I... ", "How can I... " questions
Post Reply
Electr0
Posts: 17
Joined: 21 Nov 2013, 16:53

C/C++ Doubt

Post by Electr0 »

Hello,

I'm new here and I'm starting a project in v-rep when I have to work with youbot.

I do not have much knowledge of LUA programming and I feel much more comfortable in C/C++.

I've read the V-REP User Manual but I have a question:

Can I control the whole robot only with C language? or do i have to write some things in LUA?

If yes, is possible only through remote api? or is it possible otherwise?


thank you

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

Re: C/C++ Doubt

Post by coppelia »

Hello,

yes, you can program your robot controller only via C/C++, if you wish. In that case, you have 2 possibilities:
  • using the remote API, which allows to have your controller run on a different program, different computer, or even on the real robot.
  • using a plugin. This allows to have a very fast interaction between the simulation and the controller, and also a synchronous operation between the controller and the simulation. Moreover, a plugin allows to customize the simulator to a great extent.
You can of course also combine several different interfacing methods that are supported in V-REP.

Cheers

Post Reply