diff --git a/rosboard/rosboard.py b/rosboard/rosboard.py index a0b6a1d..292df3d 100755 --- a/rosboard/rosboard.py +++ b/rosboard/rosboard.py @@ -99,7 +99,10 @@ def __init__(self, node_name = "rosboard_node"): rospy.loginfo("ROSboard listening on :%d" % self.port) def start(self): - rospy.spin() + try: + rospy.spin() + except KeyboardInterrupt: + pass def get_msg_class(self, msg_type): """