Skip to content

Commit

Permalink
Fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuichiueda committed May 30, 2016
1 parent ee8a150 commit 66b217e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/rtlightsensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ def talker():
d.left_side = int(data[2])
d.left_forward = int(data[3])
pub.publish(d)
rate.sleep()
except:
rospy.logerr("cannot open " + devfile)

rate.sleep()

if __name__ == '__main__':
try:
talker()
Expand Down

0 comments on commit 66b217e

Please sign in to comment.