def robot_chosen(label, items, choice, name="false"):
msg1 = String()
msg2 = String()
msg1.data = label+","+choice+","+"-".join(items)+','+name
pub_robot_chosen.publish(msg1)
msg2.data = "(Nando) "+label+"\n"
pub_new_element.publish(msg2)
######################################## reacting
评论列表
文章目录