8 import oem7_decoder_test
11 PKG =
'novatel_oem7_driver' 17 super(self.__class__, self).
__init__(*args)
22 Purge existing bag, record new one. 24 Fails if stale file cannot be purged. 27 if os.path.exists(self.uut_bag):
28 os.remove(self.uut_bag)
30 delay_sec = float(rospy.get_param(
'~delay_sec', 10.))
31 rospy.sleep(delay_sec)
37 if __name__ ==
'__main__':
40 Oem7PublishTest.ref_bag = sys.argv[1] +
".bag" 41 Oem7PublishTest.uut_bag = sys.argv[2] +
"-test.bag" 43 rostest.run(PKG, NAME, Oem7PublishTest, sysargs = sys.argv)
def test_1_record_uut(self)
def verify_bag_equivalency(ref_bag, uut_bag)
def test_2_verify_recorded_topics(self)