Home | Tutorials | Wiki | Issues
Ask Your Question
1

Plugin automatic compiling

asked 2014-12-10 10:12:19 -0500

djou07 gravatar image

Hello,

Can anyone help me to find how to compile in an automatic way a plugin without the manual way in the terminal ?

thanks in advance

edit retag flag offensive close merge delete

Comments

for more detail, I am trying to use genetic algorithms to evolve morphologies and controllers of many robots at the same time, so I am wondering how to compile a plugin of a new robot at run time simulation programmatically.

djou07 gravatar imagedjou07 ( 2014-12-10 11:47:27 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-12-11 12:57:25 -0500

nkoenig gravatar image

updated 2014-12-16 10:30:47 -0500

You'll have to use system calls, like execv to run cmake & make.

edit flag offensive delete link more

Comments

Can you please give me further informations about system calls and an example how to use execv, (the link to execv do not work), thank you

djou07 gravatar imagedjou07 ( 2014-12-12 04:04:32 -0500 )edit
1

Fixed the link. Searching google for execv will produce numerous results and examples.

nkoenig gravatar imagenkoenig ( 2014-12-16 10:31:53 -0500 )edit
1

answered 2014-12-12 02:45:18 -0500

scpeters gravatar image

Another idea: if your controller can be parameterized, then you could compile the plugin once and read in a separate parameter file for each test run.

edit flag offensive delete link more

Comments

I did not program the controller yet, probably it will be a neural network, but I will try that out, thank you for your help

djou07 gravatar imagedjou07 ( 2014-12-12 03:59:19 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-12-10 10:12:19 -0500

Seen: 130 times

Last updated: Dec 16 '14