I finally solved the problem by myself. Hope this is helpful for other people have the similar problem. The reason is that the radio model is based on location information. The plugins need to be loaded in proper sequence. So I have to load the LocationPlugin first, and then deploy the motes to designated locations, and finlly add the RadioModelPlugin. Now the routing tables are correct.
---------- Forwarded message ---------- From: Haodong Wang <[EMAIL PROTECTED]> Date: Mon, 7 Feb 2005 15:57:38 -0500 Subject: Problem with Radio Model To: [email protected] Hi, I am working on a geographic routing simulation which does greedy forwarding based on motes' fake location in TinyViz. I am really confused about the radio model in TOSSIM. I have following two questions and look forward to your help. 1. I run my simulation by following steps: -- Invoke simDrive, with my executable, RadioModelPlugin, LocationPlugin, ... The radio model I am using is disc10 with scaling 3. -- In the Tyhon console, run my script to deploy (move) the motes to designated locations; -- By clicking on a mote, I can see the green radio link connecting to its neighbors. -- Then, I start the simulation, to my surprise, motes do not receive routing msg from their neighbors, but always receives msg from other motes beyond the radio links. Why? 2. The TOSSIM manual says increasing the radio model scaling factor will decrease the connectivity of radio range. With disc10, I changed the factor from 1 to 10, 100, ..., but nothing happened. Did I do anything wrong? Any comments will be highly appreicated, thanks! -HD _______________________________________________ Tinyos-users mailing list [email protected] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
