Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 130

How do you use inverseTimes()?

$
0
0
How do you use inverseTimes? From reading the docs, it looks like it should be a member function of Transform(), and take another Transform() as the argument. However, the following code: from geometry_msgs.msg import Transform my_tf1 = Transform() my_tf2 = Transform() my_tf1.translation.x = 2 my_tf2.translation.x = 5 my_tf1.inverseTimes(my_tf2) produces the error: > AttributeError: 'Transform' object has no attribute 'inverseTimes' Is there a different object in tf called Transform that I should be using instead?

Viewing all articles
Browse latest Browse all 130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>