GithubHelp home page GithubHelp logo

Invalid argument "/any_frame" passed to canTransform argument source_frame in tf2 frame_ids cannot start with a '/' about geometry2 HOT 5 CLOSED

ros avatar ros commented on July 18, 2024
Invalid argument "/any_frame" passed to canTransform argument source_frame in tf2 frame_ids cannot start with a '/'

from geometry2.

Comments (5)

tfoote avatar tfoote commented on July 18, 2024

I've got a patch pending which will clean this up before it is passed to tf2 from tf. If you call tf2 directly you will need to sanitize.

from geometry2.

tfoote avatar tfoote commented on July 18, 2024

@hershwg can you check that my patches in 1.10.3 of geometry work now?

from geometry2.

hershwg avatar hershwg commented on July 18, 2024

Sorry that I didn't check this sooner.

Actually there is a pretty major bug: if you call resolve("/map") you
get back the empty string.

You need to change erase(0) to erase(0,1) in
strip_leading_slash(). The second argument to string::erase() is the
number of characters to erase, which defaults to all of them.

I'm surprised the tests didn't catch this. Maybe they aren't being run?

Dave

On Wed, Jul 10, 2013 at 10:53 AM, Tully Foote [email protected]:

@hershwg https://github.com/hershwg can you check that my patches in
1.10.3 of geometry work now?


Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-20760352
.

from geometry2.

hershwg avatar hershwg commented on July 18, 2024

The above comments refer to file tf/src/tf.cpp.

On Thu, Jul 11, 2013 at 9:05 AM, Dave Hershberger [email protected]:

Sorry that I didn't check this sooner.

Actually there is a pretty major bug: if you call resolve("/map")
you get back the empty string.

You need to change erase(0) to erase(0,1) in
strip_leading_slash(). The second argument to string::erase() is the
number of characters to erase, which defaults to all of them.

I'm surprised the tests didn't catch this. Maybe they aren't being run?

Dave

On Wed, Jul 10, 2013 at 10:53 AM, Tully Foote [email protected]:

@hershwg https://github.com/hershwg can you check that my patches in
1.10.3 of geometry work now?


Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-20760352
.

from geometry2.

tfoote avatar tfoote commented on July 18, 2024

fixed erase syntax 37e978f94fab27e2e5596e96e7f3b675581a22e3

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.