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

Build problem - Blocked at 50% #8

Open
Valneltin opened this issue Apr 16, 2021 · 1 comment
Open

Build problem - Blocked at 50% #8

Valneltin opened this issue Apr 16, 2021 · 1 comment

Comments

@Valneltin
Copy link

Hello,

I have a problem during the build when I run the build of the ydlidar_ros2_driver package after the colcon build --symlink-install :

[1min 16.4s] [0/1 complete] [ydlidar_ros2_driver:build 50% - 1min 15.5s]

I use Ubuntu 20.04 Desktop on a Raspberry Pi.
I've follow the best as I could the indication to install YDLidar-SDK package and seems to work when I run the test.
So I don't know where there is a problem.

Do you have an idea ? Could you help me please ?

Have a good day

@swobias
Copy link

swobias commented May 8, 2023

I had the same issue first. The problem is that your raspi has only limited RAM. Mine had only one GB of RAM and therefore stopped doing anything when the RAM resources were used. The solution is to give your pi additional RAM. This can be achieved by providing swap memory.
If your pi runs Ubuntu you can follow along this tutorial:
https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-20-04-de (it says ubuntu 20.04 but worked fine for 22.04)
If your pi runs on raspian you could follow this one:
https://pimylifeup.com/raspberry-pi-swap-file/

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