Commit graph

49 commits

Author SHA1 Message Date
Sebastian Schinabeck ef779d4fc1 settingsObservable superseded by radioMediumObserver
Wasn't used anyway
2015-08-31 14:59:53 +02:00
Sebastian Schinabeck c1a275f0b2 Refactored RadioMediumObservable and added new Observable
Refactored RadioMediumObservable to RadioTransmissionObservable because of its function
Added correct RadioMediumObservable and updating in AbstractRadioMedium, DirectedGraphMedium and MRM
Added some documentation
2015-08-31 14:59:47 +02:00
Sebastian Schinabeck 42077adbb1 Add ScnObservable class with setChangedAndNotify() function
The ScnObservable extends the normal Observable with the combined setChangedAndNotify() function
2015-08-31 14:40:39 +02:00
Atis Elsts 67427b9b86 Improve multichannel support for Cooja.
* Fix CCA detection in Cooja in the case when the receiver swicthes on the right channel during an ongoing transmission. Always add a connection on transmission, even when the channel is not correct. Initially the connection is in a dormant state; this mimics what Cooja is doing when the receiver radio is turned off;
when the receiver is turned on and switched to the right channel, `updateSignalStrengths()` is called, and the connection starts to recieve PHY-level traffic.

* Add "channel" property for DGRM edges.

* Avoid cross-channel interference on DGRM and MRM radio mediums
2015-04-28 18:43:55 +02:00
Enrico Joerns cef3c4079d [cooja] Reformatted Visualizer and skins code 2014-04-11 09:23:28 +02:00
Enrico Joerns 84b687efeb [cooja] Automated code updates that do not make any functional changes
- made loggers final
- added some diamond interface cosmetic
- shortened if-return statements
- replaced size == 0 check with .isEmpty()
2014-04-11 09:20:52 +02:00
Enrico Joerns 6e9b0e1497 [cooja] Added @Override annotations for Visualizer and skins 2014-04-11 09:20:52 +02:00
Enrico Joerns 8e648bcece [cooja] apps/mrm: Adapted MRM visualizer skin to show adequate
information for multi-selections
2014-04-11 09:20:52 +02:00
Enrico Joerns 22ac769781 [cooja] plugins/Visualizer: Multi-mote selection functionality
This adds multi-mote selection capabilities to the visualizer plugin:

- [Ctrl + Mouse Drag]: Rectangular selection of multiple motes
- [Ctrl + Mouse Click]: Add/Remove motes from current selection
- Mouse Drag on any selected Mote: Move all currently selected motes

Note: This changes previous behaviour of using Ctrl key.
2014-04-11 09:05:38 +02:00
Fredrik Osterlind b5c94910ac Renamed Java packages to match our contiki-os.org domain. Note that this commit does not affect external dependencies
like /tools/mspsim.

This is a very simple modification that affects a very large number of files in Contiki: Cooja,
/platform/cooja, Collect-view, Coffe-manager, and Cooja simulation files (.csc).

I've gone through Contiki to update all references I could find. Nevertheless, this commit will likely
break external dependencies, like saved Cooja simulation files.
2013-11-20 16:43:27 +01:00
Fredrik Osterlind 2a9283884c renamed getGUI() method to getCooja(), to better reflect its purpose 2013-11-20 16:43:20 +01:00
Fredrik Osterlind 625537158f renamed main Java class of Cooja from GUI to Cooja.
se.sics.cooja.GUI -> se.sics.cooja.Cooja

this commit does not contain any functional changes, but may require external scripts to be updated
such as Makefiles.
2013-11-20 16:43:18 +01:00
Adam Dunkels 944537fccf Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree 2012-10-26 15:54:49 +02:00
Fredrik Osterlind 86f1c34692 renamed radio method isReceiverOn() to isRadioOn()
fixed bug in Msp802154Radio causing all packets from non-802154-radios to be dropped
2012-06-04 12:39:46 +02:00
Fredrik Osterlind 24aafe5554 disallowed starting plugins/visualizer skins for non-compatible motes/simulations 2012-05-24 13:58:12 +02:00
Fredrik Osterlind 2c486aacd7 radio medium bugfix: a combination of changing channels while radio is off and with a nearby ongoing transmission, and
then immediately turning on the radio caused it to incorrectly detect the ongoing transmission (bug reported by Beshr Al Nahas)
2012-03-09 15:23:16 +01:00
Fredrik Osterlind 76d7238c77 updated doc 2011-11-03 15:41:37 +01:00
Fredrik Osterlind ffa4482799 improved capture effect support in mrm: capture effect is effective if the latter transmission is stronger and no later than half the preamble 2011-11-03 11:23:51 +01:00
Fredrik Osterlind eb84fbeb79 * bugfixed and rewrote MRM to improve configurability
* improved MRM GUI, including MRM visualizer skin that shows prr and rss
* added experimental support for directional antennas
2011-11-01 11:37:19 +01:00
Niclas Finne 6457f765b3 Do not include ant runtime in classpath (avoids compilation warning with Ant 1.8+) 2011-03-21 21:39:45 +01:00
Fredrik Osterlind 9611bd100e bug fix: signal strenghts may not be registered 2011-02-24 09:32:06 +01:00
Fredrik Osterlind fc3bf315ab capture effect (3dB) + noise source radio support 2011-02-24 09:31:49 +01:00
Fredrik Osterlind 148dbc7fb7 tracked components shown in tooltip 2011-02-24 09:31:47 +01:00
Fredrik Osterlind 79211bffae removed CVS-specific ignore files 2011-02-23 16:24:24 +01:00
Fredrik Osterlind 9e14d09bb0 fixed line endings 2011-02-11 13:27:17 +01:00
fros4943 9a3c7ae650 removed use of temporary (simulation-specific) plugins, instead plugins should be unregistered when no longer needed + added method called when radio medium is removed from simulation 2010-12-02 15:25:49 +00:00
fros4943 758710cadd cvs ignore for build directory 2010-01-15 10:57:42 +00:00
fros4943 24d0330d2d radio connection update: radio should not be removed from destinations, but instead flagged as interfered 2009-11-25 15:43:03 +00:00
fros4943 29f618836f new radio medium api 2009-10-27 10:14:09 +00:00
fros4943 c2f7780b68 radio signalling moved to abstract radio medium 2009-02-24 15:05:36 +00:00
fros4943 00273dce75 minor changes and documentation regarding using random generators in Cooja 2009-02-18 12:07:19 +00:00
fros4943 e1a159d7a2 deleting jar at clean 2008-09-17 20:49:13 +00:00
fros4943 11981ea720 mrm.jar built automatically when starting cooja 2008-09-17 20:41:37 +00:00
fros4943 9ea58d343b cooja ant run automatically builds jars 2008-09-01 12:47:54 +00:00
fros4943 f29f2695ba fixed ant targets causing jar files to have duplicate class files 2008-04-03 11:50:49 +00:00
fros4943 f0fbbaa379 negative channels can talk to any other channel (both rx and tx) 2008-03-18 16:37:35 +00:00
fros4943 f577b17ab3 added predefined obstacles (no need for external images) 2008-02-18 08:21:59 +00:00
fros4943 be4ea6bd91 updated since GUI.frame was removed
+ added predefined obstacles (no images needed)
2008-02-15 13:20:22 +00:00
nifi ebe39794fd enabled debug information (source lines in stack traces) 2007-08-20 09:15:34 +00:00
fros4943 55a255bb9c recompiled MRM (no changes made to sources) due to recent changes in COOJA core radio medium 2007-05-23 07:47:23 +00:00
fros4943 6515e4049b updated version (without refs to libraries) 2007-04-02 14:28:54 +00:00
fros4943 f5c25da9d9 removed unused libraries 2007-04-02 14:22:55 +00:00
fros4943 b7ceb24dab updated jar
(+ removed old unused jar)
2007-03-23 21:24:37 +00:00
fros4943 0c1e8278ed removed debug output 2007-03-23 21:22:37 +00:00
fros4943 996446e8e3 added headers 2007-03-23 21:13:43 +00:00
fros4943 9e2059dcfc updated to support new multiabstraction radios
+ extending abstract medium
+ fixed set config in area viewer
2007-03-23 21:08:26 +00:00
fros4943 fadf22550a new compiled mrm jar 2007-01-10 15:08:54 +00:00
fros4943 596677d054 added get observable method 2007-01-10 15:08:17 +00:00
fros4943 6339dc1e27 new name for arm:
multi-path ray-tracer radio medium (mrm)
2007-01-09 09:16:49 +00:00