Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. import rospy
  2. def my_print(str):
  3.     print(str)
  4. def my_print_err(str):
  5.     print('\033[91m' + str + '\033[0m')
  6. rospy.loginfo = my_print
  7. rospy.logerr = my_print_err
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement