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

Scan stops publishing after a few seconds #62

Open
roni-kreinin opened this issue Oct 7, 2021 · 2 comments
Open

Scan stops publishing after a few seconds #62

roni-kreinin opened this issue Oct 7, 2021 · 2 comments

Comments

@roni-kreinin
Copy link

I am having an issue where the node seems to stop publishing the scan a few seconds after it starts. The scan is published properly for the first few seconds and I can see it in rviz, but after maybe 5 seconds it stops. I am using ROS2 Galactic with the foxy branch of this repo.

Here is the node in the launch file:

Node(
            package='pointcloud_to_laserscan', executable='pointcloud_to_laserscan_node',
            remappings=[('cloud_in', '/camera/depth/points'),
                        ('scan', '/scan')],
            parameters=[{
                'min_height': 0.0,
                'max_height': 1.0,
                'angle_min': -1.5708,  # -M_PI/2
                'angle_max': 1.5708,  # M_PI/2
                'angle_increment': 0.0087,  # M_PI/360.0
                'scan_time': 0.3333,
                'range_min': 0.3,
                'range_max': 10.0,
                'use_inf': True,
                'inf_epsilon': 1.0
            }],
            name='pointcloud_to_laserscan'
        )
@hidmic
Copy link
Collaborator

hidmic commented Oct 19, 2021

@roni-kreinin a minimal yet complete example to reproduce your issue would help greatly. Loop playback of a bagfile would do.

@rsc9421
Copy link

rsc9421 commented Jan 19, 2023

I have the same issue

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