Giter Club home page Giter Club logo

Comments (5)

LiGengLei avatar LiGengLei commented on August 16, 2024

I find it is the question of tf. When I instead of using import tf2_ros, then everything right.

from easy_handeye.

marcoesposito1988 avatar marcoesposito1988 commented on August 16, 2024

Hi @LiGengLei,

tf2_ros was first introduced with pull request #31. However, that only modified the publisher, so I don't understand how this could happen to you during calibration.

Where did you have to change from tf2_ros to tf? Can you please give me the file name and line number?

from easy_handeye.

LiGengLei avatar LiGengLei commented on August 16, 2024

@marcoesposito1988
I am very happy to hear from you. when I meet this question, I search online, and find someone say that tf2_ros package is better than tf. You can read this link: ros/geometry#117. So, I change the source code as follows:
In line 52, I add "tfBuffer=tf2_ros.Buffer(); self.listener = tf2_ros.TransformListener(tfBuffer)"
In line 58, I change to "self.broadcaster = tf2_ros.TransformBroadcaster()"
And because I don't know how to change the line 64 using tf2_ros, so I comment out it.
That's all my change. Maybe my situation is special, because most people use this package don't have this question. I think maybe your code is no question, it's question of my computer environment.
Lastly, I want to thank you for your free and beautiful code.

from easy_handeye.

marcoesposito1988 avatar marcoesposito1988 commented on August 16, 2024

Yes, I also want to switch to tf2 but the API is different, so the changes may have to be bigger than that.

You don't have to worry for now, the first version of tf is still supported. You can run my code without changes, and it should work.

from easy_handeye.

marcoesposito1988 avatar marcoesposito1988 commented on August 16, 2024

Closing for inactivity. If the problem persists, please comment and the issue will be reopened if appropriate.

from easy_handeye.

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.