rospy: type converting topic list

This commit is contained in:
Ken Conley 2009-12-22 19:30:06 +00:00
parent 31384c9b26
commit ed0665d1d6
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ def _rosout(level, msg):
try:
_in_rosout = True
msg = str(msg)
topics = get_topic_manager().get_topics() or []
topics = list(get_topic_manager().get_topics() or [])
l = roslib.msg.Log(level=level, name=str(rospy.names.get_caller_id()), msg=str(msg), topics=topics)
l.header.stamp = Time.now()
_rosout_pub.publish(l)