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

High CPU Usage in the Dora Environment When Running SLAM with PCL Library #651

Open
ZcanMelo opened this issue Sep 10, 2024 · 7 comments
Open

Comments

@ZcanMelo
Copy link

I am running the same SLAM algorithm code on the NVIDIA Orin platform using both Dora and ROS environments.
ROS
DORA
The first image shows the CPU usage in the ROS environment, while the second image shows the CPU usage in the DORA environment.

Despite identical sensors and controllers, the CPU usage is significantly higher in the Dora environment. The high CPU consumption has been traced to the align function from the PCL library.
align

I am seeking to understand the reason behind this difference in CPU usage and is considering whether it could be due to compatibility issues between the Dora environment and the PCL library.

@Hennzau
Copy link
Collaborator

Hennzau commented Sep 10, 2024

Hi! thanks for the report, can you tell us what is your dora version and how you installed this version?

@ZcanMelo
Copy link
Author

Hi! My Dora version is 0.3.2. I installed it via the Releases page, downloading both the zip and whl files.

@Hennzau
Copy link
Collaborator

Hennzau commented Sep 10, 2024

Okay, so 0.3.2 is old, can you give a try with 0.3.6?

@ZcanMelo
Copy link
Author

I received it, thank you for your response, I will try it.

@starlitxiling
Copy link
Contributor

Hi! Could you try to comment out your output statements, such as printf or cout, and then test again? You can use the fprintf function to output debugging information to a file.

@ZcanMelo
Copy link
Author

Hello, thank you for your reply. I have already tried commenting out the print statements, but the effect was not significant.

@haixuanTao
Copy link
Collaborator

Are you sure, you're running the same frequency?

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

4 participants