dynamic_graph_manager
run_command.py File Reference

Instanciate a python terminal communication with the dynamic-graph embeded terminal. More...

Classes

class  ros_nodes.run_command.DynamicGraphInteractiveConsole
 For the subtilities please read https://docs.python.org/3/library/code.html. More...
 

Namespaces

 dynamic_graph_manager
 Example of hardware communication client based on ROS.
 

Functions

def ros_nodes.run_command.signal_handler (sig, frame)
 Catch Ctrl+C and quit.
 
def ros_nodes.run_command.save_history (histfile)
 Write the history of the user command in a file.
 

Variables

 ros_nodes.run_command.python_history = os.path.join(os.environ["HOME"], ".dg_python_history")
 
 ros_nodes.run_command.argv
 
 ros_nodes.run_command.parser
 
 ros_nodes.run_command.options
 
 ros_nodes.run_command.args
 
 ros_nodes.run_command.dg_console = DynamicGraphInteractiveConsole()
 
 ros_nodes.run_command.infile = args[0]
 
 ros_nodes.run_command.response
 

Detailed Description

Instanciate a python terminal communication with the dynamic-graph embeded terminal.

License:
License BSD-3-Clause

Variable Documentation

◆ parser

ros_nodes.run_command.parser
Initial value:
1 = optparse.OptionParser(
2  usage='\n\t%prog [options]')

◆ response

ros_nodes.run_command.response
Initial value:
1 = dg_console.ros_python_interpreter.run_python_script(
2  os.path.abspath(infile))