def setUp(self):
self.namespace = rospy.get_namespace()
rospy.logdebug("Initializing test_publish_to_topics in namespace:" +
self.namespace)
self.variables = [("air_flush_on", 1),
("air_temperature", 23),
("light_intensity_blue", 1),
("light_intensity_red", 1),
("light_intensity_white", 1),
("nutrient_flora_duo_a", 5),
("nutrient_flora_duo_b", 5),
("water_potential_hydrogen", 6)
]
# self.topic_ending = ["raw", "measured", "commanded", "desired"]
rospy.init_node(NAME, log_level=rospy.DEBUG)
test_pub_desired_topics.py 文件源码
python
阅读 18
收藏 0
点赞 0
评论 0
评论列表
文章目录