Browse Source

Modified the rospy loginfo.

noetic
hello-sanchez 2 years ago
parent
commit
5d738c2240
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/tf2_listener.py

+ 1
- 1
src/tf2_listener.py View File

@ -48,7 +48,7 @@ class FrameListener():
from_frame_rel,
rospy.Time())
# Print the transform
rospy.loginfo('The pose of target frame %s with reference to %s is: \n %s', from_frame_rel, to_frame_rel, trans.transform)
rospy.loginfo('The pose of target frame %s with reference from %s is: \n %s', from_frame_rel, to_frame_rel, trans.transform)
except (tf2_ros.LookupException, tf2_ros.ConnectivityException, tf2_ros.ExtrapolationException):
rospy.logwarn(' Could not transform %s from %s ', to_frame_rel, from_frame_rel)

Loading…
Cancel
Save