Code Monkey home page Code Monkey logo

Comments (2)

pepisg avatar pepisg commented on August 27, 2024 1

I think you are mistaking the initial robot pose with the datum. The datum does not have to be set to the initial robot pose, you may set any arbitrary lat,lon,yaw coordinates in the navsat_tranform params or via the /datum service.

Is there a standard method for placing the origin of the static map or matching the initial position provided by the global EKF with the origin of the static map?

This is what the datum does. What you put on the datum are the GPS coordinates you want the origin of the map frame to have. That's independent of the robot's pose.

We thought of defining the origin of the static map in UTM coordinates and then using the UTM frame generated by navsat_transform to locate the robot relative to this point.

There's no need to, datum expects lat,lon.

@SteveMacenski I think you can close, I agree this should have been asked on stack exchange

from navigation2.

SteveMacenski avatar SteveMacenski commented on August 27, 2024

I think this question is better suited for Robotics Stack Exchange or doing some google-fo on best conventions which I'm sure there are reference documents / projects that highlight. I don't want to misspeak since I haven't personally tried to do what you're doing before myself and this feels like a broader question about robotics systems than just Nav2.

A good question is why you're even using a static map if you're doing GPS localization. Do you have a map at all? It is not needed to have one as that tutorial explains in the 3 methods for setting up GPS localization: (1) space with map to set sizing, (2) space of unknown or insanely large scale that a map is not reasonable and thus using a rolling global costmap, and (3) space of known size without a map to set a static global costmap size within.

Perhaps @pepisg that helped write that tutorial can chime in, but I think broadly this might be a question for another platform if Pedro doesn't have an answer for you.

from navigation2.

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.