Closed lukas-ramlab closed 1 month ago
The issue was resolved by just adding more times (multiple tries including rclpy.spin_once(self)
).
I guess the joint_state_publisher
node took time to process and respond.
I'm still intrigued why it's not able to interpolate in the past, but will close the issue as it's not an urgent error anymore.
When using
lookup_transform
in python I get the error:This is unexpected, since I few lines before that I broadcast the transform. Which according to the error message above are received, but not taken. Additionally, as from the doc-string in the
lookup_transform
class I use the argumenttime=Time()
to retrieve the latest transform.The error shows up for ~ 1 second during initialization, before it disappears. But in my opinion it should not appear at all, as the same node is broadcasting and looking up in sequence.
This seems to be an error in the code, or an update of the documentation of
tf2_ros
that should be needed.The broadcaster code:
The lookup code: