generate_conductor_state_graph.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 #
00003 # License: BSD
00004 #   https://raw.github.com/robotics-in-concert/rocon_concert/license/LICENSE
00005 ###############################################################################
00006 from concert_utilities.conductor_graph import ConductorStateDotcodeGenerator
00007 from concert_conductor import StateTransitionTable
00008 from qt_dotgraph.pydotfactory import PydotFactory
00009 
00010 if __name__ == '__main__':
00011 
00012     dotcode_factory = PydotFactory()
00013 
00014     csdg = ConductorStateDotcodeGenerator(dotcode_factory)
00015     dotgraph = csdg.generate_dotgraph(StateTransitionTable)
00016 
00017     dotgraph.write_png('state_graph.png') 


concert_utilities
Author(s): Daniel Stonier
autogenerated on Thu Jun 6 2019 18:17:52