Giter VIP home page Giter VIP logo

Comments (4)

matlabbe avatar matlabbe commented on June 15, 2024

You may create 2 databases, one for each floor. You can either kill the node and reload with other database, or call service rtabmap/load_database.

If you want to keep both floors in same database, after mapping the first floor you call service rtabmap/pause in the elevator, rotate the robot so it doesn't see the same last image of the first floor session, then call rtabmap/trigger_new_map and rtabmap/resume to continue mapping. Map the second floor. After the run, you will have a single database with 2 disjoints maps inside. On localization mode, the robot would switch between the maps implicitly after exiting the elevator. The occupancy grid map should be updated based on the map the robot is now in.

from rtabmap.

qetuo105487900 avatar qetuo105487900 commented on June 15, 2024

hello , @matlabbe .
if i perfer use call service rtabmap/load_database .
does rtabmap localizate automatic when i use joystick move robot to 2f ?

are this steps right ?
run sensor -> automatic localization at 1f a points -> navigation move to elevator -> call service rtabmap/load_database when take elevator -> automatic localization at 2f (out of elevator) -> navigation move to 2f b point .

from rtabmap.

matlabbe avatar matlabbe commented on June 15, 2024

In your example, I assume that you already created two databases, one for each floor. If you know on which floor the robot should be, you can indeed call rtabmap/load_database with the corresponding database when it is in the elevator.

from rtabmap.

qetuo105487900 avatar qetuo105487900 commented on June 15, 2024

@matlabbe , so, use service call can change the initial pose and database_path at the same time?

from rtabmap.

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.