Warning: do not use this library. It is unstable and most of the routines here have been superseded by other libraries (e.g. rospkg). These routines will likely be deleted in future releases.
Exception |
|
Base class of roslib.rosenv errors. |
Function | get |
Get directory to use for writing log files. There are multiple possible locations for this. The ROS_LOG_DIR environment variable has priority. If that is not set, then ROS_HOME/log is used. If ROS_HOME is not set, $HOME/... |
Function | get |
Get the ROS_MASTER_URI setting from the command-line args or environment, command-line args takes precedence. @param required: if True, enables exception raising @type required: bool @param env: override environment dictionary @type env: dict @param argv: override sys... |
Function | get |
Get directory location of '.ros' directory (aka ROS home). possible locations for this. The ROS_LOG_DIR environment variable has priority. If that is not set, then ROS_HOME/log is used. If ROS_HOME is not set, $HOME/... |
Function | get |
@param required: (default False) if True, ROS_PACKAGE_PATH must be set and point to a valid directory. @type required: bool @raise ROSEnvException: if ROS_PACKAGE_PATH is not set and \x07 required is True... |
Function | get |
@param required: (default True). If True, ROS_ROOT must be set and point to a valid directory. @type required: bool @param env: override environment dictionary @type env: dict @raise ROSEnvException: if required is True and ROS_ROOT is not set... |
Function | get |
Get directory to use for writing test result files. There are multiple possible locations for this. If ROS_HOME is set ROS_HOME/test_results is used. Otherwise $HOME/.ros/test_results is used. |
Function | makedirs |
Create the directory using the permissions of the nearest (existing) parent directory. This is useful for logging, where a root process sometimes has to log in the user's space. @param p: directory to create @type p: str... |
Constant | ROS |
Undocumented |
Constant | ROS |
Undocumented |
Constant | ROS |
Undocumented |
Constant | ROS |
Undocumented |
Constant | ROS |
Undocumented |
Constant | ROS |
Undocumented |
Constant | ROS |
Undocumented |
Constant | ROS |
Undocumented |
Constant | ROS |
Undocumented |
Constant | ROS |
Undocumented |
Get directory to use for writing log files. There are multiple possible locations for this. The ROS_LOG_DIR environment variable has priority. If that is not set, then ROS_HOME/log is used. If ROS_HOME is not set, $HOME/.ros/log is used.
@param env: override os.environ dictionary @type env: dict @return: path to use use for log file directory @rtype: str
Get the ROS_MASTER_URI setting from the command-line args or environment, command-line args takes precedence. @param required: if True, enables exception raising @type required: bool @param env: override environment dictionary @type env: dict @param argv: override sys.argv @type argv: [str] @raise ROSEnvException: if ROS_MASTER_URI value is invalidly specified or if required and ROS_MASTER_URI is not set
Get directory location of '.ros' directory (aka ROS home). possible locations for this. The ROS_LOG_DIR environment variable has priority. If that is not set, then ROS_HOME/log is used. If ROS_HOME is not set, $HOME/.ros/log is used.
@param env: override os.environ dictionary @type env: dict @return: path to use use for log file directory @rtype: str
@param required: (default False) if True, ROS_PACKAGE_PATH must be set and point to a valid directory. @type required: bool @raise ROSEnvException: if ROS_PACKAGE_PATH is not set and \x07 required is True
@param required: (default True). If True, ROS_ROOT must be set and point to a valid directory. @type required: bool @param env: override environment dictionary @type env: dict @raise ROSEnvException: if required is True and ROS_ROOT is not set
Get directory to use for writing test result files. There are multiple possible locations for this. If ROS_HOME is set ROS_HOME/test_results is used. Otherwise $HOME/.ros/test_results is used.
@param env: environment dictionary (defaults to os.environ) @type env: dict @return: path to use use for log file directory @rtype: str