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

Reproducing same results as per ReadME's videos? #8

Open
HappySamuel opened this issue Jan 18, 2023 · 9 comments
Open

Reproducing same results as per ReadME's videos? #8

HappySamuel opened this issue Jan 18, 2023 · 9 comments

Comments

@HappySamuel
Copy link

Hi

I have successfully installed rmf_obstacle_detectors on ROS2 Humble. Although i have added obstacles into the simulation, but i still can't reproduce the lane closing as per the video attached in the ReadME. I believe i must have missing some package to run, as i read through the office.launch.xml from RMF Demos, there isn't any package that can do the lane closure. Do you know where can i find it?

Best
Samuel

@Yadunund
Copy link
Member

You'll need to run the lane_blocker executable that is available in this branch of rmf_ros2.

@HappySamuel
Copy link
Author

Hi @Yadunund

Thanks for the guidance. I have git clone this feature/rmf_obstacle branch of rmf_ros2 and tried colcon build --symlink-install it. However, the package building seems like taking forever, it keep on building at rmf_obstacle_ros2 package. Any idea why the colcon build seems stuck building rmf_obstacle_ros2 pacakge?

Best,
Samuel

@Yadunund
Copy link
Member

if you run top, is the ld processing active/running indefinitely?

If so, we've also noticed this behavior with slow performance of the ld linker. As a result, our recommendation has been to switch to lld linker and optionally clang compiler.
Instructions are already available in the open-rmf/rmf page
https://github.com/open-rmf/rmf#compiling-instructions

@HappySamuel
Copy link
Author

Hi @Yadunund

This is the screenshot of top on this ld. Is that what you mean of active/running indefinitely? as it's running 100% CPU since compilation start, even if i only run colcon build --symlink-install --packages-select rmf_obstacle_ros2

Screenshot from 2023-01-18 16-15-58

Ok, i will go and try the method you suggest. Do i need to do both lld linker and clang compiler? or just lld ?

Best,
Samuel

@HappySamuel
Copy link
Author

Hi @Yadunund

I followed the in and installed lld and clang, but when i compile it, these 2 errors popped out and compilation stopped.

Screenshot from 2023-01-18 17-15-26

How shall i resolved this issue?

Best,
Samuel

@Yadunund
Copy link
Member

I think you might also need to switch to the branch in this PR
open-rmf/rmf_internal_msgs#55

@HappySamuel
Copy link
Author

HappySamuel commented Jan 31, 2023

Hi @Yadunund

I have successfully compiled after following your latest instructions. However, i couldn't get it running, and i faced following issues when i ros2 launch it.
Screenshot from 2023-01-31 16-14-17

Here's how i setup the launch file.
Screenshot from 2023-01-31 16-14-58

Any suggestions for resolving this issue?

Best,
Samuel

@Yadunund
Copy link
Member

Based on your other ticket, I assume this issue has been resolved?

@HappySamuel
Copy link
Author

Hi @Yadunund

So far compiling issue resolved. But for reproducing same result as per video attached in ReadME, not yet. Especially when using human_detector_node, I am still struggling to get it up to work. Need your guidance.

Best
Samuel

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