Package rosgraph :: Module rosenv
[frames] | no frames]

Module rosenv

source code

Functions
 
get_master_uri(env=None, argv=None)
Get the :envvar:`ROS_MASTER_URI` setting from the command-line args or environment, command-line args takes precedence.
source code
Variables
  ROS_MASTER_URI = 'ROS_MASTER_URI'
  ROS_IP = 'ROS_IP'
  ROS_IPV6 = 'ROS_IPV6'
  ROS_HOSTNAME = 'ROS_HOSTNAME'
  ROS_NAMESPACE = 'ROS_NAMESPACE'
  __package__ = 'rosgraph'
Function Details

get_master_uri(env=None, argv=None)

source code 

Get the :envvar:`ROS_MASTER_URI` setting from the command-line args or
environment, command-line args takes precedence.

:param env: override environment dictionary, ``dict``
:param argv: override ``sys.argv``, ``[str]``
:raises: :exc:`ValueError` If :envvar:`ROS_MASTER_URI` value is invalidly
  specified