-
Notifications
You must be signed in to change notification settings - Fork 2
Module Creation Info
Svalorzen edited this page Mar 17, 2014
·
1 revision
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!