fros4943
96979b5fbf
lower simulation thread priority, added timeout on blocking stop simulation method
2010-03-26 09:26:22 +00:00
fros4943
cd8047bc77
added method that returns a mote with the given id
2010-02-23 21:55:55 +00:00
nifi
86f6bbf61a
Removed obsolete mote class reference in simulation configs
2010-02-04 15:32:41 +00:00
fros4943
778c14e9e3
javadoc update
2010-02-03 15:49:24 +00:00
fros4943
3aeaf86b1a
added a method for pausing the simulation that doesn't block
2010-02-03 15:33:36 +00:00
fros4943
83fc001abd
show error dialog at simulation exception
2010-02-03 12:15:37 +00:00
nifi
115ee7b936
Changed mote creation to always be done by the MoteType (allows application motes to be loaded with the right class loader)
2010-01-24 20:10:57 +00:00
fros4943
f371965755
bugfix: generated random seeds were not reloaded correctly
2010-01-15 14:00:06 +00:00
fros4943
8bd7187491
the simulation object now handles the motetype configuration for motes; common functionality that was earlier implemented in each mote.
...
this patch allows the simulator more freedom for hand-picking mote class loaders
+ some debug output in experimental ImportAppMoteType
2009-11-27 15:53:10 +00:00
fros4943
93672649d2
made project class loader public + throw exception is mote class could not be loaded
2009-11-25 20:47:18 +00:00
fros4943
a9eecb03df
strict event scheduling from simulation thread +
...
added method for removing mote types from a simulation +
added cleanup-methods for simulation/motes/mote interfaces: void removed();
2009-11-13 08:37:36 +00:00
fros4943
64293abe03
major update to cooja's event scheduler:
...
* all events must now be scheduled from the simulation thread
* added new methods for requesting simulation thread execution
this patch solves some race conditions introduced by the new mspsim execution scheduling, but affects many existing plugins and interfaces
2009-10-27 10:06:59 +00:00
fros4943
d13f47a64f
bugfix: clock drift must be set even when the random startup delay is zero
2009-08-20 13:10:35 +00:00
fros4943
28976d9e15
allow simulation delays below real-time
2009-07-06 12:29:57 +00:00
fros4943
739e21caaf
+ support for configurable buffer sizes (currently only for log output events)
2009-07-03 13:37:40 +00:00
fros4943
9b164adc35
method for accessing event central + include mote when notifying simulation observers that a mote was added/removed
2009-07-02 12:04:28 +00:00
fros4943
5d20b01f04
bugfix: random generator was initialized differently at load vs reload
2009-06-24 07:56:15 +00:00
fros4943
61c2ed2e1a
two major updates:
...
simulation time now uses microsecond resolution instead of earlier millisecond (allows for better simulation accuracy)
+
Contiki motes schedule their own events instead of the earlier approach of having the simulation loop register tick events common to all Contiki motes (faster simulation)
both changes require extensive changes throughout COOJA
2009-05-26 14:15:41 +00:00
nifi
9a388fbd99
cleaned up exception handling
2009-03-12 11:01:26 +00:00
fros4943
be9bc1570d
immediately quit if simulation has error in test mode
2009-03-11 22:17:04 +00:00
fros4943
d0b7460b5e
return mote types as array, not vector
2009-03-10 21:05:29 +00:00
fros4943
b98c18e616
changed default simulation delay to 0
2009-03-02 09:46:19 +00:00
fros4943
0bb6e99326
added method returning all motes, instead of using getMote(int) method
2009-02-24 15:08:20 +00:00
joxe
1da3c2544c
moved Avrora motes into the mspsim array and renamed
2009-02-23 08:33:23 +00:00
fros4943
0e9add68ce
remove new motes without stopping simulation: from timevent invoked by simulation loop
...
enables test scripts to remove new motes
2009-02-18 16:01:31 +00:00
fros4943
d458fe79b5
add new motes without stopping simulation: from timevent invoked by simulation loop
...
enables test scripts to add new motes
2009-02-18 15:57:47 +00:00
fros4943
8e9686e01d
added option to make random seed automatically generated at simulation load
...
+ a single random generator instance is used instead of sharing seed between different parts of the simulator
2009-02-18 10:09:32 +00:00
fros4943
0f0aab0005
added support for removing events from queue outside simulation thread
2009-01-08 15:42:25 +00:00
fros4943
c4ba4b7008
thread-safe event scheduling
2008-12-08 13:07:06 +00:00
fros4943
28f299ad87
allow mote tick events to be removed from event queue (slightly faster execution)
2008-12-04 16:52:03 +00:00
joxe
37b40f99c7
changed simulation time from int to long to support very long simulations
2008-12-04 14:03:41 +00:00
fros4943
3893969096
check that simulation is running before joining sim thread
2008-12-04 13:04:26 +00:00
fros4943
1a7c791a93
reimplemented single tick method
2008-12-04 12:44:02 +00:00
fros4943
609ae94b14
only notify tick observers when simulation time changes, not for every handled event
2008-12-03 16:37:06 +00:00
fros4943
7767b03bae
parsing currently used exception for bad memory access by MSPSim
2008-12-03 15:38:01 +00:00
fros4943
ac4f2544b8
registering tick events when simulation starts running
2008-11-03 18:09:43 +00:00
fros4943
0967158d86
bugfix: initializing contiki array with wrong number
2008-10-29 15:55:46 +00:00
fros4943
456ef03dc1
removed tick lists and variable tick times
...
handling tick events in simulation loop: moving towards fully event based (as opposed to tick based)
2008-10-28 13:35:59 +00:00
fros4943
f27dd80489
removed interrupt output when simulation is stopped
2008-10-03 13:18:29 +00:00
fros4943
7ad524cb80
removed redundant error message
2008-10-03 09:37:01 +00:00
fros4943
f150cab154
default random mote startup time set to 1sec + handling msp mote breakpoints
2008-09-29 23:04:27 +00:00
joxe
f6e0702b3b
optimized some loops for increased performance and added runprof for profiling
2008-09-22 16:18:22 +00:00
fros4943
b0d37c34e3
experimental: ticking msp motes separately
...
allows for different tick durations per different nodes
2008-04-01 08:12:16 +00:00
fros4943
89a062aa06
automatically close mote plugins when mote is removed
2008-03-17 08:35:10 +00:00
fros4943
d42ed7d5da
fixed some javadoc warnings
2008-02-12 15:31:22 +00:00
fros4943
6c8151b449
removed public static JFrame frame variable. components should instead access the top parent container via getTopParentContainer()
2008-02-12 15:03:02 +00:00
fros4943
dfc0199cbd
set drift method as standard for all clock interfaces
2007-10-03 14:20:57 +00:00
fros4943
0d505b8dfd
reset nr tick lists and mote startup delay, since both settings are still experimental
2007-08-21 08:51:33 +00:00
fros4943
88c7e87e82
added udgm random transmission support.
...
random mode can currently only be activated via simulation configs (.csc)
udgm uses the same random seed as the simulation
2007-07-10 12:43:23 +00:00
fros4943
b13e9dde90
saving random seed with simconfig
2007-07-04 16:13:17 +00:00