Application: pHostInfo


Brief Synopsis:

Auto-detect the machine's IP address and MOOSDB port number.

Authors:

  • Michael Benjamin

Groups:

Dependencies:

Distribution:

  • moos-ivp.org

Documentation:

Contact Email:

  • mikerb@mit.edu

Function:

Automatically detect the vehicle's host information including the IP addresses, port being used by the MOOSDB, the port being used by local pShare for UDP listening, and the community name for the local MOOSDB. Post these to facilitate automatic group = General Utility, uField Toolbox intervehicle communications in especially in multi-vehicle scenarios where the local IP address changes w/ DHCP.


Lines of Code:

  • 623 (with libraries: 23,794)

Files of Code:

  • 5 (with libraries: 227)

Work Years:

  • 0.12 (with libraries: 5.35)