GithubHelp home page GithubHelp logo

mkjia / beautymap Goto Github PK

View Code? Open in Web Editor NEW
68.0 68.0 1.0 59.1 MB

[RA-L'24] BeautyMap: Binary-Encoded Adaptable Ground Matrix for Dynamic Points Removal in Global Maps

Python 100.00%
autonomous-driving dynamic-point-removal mapping robotics

beautymap's People

Contributors

kin-zhang avatar mkjia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

levenjun

beautymap's Issues

`IndexError: index 0 is out of bounds for axis 0 with size 0` with custom data

Hello!

I am trying to use BeautyMap on a custom map. I have a PCD map named data/raw_map.pcd and each frame composing it into files data/pcd/000000.pcd, data/pcd/000001.pcd, etc. Each frame has VIEWPOINT set correctly (e.g VIEWPOINT 5595.09 14392.2 819.099 0.799272 -0.014222 -0.00993263 0.600719).

The overall map is around 2.0GB. I have around 4000 frames of around 600KB each.

Based on you example I have tried the following command: python main.py --data_dir ./data/ --dis_range 40 --xy_resolution 1 --h_res 0.5.

Which leads to the following error:

$ python main.py --data_dir ./data/ --dis_range 40 --xy_resolution 1 --h_res 0.5
We will process the data in folder:  ./data/ 
[LOG] Min xyz: 4869.56689453125, 14181.6611328125, 775.1815795898438 
[LOG] Max/Min value on x: 1116.04150390625/0.0, y: 1298.7529296875/0.0
[LOG] Matrix order: 1299
Generating Map Binary tree: 100%|█████████████████████████| 447494/447494 [02:59<00:00, 2489.03it/s]
Processing Frames:   0%|                                                   | 0/3895 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "main.py", line 136, in <module>
    fire.Fire(main)
  File "/home/vrichard/mambaforge/envs/beautymap/lib/python3.8/site-packages/fire/core.py", line 143, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/home/vrichard/mambaforge/envs/beautymap/lib/python3.8/site-packages/fire/core.py", line 477, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/home/vrichard/mambaforge/envs/beautymap/lib/python3.8/site-packages/fire/core.py", line 693, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "main.py", line 84, in main
    Qpts.generate_query_binary_tree(minz_matrix_roi)
  File "/home/vrichard/SLAM/tools/BeautyMap/lib/bee_tree.py", line 183, in generate_query_binary_tree
    idx = newidxy[ib][0]
IndexError: index 0 is out of bounds for axis 0 with size 0

Do you have any idea what is the issue here?

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.