def start_learning_foreground(time_scale,
GVFs,
topics,
policy,
stats,
control_gvf=None,
cumulant_counter=None,
reset_episode=None,
custom_stats=None):
"""Function to call with multiprocessing or multithreading.
"""
try:
foreground = LearningForeground(time_scale,
GVFs,
topics,
policy,
stats,
control_gvf,
cumulant_counter,
reset_episode)
foreground.run()
except rospy.ROSInterruptException as detail:
rospy.loginfo("Handling: {}".format(detail))
评论列表
文章目录