You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Svalorzen edited this page Mar 17, 2014
·
1 revision
To create a new module
Possibly it needs to provide something new otherwise it will not get called.
To do this you need to:
Create new representation in Src/Representations/...?
Make it streamable just because
Class is:
STREAMABLE(ClassName,
{ /* public/private Methods /
,
/ in the following format */
(type)(init) name,
});
- It does not necessarily need a .cpp
- Add representation to Blackboard ( 2 in .h, 1 in .c )
- Create your module. It needs a .cpp or it will not get compiled. Copy other modules.
- Add your module as a provider in Config/Locations/Default/modules.cfg
- Add it to your module
- Compile
Be careful that adding a new representation is costly because you need to recompile everything (since you need to recompile Blackboard), so think it through before!