Package rospy :: Package impl :: Module init

Module init

source code

Internal use: rospy initialization.

This is mainly routines for initializing the master or slave based on the OS environment.

Classes
  RosStreamHandler
Functions
 
start_node(environ, resolved_name, master_uri=None, port=0, tcpros_port=0)
Load ROS slave node, initialize from environment variables
source code
Variables
  DEFAULT_NODE_PORT = 0
  __package__ = 'rospy.impl'
Function Details

start_node(environ, resolved_name, master_uri=None, port=0, tcpros_port=0)

source code 

Load ROS slave node, initialize from environment variables

Parameters:
  • environ (dict) - environment variables
  • resolved_name (str) - resolved node name
  • master_uri (str) - override ROS_MASTER_URI: XMlRPC URI of central ROS server
  • port (int) - override ROS_PORT: port of slave xml-rpc node
  • tcpros_port (int) - override the port of the TCP server
Returns:
node server instance @rtype rosgraph.xmlrpc.XmlRpcNode
Raises: