Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use in ROS2 #133

Open
vcozzolino opened this issue Jun 10, 2024 · 2 comments
Open

How to use in ROS2 #133

vcozzolino opened this issue Jun 10, 2024 · 2 comments

Comments

@vcozzolino
Copy link

vcozzolino commented Jun 10, 2024

Hi,

I have installed successfully all the packages on ROS2 Humble with Ubuntu 22.04.

Now I'm trying to figure out how to run the map creation. I tried looking online but I can't find much information. Assuming that I have Gazebo open with a robot deployed in it, what do I have to launch to start the data collection from the point cloud? Which scripts do I have to invoke?

I have tried with ros2 launch octomap_server ... with different .xml files.. but I guess I'm missing something.

@Tejal-19
Copy link

Is the issue solved ?

@gritelli
Copy link

On Humble, I'm trying to generate an octomap using the following command:
ros2 run octomap_server octomap_server_node --ros-args -r cloud_in:=/amr_1/pcd_map -p frame_id:=map
but I'm getting this :

[INFO] [1732100713.304798138] [octomap_server]: Publishing latched (single publish will take longer, all topics are prepared)
[WARN] [1732100713.310499430] [octomap_server]: Nothing to publish, octree is empty
[WARN] [1732100713.310569819] [octomap_server]: Could not open file 
[INFO] [1732100713.822978716] [octomap_server]: Message Filter dropping message: frame 'odom' at time 633.900 for reason 'discarding message because the queue is full'
[INFO] [1732100713.923510084] [octomap_server]: Message Filter dropping message: frame 'odom' at time 634.000 for reason 'discarding message because the queue is full'
...

I'm using a 3D lidar SLAM that publishes a pointcoloud2 topic (/amr_1/pcd_map). Not really sure how to address this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants