Commit graph

465 commits

Author SHA1 Message Date
fros4943 0ae6a4185a added applet attribute support + applet code base public 2008-04-03 13:59:37 +00:00
fros4943 ad30c06a8b added applet attribute support 2008-04-03 13:59:24 +00:00
fros4943 26f339eea7 save log only available if not applet mode 2008-04-02 16:42:39 +00:00
fros4943 8889712071 log4j fallback on basic configurator if no file access 2008-04-02 16:41:46 +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 43ef84ad85 tick method returns true if mote can be ticked again immediately 2008-03-31 15:22:41 +00:00
fros4943 c447f5e6c0 removed references to unused mantis files 2008-03-19 17:48:25 +00:00
fros4943 1e3ec46ddb added help method for generating unique mote type identifiers 2008-03-19 09:41:03 +00:00
fros4943 27d81e5645 added support for dynamic contiki mote type identifiers: no need to restart simulator when loading another simconfig 2008-03-19 09:40:38 +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 5ddbefaa4f added delete mote menu action 2008-03-18 16:20:56 +00:00
fros4943 5337ad2b60 updated interface visualizer and changed default output power to 0 dBm 2008-03-18 16:20:16 +00:00
fros4943 6e6857c6a6 warn if forwarded data is null 2008-03-18 15:43:03 +00:00
fros4943 8b6fb0821a supporting connections with null radio packets 2008-03-18 15:42:35 +00:00
fros4943 9ed58f6323 disturber sends same packet over and over again 2008-03-18 13:55:46 +00:00
fros4943 84d2353966 using new radio packet format and some documentation 2008-03-18 13:05:23 +00:00
fros4943 4fc082db35 using new radio packet format 2008-03-18 13:03:24 +00:00
fros4943 2b90590698 removed old commented code 2008-03-18 13:02:10 +00:00
fros4943 066a055563 general radio interface now implements old packet radio 2008-03-18 13:01:13 +00:00
fros4943 36b6fa15eb custom data radios 2008-03-18 12:58:59 +00:00
fros4943 5107a365c3 using new radio packet format 2008-03-18 12:57:04 +00:00
fros4943 660faff676 removed notion of byte and packet radio:
all radios must now implement the default cooja packet type, and may addionally implement a custom data object
2008-03-18 12:54:25 +00:00
fros4943 e765735bad using new radio packet format 2008-03-18 12:52:01 +00:00
fros4943 1270545cc2 removed debug output 2008-03-18 12:49:18 +00:00
fros4943 e41a6c2fbc default radio packet implementation 2008-03-18 12:47:10 +00:00
fros4943 d76e1b268a default (os-level) radio packet
all radios implementations must support this packet format
2008-03-18 12:46:36 +00:00
fros4943 6ecde3e85a removed obsolete connection logger 2008-03-18 12:43:00 +00:00
fros4943 735390dd5d minor fix: power cast to double 2008-03-17 10:18:37 +00:00
fros4943 b96b3ae8c6 only using distance when calculating received signal strength for nodes closer than transmitting range 2008-03-17 10:10:17 +00:00
fros4943 223ded4595 added output power indicator max value 2008-03-17 09:50:27 +00:00
fros4943 7cf49fb57a added output power indicator max value + remade signal strength calculation per distance 2008-03-17 09:49:44 +00:00
fros4943 89a062aa06 automatically close mote plugins when mote is removed 2008-03-17 08:35:10 +00:00
fros4943 2c5e167b20 added method for checking if radio is on/off. the method is currently only used by contikradio:s.
changed UDGM coloring:
dead/non-existing radios are black.
turned off radios are gray.
2008-02-23 10:10:42 +00:00
fros4943 3675479274 added access control when applet 2008-02-18 08:18:01 +00:00
fros4943 d42ed7d5da fixed some javadoc warnings 2008-02-12 15:31:22 +00:00
fros4943 930ec5d63a changed to application modal dialogs instead of toolkit modal 2008-02-12 15:25:41 +00:00
fros4943 3b2a19c1ae isVisualized handling both visualized in frame and in applet. 2008-02-12 15:20:56 +00:00
fros4943 8d82edfe81 cooja applet files 2008-02-12 15:17:00 +00:00
fros4943 773736a6ca 432 2008-02-12 15:03: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 04c10bcee7 added sky led interface (+ updated esb+contiki mote led interfaces) 2008-02-11 15:53:28 +00:00
fros4943 bae02d252a automatically updating when new mote types are added/removed 2008-02-11 14:37:17 +00:00
fros4943 2beb497c35 possible bugfix: setting title before disposing error dialog 2008-02-11 14:04:51 +00:00
fros4943 c8f1906479 throwing unknown variable exceptions 2008-02-11 14:04:16 +00:00
fros4943 afebaa9e97 catching unknown variable exceptions + using integer size 2008-02-11 14:03:19 +00:00
fros4943 47165456ca added unknown variable exception + method for fetching integer size 2008-02-11 14:02:29 +00:00
fros4943 74df59e4a2 set rime communication stack default 2008-02-11 14:00:19 +00:00
fros4943 0e8f94ed77 automatically listening to newly added nodes 2008-02-08 14:42:33 +00:00
fros4943 4192b95ce4 updated deprecated code 2008-02-07 22:25:26 +00:00
fros4943 b0e07a06cf removed mote type visualizer (only showing identifier) 2008-02-07 13:15:22 +00:00
fros4943 cbdb1c242d minor fix when few mote types available 2008-02-07 13:14:42 +00:00
fros4943 5c91174fd4 renamed variable 2008-02-07 10:47:56 +00:00
fros4943 e64093c72f added abstraction level descriptions 2008-02-07 10:34:45 +00:00
fros4943 d0b9384ab0 mote types sorted after abstraction level 2008-02-07 10:30:19 +00:00
fros4943 327a278cab annotation describing an abstraction level 2008-02-07 10:29:40 +00:00
fros4943 c55f320bd5 minor bug fix: recompilation dialog may preselect wrong process if several equally named processes exist (implemented in different source files) 2008-01-08 12:33:25 +00:00
fros4943 9c08ab0009 added get/set config for event listener plugin: (must register new observers as well) 2008-01-08 12:19:25 +00:00
fros4943 58215907bb added get/set config for event listener plugin 2008-01-08 12:12:15 +00:00
fros4943 829849dbc9 using two random success ratios 2007-12-13 07:59:35 +00:00
fros4943 632c35720c bugfix: create should not be available after changing deselecting processes 2007-11-29 05:58:42 +00:00
fros4943 18cc446063 catching heap memory errors 2007-11-29 05:37:35 +00:00
fros4943 6012ef9c21 added some functionality like save compilation output + updated initial scan to the testapps directory 2007-11-25 23:32:05 +00:00
fros4943 9b433cc06a register as observer at end of constructor 2007-11-23 06:21:24 +00:00
fros4943 79898a5096 random seed fix 2007-11-20 05:19:47 +00:00
fros4943 a9c3799a42 number of logged packets in title 2007-11-20 04:17:11 +00:00
fros4943 7ab9703d8f more error output at failed compilation 2007-11-20 04:16:13 +00:00
adamdunkels 8ac35cb44d Added menu bar to quickstart window. Made Rime the default stack for quickstart 2007-11-18 12:21:41 +00:00
fros4943 e38e6b7e8c removed old using 2007-10-31 13:58:21 +00:00
fros4943 4a14613529 now that success ratio is variable, it must also be stored with sim configs 2007-10-23 08:39:21 +00:00
fros4943 b4ba76b53a make sure uip uaodv uses uaodv.c 2007-10-22 13:21:51 +00:00
fros4943 dfc0199cbd set drift method as standard for all clock interfaces 2007-10-03 14:20:57 +00:00
fros4943 3ace4c55cd code formatting and more debugging output at radio medium failure 2007-09-30 12:03:49 +00:00
fros4943 0f4a25c8ff cooja mac os x support 2007-09-30 12:02:33 +00:00
fros4943 87e32f037e enabled config of entire ar command, not only arguments 2007-09-28 07:21:21 +00:00
fros4943 abfe10b100 added exception handling to project dir loading 2007-09-21 16:14:19 +00:00
fros4943 12c539d2b5 always highlighting node at mote plugin activation 2007-09-21 16:11:44 +00:00
fros4943 23b9136e5e bug fix if JAVA_HOME not set 2007-09-18 16:23:38 +00:00
fros4943 8323fdfa30 bug fix if JAVA_HOME not set 2007-09-18 16:07:10 +00:00
fros4943 005ad973a2 catching unsupported class version exceptions 2007-09-18 15:57:14 +00:00
fros4943 8f101f495c changed address parsing using nm to more generic: any command may be used 2007-09-18 11:33:46 +00:00
fros4943 e24dd09126 parsing addresses differently depending on exttools config 2007-09-10 14:05:34 +00:00
fros4943 8a11380de9 setting nm parsing default 2007-09-10 14:04:10 +00:00
fros4943 919a35801d using external tools regular expressions 2007-09-10 13:26:54 +00:00
fros4943 08d42b2251 added regular expressions for parsing map files and nm output 2007-09-10 13:25:36 +00:00
fros4943 e097e17a15 minor fix 2007-09-05 14:08:04 +00:00
fros4943 d5d6e5d48c added some explanations 2007-09-05 14:01:56 +00:00
fros4943 db74bb6566 changed link argument sent to makefile:
instead of using linker, user may specify linker line including tools
2007-09-05 14:00:59 +00:00
fros4943 661a76408a changed link argument sent to makefile:
instead of using linker, user may specify linker line including tools
2007-09-05 13:58:08 +00:00
fros4943 b67baa7dfc set specified external tools configs read only
+ automatic formatting
2007-08-22 11:23:50 +00:00
fros4943 9be473e4b9 functionality for exporting current userplatforms as default external tools setting 2007-08-21 14:18:04 +00:00
fros4943 7f25afcfe4 fixed possible null pointer exception
+ some formatting
2007-08-21 13:28:52 +00:00
fros4943 fa6748f45a reset success ratio to 100&, and added configuration ability in plugin 2007-08-21 09:17:18 +00:00
fros4943 1ca82694f5 restructured dialog
added main random seed, nr tick lists etc.
2007-08-21 08:54:48 +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 598f4e94cd thread safe plugin startup 2007-07-17 21:21:24 +00:00
fros4943 61482fec43 updated size of uAODV unicasts with headers 2007-07-17 21:21:19 +00:00
fros4943 a4b7ae4425 preferred column sizes 2007-07-16 10:17:38 +00:00
fros4943 9c43ddd522 print high addresses correctly 2007-07-16 08:21:17 +00:00
fros4943 3b41fc0a7c minor update regarding packet types 2007-07-16 07:33:53 +00:00
fros4943 22a69a253d added cooja uAODV ack packet type 2007-07-13 10:11:30 +00:00
fros4943 cc865f18bb handling radio when nodes die 2007-07-13 09:08:24 +00:00
fros4943 81185f2e84 added aodv rerr support 2007-07-12 14:27:07 +00:00
fros4943 43b27f954b uip uaodv using crc 2007-07-11 15:22:22 +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
fros4943 b09e7f8641 nulll constructor arguments 2007-07-04 07:44:13 +00:00
fros4943 66e562f2c0 added method for setting timedrift 2007-06-19 09:59:19 +00:00
fros4943 ef1588cd83 added delayed startups random for contiki motes 2007-06-19 09:58:43 +00:00
fros4943 78a06fe9b5 using nullmac for cooja rime radio 2007-06-08 12:25:54 +00:00
fros4943 0fa4dd2d37 removed java 1.6 dependency 2007-05-31 10:00:30 +00:00
fros4943 7f6593e361 added abstract application motes
can be used to rapidly implement new pure java application motes
2007-05-31 07:21:29 +00:00
fros4943 70969c1930 added configurable transmission rate (default 19.2kbps) 2007-05-31 07:19:11 +00:00
fros4943 3e364371e7 added simple aodv packet parsing 2007-05-31 07:01:32 +00:00
fros4943 fc056f97f9 minor update in highlighted motes 2007-05-30 20:57:58 +00:00
fros4943 490bc06de2 added radio logger plugin 2007-05-30 11:13:30 +00:00
fros4943 508fe3709d vis2d implements mote highlight functionality 2007-05-30 10:54:22 +00:00
fros4943 209a35bf53 added getMote() method to all radios 2007-05-30 10:52:57 +00:00
fros4943 c15c38bb1a added mote highlight functionality 2007-05-30 10:51:14 +00:00
fros4943 7ec1a4f7aa added check that outgoing packet was not discarded from simulator 2007-05-29 12:53:49 +00:00
fros4943 68cbf124ae separate mote tick lists enabling less radio interference and more realistic(?) simulations
experimental fixed random seed for now
2007-05-29 07:27:10 +00:00
fros4943 eceb2e5816 desktop always exists, but not always used 2007-05-28 09:37:01 +00:00
fros4943 953c60c35a added setVisualized method (experimental) 2007-05-28 09:01:49 +00:00
fros4943 6271beabc3 nongui command arguments 2007-05-28 08:06:41 +00:00
fros4943 46a727d8de simple java_home environment references 2007-05-28 07:26:51 +00:00
fros4943 ca16d56844 dispose on escape 2007-05-24 08:24:11 +00:00
fros4943 ad59a54fa8 fix: maximized cooja frame overlapping os display regions (such as win start menu). 2007-05-23 09:10:15 +00:00
fros4943 67ae9fbcb7 application radio
may be used by java-based motes to implement radio functionality
2007-05-19 17:17:34 +00:00
fros4943 b18d87195d removed event thread exceptions 2007-05-19 17:05:54 +00:00
fros4943 fb9728b29f allow mote to go to sleep due to etimers IFF contiki system was ticked 2007-05-19 16:56:55 +00:00
fros4943 ff7c1d8f12 added uIP over uAODV radio driver support for COOJA
the radio driver assumes uAODV already has a route to the destination, hence the application is responsible for fetching routes and buffering delayed packet data
2007-05-19 14:27:08 +00:00
fros4943 d62e75ac3f debugging output 2007-05-18 15:18:07 +00:00
fros4943 1937e663ad setting UDGM signal strength depending on distance 2007-05-18 15:17:11 +00:00
fros4943 af0fcc9be5 added menu info on current java version 2007-05-18 14:08:19 +00:00
fros4943 643ce5adfe added support for several contiki comm stacks (uip + rime) 2007-05-18 13:45:19 +00:00
fros4943 411ad59bda removed Java 1.6 added ModalityType 2007-05-14 12:13:08 +00:00
fros4943 fd53ff57dd added retry option at failed simulation reload 2007-05-11 10:55:07 +00:00
fros4943 ca6b1d4bf8 restructured corecomm to throw exceptions instead of returning success of operation 2007-05-11 10:15:42 +00:00
fros4943 80ec85abad forwarding java corecomm compilation output via messagelist 2007-05-11 10:02:13 +00:00
fros4943 8585881f6c removed sun's proprietary icon 2007-05-10 17:08:44 +00:00
fros4943 d8080ddcad added custom made error dialog for simulation (re)load errors 2007-05-10 17:05:01 +00:00
fros4943 79144edde6 showing custom made error dialog instead of JOptionPane's 2007-05-10 17:02:04 +00:00
fros4943 86f50ae5ce forwarding compilation output with exception 2007-05-10 17:01:02 +00:00
fros4943 afcbbac7b7 added support for compilation output in mote type creation exception 2007-05-10 17:00:03 +00:00
fros4943 915b7d4d36 forwarding cause of exception 2007-05-10 16:59:00 +00:00
fros4943 b6940d4302 differing between exceptions 2007-05-09 07:18:36 +00:00
fros4943 c2147dbb86 changed duration 2007-04-23 11:58:20 +00:00
fros4943 438fa2a92d changed byte radio to supply delay meta data instead of timestamp 2007-04-23 11:33:07 +00:00
fros4943 923ad07abf updated duration for 19200bps transmissions
added some fault handling
2007-04-23 08:28:30 +00:00
fros4943 1c818c039f added warning for null packets 2007-04-23 08:25:50 +00:00
fros4943 eeed4115c4 colors helping a user manually enter project paths 2007-04-11 14:00:27 +00:00
fros4943 3d1c427c60 only storing external tools settings differing from the defaults 2007-04-04 08:04:48 +00:00
fros4943 8403776cf1 compilation window ui improvement (by nfi) 2007-04-04 07:47:02 +00:00
fros4943 c8190f55e6 added quick fix for passing alternative external tools configuration files at startup. 2007-04-03 16:21:12 +00:00
fros4943 2a216122b3 throwing exceptions when trying to access the library initially 2007-04-03 16:18:04 +00:00
fros4943 7581aa5916 appending to textarea from awt thread 2007-04-02 17:44:43 +00:00
fros4943 e44657d05d added menu option for removing all motes from simulation 2007-04-02 16:50:07 +00:00
fros4943 d28069411d layout fix 2007-04-02 16:44:44 +00:00
fros4943 d68a7bb017 minor layout fix 2007-04-02 16:02:32 +00:00
nifi 5e69641bc1 changed to add messages using AWT thread 2007-04-02 15:45:44 +00:00
fros4943 3d5298ab69 always consuming button events
(bug fix: mote falls asleep during fast button clicks)
2007-04-02 14:14:26 +00:00
fros4943 5a96a9cdb7 minor fixes 2007-04-02 13:42:05 +00:00
fros4943 4e8631a034 added additional error handling when loading and reloading simulations 2007-04-02 12:45:19 +00:00
fros4943 0054bab730 dialog size fix 2007-04-02 10:32:37 +00:00
fros4943 80dfde9ab3 removed old libraries (created on demand)
+ added simple error handling when creating mote types
2007-03-26 16:30:28 +00:00
fros4943 dff11bd027 creating empty cooja.config when quickstarting 2007-03-25 21:32:33 +00:00
fros4943 8ffdc10322 quick-starting a few mote plugins 2007-03-24 01:00:25 +00:00
fros4943 1f1ff5805d checking displayable attr on windows before disposing them
(in an attempt to remove child0 exceptions)
2007-03-24 00:44:55 +00:00
fros4943 24cc50590f minor changes when dusting up quick-start 2007-03-24 00:42:51 +00:00
fros4943 e753966dc0 create class file directory and, if compilation fails, try including cooja.jar 2007-03-24 00:41:10 +00:00
fros4943 ae74f2a879 no need to rescan after changing description 2007-03-23 23:45:13 +00:00
fros4943 61ab1ed1f3 renamed 'user platform' to 'project directories' 2007-03-23 23:33:54 +00:00
fros4943 cd8f45234e creating user platform configuration on demand 2007-03-23 21:57:24 +00:00
fros4943 1d0936c965 removed saving current simulation time 2007-03-23 21:38:45 +00:00
fros4943 4f089d113e extending abstract radio medium 2007-03-23 21:06:23 +00:00
fros4943 9cbdd11623 moved functionality to abstract radio medium in order to simplift new implementations 2007-03-23 21:05:45 +00:00
fros4943 9b29eae61d minor changes 2007-03-23 21:04:19 +00:00
fros4943 7a5d74e407 removed pressed button check 2007-03-23 20:48:29 +00:00
fros4943 24735fb776 added support for dynamic corecomms (generated and compiled on demand) 2007-03-23 14:36:27 +00:00
fros4943 ebf965bbb6 added simulation reload functionality
tries to reload the current simulation by allocating new available corecomms, and replacing any references to the old ones

warning: custom made simulation configs may not work with this functionality!

this is a convenience method, and needs dynamic corecomms for reloading more than a constant number of times
2007-03-23 11:25:19 +00:00
fros4943 cf96c89934 check that progress bar is visible before disposing 2007-03-23 11:16:53 +00:00
fros4943 0f1e55191a force closing dialog correctly 2007-03-22 23:06:26 +00:00
fros4943 104bb5b222 restores last window state (size, location) 2007-03-22 23:01:11 +00:00
fros4943 5d7af1bd2f automatically bring on "create new simulation"-dialog on startup (if started with gui) 2007-03-22 22:36:04 +00:00
fros4943 8769b6eb38 disposing on escape key 2007-03-22 22:35:06 +00:00
fros4943 c376db9203 removed scan for processes warnings at empty directories 2007-03-22 22:20:33 +00:00
fros4943 05d8cb4bdb changed to exponential delay slider 2007-03-22 22:08:50 +00:00
fros4943 85cb8dc31f changed label 2007-03-22 20:52:58 +00:00
fros4943 10108fb50e change default simulation delay time (100 -> 5) 2007-03-22 20:39:34 +00:00
fros4943 5d700f4a4e fixed keyboard shortcuts 2007-03-22 20:38:38 +00:00
fros4943 1da6d10730 added comparison of default and current external tools settings 2007-03-22 16:41:50 +00:00
fros4943 3e1569d434 renamed file menu items for opening configurations 2007-03-22 16:17:01 +00:00
fros4943 804a1f1370 suggest unique mote type description instead of old "[enter description here]" 2007-03-22 15:51:03 +00:00
fros4943 2763615fbb automatically resizing create mote dialog depending on screen res. 2007-03-22 15:38:04 +00:00
fros4943 3090b82782 reordered bottom dialog buttons 2007-03-22 15:08:34 +00:00
fros4943 3a3459a939 added progress bar during quick-loads 2007-03-22 15:02:55 +00:00
fros4943 1e1e49f3ff added load/save-simulation config history support 2007-03-22 13:59:33 +00:00
fros4943 d65b820ca2 changed mote plugins menu to submenues instead of popups
(had to restructure mote menu system slightly)
2007-03-22 11:14:27 +00:00
fros4943 d5ac105b8e removed old debug output 2007-03-22 11:13:19 +00:00
fros4943 14a4675318 added click button menu shortcut för all visualizers 2007-03-22 09:59:50 +00:00
fros4943 e4372605fb bug fix for when disposing window 2007-03-22 09:34:50 +00:00