Advertisement
Guest User

Untitled

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