I’ve add the <RequiredPlugin name=’ZeroMq’ /> directive and the scene Test.scn is loaded without errors from SOFA. Thanks for it 🙂
Apparently the plugin or the scene enter to my ZMQServerComponent constructor two times …
Well, this is another history or anecdote`
bgarcial@elpug : ~/workspace/sofa/build/v17.06/bin
 % ./runSofa
Does your plugin is loaded ?
+ <RequiredPlugin name='ZeroMq' />
You can also check in runsofa, there is a menu named plugins.
May I can know the reason why you try to implement zmq instead of using the Communication plugin ? 🙂
I see that in this file they call the libraries, among them Izmq
Exactly, it´s maybe not the best cmake code ever. But it´s still a WIP project. I only tested it on linux.
I see you have worked the plugin so that from a scene can s…
We (Defrost team) were working on something close to your need.
I just created a PR available on : https://github.com/sofa-framework/sofa/pull/534
Let us know if it fits your needs. I started to write a documentation : https://github.com/SofaDefrost/sofa/tree/sofaCommunication/applications/plugins/Communication
Actually there is a…[Read more]
I’m investigating matrix into sofa. I need a matrix which can be store in a datafield, and can be resize at runtime.
I tried FullMatrix, but didn’t succeed at read/write values in it.
Any clue ? 🙂
Thanks for helping
I just tried SofaPython and it works. Then why my plugin works with runsofa and not for this test ? Is there any option for tests ?
Edit : delete past message, my bad. SofaPython was not build.
I encounter an issue while testing my plugin. Here is the test :
class Communication_test : public Sofa_test<>[Read more]
void checkPerformances(int numstep)
std::stringstream scene1 ;
"<?xml version='1.0' ?> n"…
I was looking for copying VectorData and i found the merge function.
Here is the source code of merge function :
/// merging several Data from a VectorData into a large Data (of the same type)[Read more]
static void merge(Data<T>& outputData, const vectorData<T>& vectorData)
size_t nbInput = vectorData.size();
Thanks @jnbrunet and @Vincent !
Your answers are well completing the documentation about templates (https://www.sofa-framework.org/community/doc/programming-with-sofa/components-api/components-and-datas/)
Thanks for your answer.
Your answer is clear and some parts should be added to the sofa documentation.
But I need more details for the second part. As an exemple, I register a std::string template. But when I try to create an object with template=”std::string” it doesn’t works because the std::string template is named “<__cxx11basic_string<char,…[Read more]