Hi 

I am using VanetMobisim for generating mobility traces. How SUMO is different 
from VanetMobisim? let me know if u have any information.
Which codes you want to convert into tcl?

 
 
 AJMAL KHAN
Ph.D Scholar
Telecommunication Networks Lab
School of Electrical Engineering and Computer Science 
Kyungpook National University
Cell : +82 (10) 7732-3885  
   


________________________________
 From: Manfe <wise_...@yahoo.com>
To: ns-users@ISI.EDU 
Sent: Thursday, May 17, 2012 8:27 PM
Subject: Re: [ns] location of node position using gps
 


Hello Ajmal
Thank you for your response! Having imported Mobility traces from SUMO and
and now having tcl scripts of simulation i think these codes should be
converted to tcl. I am clustering the vehicles based on the position and the
speed of the nodes.

Thanks
Manfe 

Ajmal Khan wrote:
> 
> 
> Hi
> 
> Here is the code to get the x and y coordinates  and also a speed of a
> moving vehicle. 
> 
> 
> 
> 
> MobileNode *mn = (MobileNode*)Node::get_node_by_address(vanetID_);
>     mn->update_position();       // update the position, before using it
>     myx = mn->X();     //  current own location
>     myy = mn->Y();
>     myz = mn->Z();
>     V = mn->speed();
> 
> ///vanetID_ = id of vehicle whose speed and coordinates you would like to
> receive.//////
>  
>  
>  AJMAL KHAN
> Ph.D Scholar
> Telecommunication Networks Lab
> School of Electrical Engineering and Computer Science 
> Kyungpook National University
> Cell : +82 (10) 7732-3885  
>    
> 
> 
> ________________________________
>  From: Manfe <wise_...@yahoo.com>
> To: ns-users@ISI.EDU 
> Sent: Thursday, May 17, 2012 4:52 PM
> Subject: [ns]  location of node position using gps
>  
> 
> 
> Hello,
> I am working on a VANET simulations and i need to detect the position and
> speed of the nodes. I would want to know how the speed and the location of
> the nodes can be obtained using GPS. 
> 
> Help is urgently needed.
> -- 
> View this message in context:
> http://old.nabble.com/location-of-node-position-using-gps-tp33862588p33862588.html
> Sent from the ns-users mailing list archive at Nabble.com.
> 
> 

-- 
View this message in context: 
http://old.nabble.com/location-of-node-position-using-gps-tp33862588p33863559.html
Sent from the ns-users mailing list archive at Nabble.com.

Reply via email to