Package roslib
[frames] | no frames]

Package roslib

source code

roslib is largely deprecated starting in the ROS Fuerte release.

roslib has a very important role in all Python code written for ROS: it contains the load_manifest() method, which updates the PYTHONPATH based on a set of ROS Package manifest.xml files.

Beyond the important load_manifest() call, most of the rest of roslib consists of low-level libraries that 99% of ROS users need not interact with. These libraries are primarily to support higher-level ROS Python libraries, such as the rospy client library, as well as numerous ROS tools (e.g. rostopic).


Version: 1.7.0

Submodules

Functions
bool
is_interactive()
General API for a script specifying that it is being run in an interactive environment.
source code
 
set_interactive(interactive)
General API for a script specifying that it is being run in an interactive environment.
source code
Variables
  __package__ = 'roslib'
Function Details

is_interactive()

source code 

General API for a script specifying that it is being run in an interactive environment. Many libraries may wish to change their behavior based on being interactive (e.g. disabling signal handlers on Ctrl-C).

Returns: bool
True if interactive flag has been set

set_interactive(interactive)

source code 

General API for a script specifying that it is being run in an interactive environment. Many libraries may wish to change their behavior based on being interactive (e.g. disabling signal handlers on Ctrl-C).

Parameters:
  • interactive (bool) - True if current script is being run in an interactive shell