[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Position of the node




Hi,
 	I'm implementing the LAR Ad-Hoc routing protocol(which uses the
geographical position of the node to establish the route), based on the
CMU implementation, on ns 2.1b6, and i want to know how I can get the
position of the node (like a GPS system ) for the LAR agent. I have seen
in the node the function getLoc(), which retrives the cordinates, but
there is same way to access this functiob from the agent?

[]'s