class documentation
class WtfContext(object):
WtfContext stores common state about the ROS filesystem and online environment. The primary use of this is for convenience (not having to load this state manually) and performance (not having to do the same calculation repeatedly).
Static Method | from |
Initialize WtfContext from environment. |
Static Method | from |
Initialize WtfContext from package name. |
Static Method | from |
@param roslaunch_file: roslaunch_file to load from @type roslaunch_file: str |
Static Method | from |
Initialize WtfContext from stack. @param stack: stack name @type stack: str @raise WtfException: if context state cannot be initialized |
Method | __init__ |
Undocumented |
Method | as |
@return: dictionary representation of context, which is useful for producing error messages @rtype: dict |
Class Variable | __slots__ |
Undocumented |
Instance Variable | actual |
Undocumented |
Instance Variable | env |
Undocumented |
Instance Variable | errors |
Undocumented |
Instance Variable | expected |
Undocumented |
Instance Variable | launch |
Undocumented |
Instance Variable | launch |
Undocumented |
Instance Variable | launch |
Undocumented |
Instance Variable | manifest |
Undocumented |
Instance Variable | manifest |
Undocumented |
Instance Variable | nodes |
Undocumented |
Instance Variable | pkg |
Undocumented |
Instance Variable | pkg |
Undocumented |
Instance Variable | pkgs |
Undocumented |
Instance Variable | pythonpath |
Undocumented |
Instance Variable | ros |
Undocumented |
Instance Variable | ros |
Undocumented |
Instance Variable | roslaunch |
Undocumented |
Instance Variable | rospack |
Undocumented |
Instance Variable | rosstack |
Undocumented |
Instance Variable | service |
Undocumented |
Instance Variable | services |
Undocumented |
Instance Variable | stack |
Undocumented |
Instance Variable | stack |
Undocumented |
Instance Variable | stacks |
Undocumented |
Instance Variable | system |
Undocumented |
Instance Variable | topics |
Undocumented |
Instance Variable | unconnected |
Undocumented |
Instance Variable | uri |
Undocumented |
Instance Variable | use |
Undocumented |
Instance Variable | warnings |
Undocumented |
Initialize WtfContext from package name.
@param pkg: package name @type pkg: str @raise WtfException: if context state cannot be initialized
Initialize WtfContext from stack. @param stack: stack name @type stack: str @raise WtfException: if context state cannot be initialized