Git Product home page Git Product logo

map-merge's People

Contributors

hrnr 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

Watchers

 avatar  avatar  avatar

map-merge's Issues

Map not correctly matched

Hi;

I'm trying to use the node to merge two point clouds, one coming from a Ouster OS0 and another coming for an OS1 mounted in two huskies, all simulated in gazebo. When I run the node it subscribes to the point clouds, and generate a map, but it is not correct matched, as you can see:

I am using it on Ubuntu 18.04, with the default configuration. Have you any idea why this happens?
cloud_1
cloud_2
real

about the package

Hi
I have download the package , but when i catkin_make , some errors occur . Could you help me to slove these errors?
2018-05-09 15-09-51

Issue in merging PointCloud2 data

I have the input of multiple pointcloud2 input obtained from the simulated VLP16 sensor in different robots and attempt to combine the point cloud topics from all the robots into one point cloud before feeding it into octomap,
The pointcloud2 stream I used to input is "velodyne_points" and I have the namespace of the turtlebot defined as "tb3_1".

The declaration of the launch file is set up as follows:

    <node pkg="map_merge_3d" type="map_merge_node" respawn="false" name="map_merge_node"  output="screen">
        <param name="robot_map_topic" value="velodyne_points" />
        <param name="robot_namespace" value="tb3" />
        <param name="merged_map_topic" value="merged_map2" />
        <param name="world_frame" value="world" />
        <param name="discovery_rate" value="0.05" />
        <param name="estimation_rate" value="0.01" />
        <param name="compositing_rate" value="0.3"/>
        <param name="publish_tf" value="true"/>
      </node> 

The setup I am using is ROS Melodic with PCL 1.8.1+dfsg1-2ubuntu2.18.04.1
however, I keep getting the following error message:

[pcl::PFHEstimation::compute] input_ is empty!
[pcl::PFHEstimation::initCompute] Init failed.
[pcl::PFHEstimation::compute] input_ is empty!
[pcl::PFHEstimation::initCompute] Init failed.
[pcl::PFHEstimation::compute] input_ is empty!
[pcl::PFHEstimation::initCompute] Init failed.

Let me know if there is a solution or I have done the configuration wrongly.
Thanks.

ROS2 roadmap

Just wondering if there are any plans to port this to ROS2

Issue in merging octomaps (Input is Empty)

Hi. I am trying to merge two maps generated online using octomaps. I use the octomap_point_cloud_centers as the robot_map_topic. The map_merge node will eventually crash. Initially, I get

[DEBUG] [1587718924.857625329, 4961.870000000]: received map update
[DEBUG] [1587718924.861070997, 4961.874000000]: received map update
[DEBUG] [1587718925.630798058, 4962.626000000]: Map compositing started.

However, eventually I get the following errors after which the node crashes

[pcl::ShapeContext3DEstimation::compute] input_ is empty!
[pcl::ShapeContext3DEstimation::initCompute] Init failed.
[pcl::ShapeContext3DEstimation::initCompute] Init failed.
[pcl::ShapeContext3DEstimation::compute] input_ is empty!
[pcl::ShapeContext3DEstimation::initCompute] Init failed.
[pcl::ShapeContext3DEstimation::initCompute] Init failed.

It does this with all types of descriptors.

I have tried before to merge maps generated by rtabmap and was done successfully. However, it doesn't seem to work with octomap.

@hrnr Any help is appreciated.

Here is the launch file I am using in case it helps in debugging.

<launch>
    <!--
        Reference : http://wiki.ros.org/map_merge_3d
    -->
    <arg name="rtabmap" default="true"/>
    <arg name="octomap" default="false"/>

    <arg if="$(arg rtabmap)" name="robot_map_topic" value="cloud_map"/>
    <arg if="$(arg octomap)" name="robot_map_topic" value="octomap_point_cloud_centers"/>

    <group ns="map_merge">
        <node pkg="map_merge_3d" type="map_merge_node" respawn="false" name="map_merge_3d" output="screen">
            <param name="robot_map_topic" value="$(arg robot_map_topic)"/>
            <param name="robot_namespace" value=""/>
            <param name="merged_map_topic" value="map"/>
            <param name="world_frame" value="world"/>
            <param name="compositing_rate" value="1.0"/>
            <param name="discovery_rate" value="0.05"/>
            <param name="estimation_rate" value="0.01"/>
            <param name="publish_tf" value="true"/>
            <!-- and all the other map merging parameters -->
            <param name="resolution" value="0.05"/>
            <param name="descriptor_type" value="SHOT" /> <!--PFH, PFHRGB, FPFH, RSD, SHOT, SC3D -->
            <param name="matching_k" value="5" />
            <param name="confidence_threshold" value="0.0"/>
            <param name="output_resolution" value="0.05"/>
            <param name="estimation_method" value="MATCHING"/> <!-- MATCHING, SAC_IA-->
            <param name="keypoint_type" value="SIFT" /> <!-- HARRIS, SIFT-->
        </node>
    </group>
</launch>

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.