GithubHelp home page GithubHelp logo

tf chaining broken on pr2 about geometry2 HOT 4 CLOSED

ros avatar ros commented on July 19, 2024
tf chaining broken on pr2

from geometry2.

Comments (4)

ahendrix avatar ahendrix commented on July 19, 2024

Done for Gazebo launch. Though I would hope that was unnecessary, hoping it is easy for you to reproduce.

Anyway, it seems the cause is not too mysterious: in tf.cpp:Transformer::chainAsVector(const std::string & target_frame, ros::Time target_time, const std::string & source_frame, ros::Time source_time, const std::string& fixed_frame, std::vector<std::string>& output) const

None of the input parameters other than output are even being used, this is makred as //@todo. The code that worked in diamondback is still in tf.cpp, but commented out.

For my other problems, it seems I cannot reproduce, maybe there was something wrong with my waitForTransform at the time.

from geometry2.

ahendrix avatar ahendrix commented on July 19, 2024

@ahendrix: Obsolete with the use of tf2 as the backend for tf. Closing.

@tkruse: I beg to differ. Not only is tf still there and the tf_monitor script part of it, but also tf2/src/buffer_core.cpp:BufferCore::_chainAsVector is a copy&paste implementation (sigh) of tf/src/tf.cpp:Transformer::chainAsVector.

I would prefer you to reopen the issue, and then close it once that either the tf_monitor script is not part of a ROS distro anymore, or until the tf_monitor script delivered with a distro does not have that problem anymore (e.g. by relying on a fixed tf2 implementation of chainAsVector), please.

from geometry2.

tfoote avatar tfoote commented on July 19, 2024

This method was stubbed out when the datastructure was converted and currently lists the parent frames not the spanning set. It needs to be fixed in both implementations. Fortunately this problem is only in the chainAsVector methods which are used for console output. But it needs to be fixed in both tf and tf2.

from geometry2.

jacquelinekay avatar jacquelinekay commented on July 19, 2024

Proposed solution in pull request 95. @tkruse and @ahendrix : feel free to review.

from geometry2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.