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

[Other issue]: Unable to run lasersacn_detector #15

Closed
Avisheet opened this issue Mar 14, 2024 · 2 comments
Closed

[Other issue]: Unable to run lasersacn_detector #15

Avisheet opened this issue Mar 14, 2024 · 2 comments

Comments

@Avisheet
Copy link
Contributor

Avisheet commented Mar 14, 2024

Description

I have cloned the rmf_obstacle_detectors and other needed open-rmf repository. I have also successfully ran the demo simulations but while running the below code it's stuck at waiting to configure....

ros2 run rmf_obstacle_detector_laserscan laserscan_detector
[INFO] [1710419018.078797699] [laserscan_obstacle_detector]: Setting parameter range_threshold to 1.000 meters
[INFO] [1710419018.078900384] [laserscan_obstacle_detector]: Setting parameter min_obstacle_size to 0.750 meters
[INFO] [1710419018.078927062] [laserscan_obstacle_detector]: Setting parameter scan_topic_name to lidar/scan
[INFO] [1710419018.078939014] [laserscan_obstacle_detector]: Setting parameter level_name to L1
[INFO] [1710419018.078949124] [laserscan_obstacle_detector]: Setting parameter calibration_sample_count to 10
[INFO] [1710419018.078955505] [laserscan_obstacle_detector]: Waiting to configure...

Screenshot from 2024-03-14 17-53-52

@Avisheet
Copy link
Contributor Author

@Yadunund can you guide me regarding this ?
So that I can work further in it

@Yadunund
Copy link
Member

The node is a ROS 2 Lifecycle node.
it might be worth familiarizing yourself with

To configure and activate the node

# to configure
ros2 lifecycle set /laserscan_obstacle_detector configure
# to activate
ros2 lifecycle set /laserscan_obstacle_detector activate

I shall close this ticket. If you could open a PR to add this documentation that would be appreciated.

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

2 participants