本文整理汇总了Python中val_description.InstanceFileHandler.InstanceFileHandler.getActuatorCoeffFiles方法的典型用法代码示例。如果您正苦于以下问题:Python InstanceFileHandler.getActuatorCoeffFiles方法的具体用法?Python InstanceFileHandler.getActuatorCoeffFiles怎么用?Python InstanceFileHandler.getActuatorCoeffFiles使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类val_description.InstanceFileHandler.InstanceFileHandler
的用法示例。
在下文中一共展示了InstanceFileHandler.getActuatorCoeffFiles方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: testGetActuatorCoeffFiles
# 需要导入模块: from val_description.InstanceFileHandler import InstanceFileHandler [as 别名]
# 或者: from val_description.InstanceFileHandler.InstanceFileHandler import getActuatorCoeffFiles [as 别名]
def testGetActuatorCoeffFiles(self):
sampleInstanceFile = self.testDirectory + '/test_files/valkyrie_A.xml'
instanceFileHandler = InstanceFileHandler(sampleInstanceFile)
coeffFiles = instanceFileHandler.getActuatorCoeffFiles()
coeffFilesToCheck = ['v_a_006.xml',
'v_b_002.xml',
'v_c_002.xml',
'v_d_001.xml',
'v_e_001.xml',
'v_e_002.xml',
'v_a_003.xml',
'v_b_001.xml',
'v_c_001.xml',
'v_d_004.xml',
'v_e_003.xml',
'v_e_004.xml',
'v_a_005.xml',
'v_b_004.xml',
'v_f_005.xml',
'v_f_002.xml',
'v_g_005.xml',
'UNKNOWN.xml',
'UNKNOWN.xml',
'v_a_001.xml',
'v_b_003.xml',
'v_f_004.xml',
'v_f_003.xml',
'v_g_003.xml',
'UNKNOWN.xml',
'UNKNOWN.xml',
'v_g_006.xml',
'v_g_006.xml',
'v_g_006.xml',
'v_a_004.xml',
'v_e_006.xml',
'v_e_005.xml']
for coeffFile in coeffFiles:
assert coeffFile in coeffFilesToCheck