importloggingimportsmiafromsmia.agents.extensible_smia_agentimportExtensibleSMIAAgentfromsmia.agents.smia_agentimportSMIAAgentfromsmia.assetconnection.asset_connectionimportAssetConnection_logger=logging.getLogger(__name__)"""This is the launch file of the SMIA, which runs the logic of the program."""
[docs]defmain():# First, the initial configuration must be executedsmia.initial_self_configuration()_logger.info("Initializing SMIA software...")# Then, the AASX model is added# smia.load_aas_model('../examples/SMIA_Operator_article.aasx')smia.load_aas_model('../examples/SMIA_TransportRobot_article.aasx')# smia.load_aas_model('../examples/SMIA_TransportRobot_with_OWL.aasx')# smia.load_aas_model('../smia_archive/config/SMIA_TransportRobot_with_OWL.aasx')# Create the agent object# smia_agent = SMIAAgent("gcis2@xmpp.jp", "gcis1234")# smia_agent = SMIAAgent()smia_agent=ExtensibleSMIAAgent()smia_agent.add_new_agent_service('newSvc',nuevo_svc_params)smia.run(smia_agent)
if__name__=='__main__':# Run main program with SMIAmain()