Comments (4)
Hi @asbe ! Thanks for the tips!
Actually we never tried it on WINDOWS due to the ROS package wrapper, but it is very strange behavior.. the array is create with "MAXLEVEL + 1" size so also an index of MAXLEVEL is admissible.. when you debug it what is the actual "RandomLevel" value compared with the "udpate" size? ..
However the randomness here is added to choose different depths, for the current new node, in the hidden SkipList superstructure. This randomness is the way to let the SkipList looks like similar to a B-Tree without the drawbacks of the rebalancing.
from skimap_ros.
Hi again. Thanks for the quick response. I've been looking at the code again. When debugging update
is of size MAXLEVEL
, and so is all of the forwards
, so the corruption occurs in writing update[level] = header_node_;
when new_level
is randomly chosen to be MAXLEVEL
. I have no clue why this occurs, however in many cases it seems that zero-index of the nodes are never used?!
from skimap_ros.
No ok! it's a bug.. because the update
is created with
SkipListNode<K, V, MAXLEVEL> *update[MAXLEVEL];
Try to modify it with
SkipListNode<K, V, MAXLEVEL> *update[MAXLEVEL+1];
in such a way as to be consistent with forwards
.
Level 0 is never used because at level 0 is present the Full Linked List represented by the SkipList.. the higher is level, instead, the shorter is the representation of the list (i.e. random elements are conceptually removed)
from skimap_ros.
Yes! Seems to fix it. I'll close the issue, but will not submit a PR for 2 characters edit.. :-)
from skimap_ros.
Related Issues (20)
- Cannot show the octomap HOT 2
- error about slamdunk_tracker.launch HOT 2
- 3D mapping result is weired HOT 4
- Local_robot_map HOT 3
- Global Status:Fixed Frame No tf data. Actual error: Fixed Frame [odom] does not exist HOT 3
- Clear occupied space HOT 2
- Implementation on quadrotor HOT 2
- SkiMap integration with Velodyne Lidar HOT 15
- Pose together with Points integration into the map HOT 2
- Iterate over occupancy in map cells HOT 2
- 2D grid visualization HOT 1
- SIGDEV running skimap_live HOT 8
- 2.5 D Map HOT 1
- Tiles 2D visualization
- Skimap with synthetic data HOT 5
- savetofile for HOT 4
- How to Saving Map ? HOT 1
- How can i get the octomap? HOT 1
- The tiago_lar.bag does not exist HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skimap_ros.