Login  •  Register


Simulation code already done by UaModeler Code Generator

Questions regarding the use of UaModeler

Simulation code already done by UaModeler Code Generator

Postby s_schmidt » 22 Mar 2019, 09:48

Hello,
I am using the UaModeler for the first time and am wondering after I created all my nodes, how do I specify that values of variables are changing during a simulation. I know from the c++ SDK for running test we add following code to the nodemanager:

Code: Select all
//- Interface UaThread ----------------------------------------------------------------
    virtual void run();
    //- Interface UaThread ----------------------------------------------------------------

private:
    bool    m_stopThread;
    UaMutex m_mutex;
    std::list<SimulateMyObjectType*> m_lstSimulateMyObjectType;
};


and also modify code in the ObjectTypes.
Is it possible to define that in the Modeler, so that one doesn't have to add the code later to all? Afterwards in the SDK I just want to specify the simulation (for example distribute it randomly)

It would be nice if someone could help.
Thank you!
s_schmidt
Newbie
Newbie
 
Posts: 2
Joined: 22 Mar 2019, 09:34

Return to UaModeler

Who is online

Users browsing this forum: No registered users and 0 guests