WSNVisualSenseFramework Code
Brought to you by:
prferreiraj
File | Date | Author | Commit |
---|---|---|---|
data | 2015-03-09 |
![]() |
[908db3] 09032015 |
simulation | 2015-03-09 |
![]() |
[908db3] 09032015 |
wsn | 2015-03-09 |
![]() |
[908db3] 09032015 |
LoadClassDiagram.ucls | 2015-03-09 |
![]() |
[908db3] 09032015 |
PlatformClassDiagram.ucls | 2015-03-09 |
![]() |
[908db3] 09032015 |
README.txt | 2014-11-14 |
![]() |
[212478] 2.0 |
SampleModel.xml | 2015-02-13 |
![]() |
[e22777] 13022015 |
UtilsClassDiagram.png | 2015-03-09 |
![]() |
[908db3] 09032015 |
UtilsClassDiagram.ucls | 2015-03-09 |
![]() |
[908db3] 09032015 |
YorkActors.xml | 2014-12-12 |
![]() |
[e2db2c] 12122014 |
ebocarum.png | 2015-03-09 |
![]() |
[908db3] 09032015 |
Installing: To use this package as part of the Ptolemy/VisualSense you must place the file YorkActors.xml on folder ptII*.*.*/ptolemy/actor/lib and include a tag on file ptII*.*.*/ptolemy/configs/basicActorLibrary.xml, like: <input source="ptolemy/actor/lib/YorkActors.xml"/> Using: - You must put on the model the EventTypeController actor to deal with the type-of-events sensing control. Events and Nodes have a specific Type. Nodes are configured by default to deal with all types of events (EventType). Each Event must has one of the types represented by a Java class, sub class of EventType, in the folder "york.wsn.type." For each of these types is demanded a tag in the york/wns/PlatformConfig.xml, like (where cost means the amount of simulation steps the event consumes to be processed by the default CPU): <event type="typeOfTheEvent" ordinary="true"> <task id="0"><cpu name="SimpleFIFOBasedCPU" cost="1"/></task> </event> - To run stochastic events, is necessary to have the Stochastic actor on the model.