usdot-fhwa-stol / carma-platform

CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication. Doxygen Source Code Documentation :
https://usdot-fhwa-stol.github.io/documentation/carma-platform/
403 stars 124 forks source link

fix segfault #2468

Closed MishkaMN closed 1 week ago

MishkaMN commented 1 week ago

PR Details

Description

Previously in https://github.com/usdot-fhwa-stol/carma-platform/pull/2467, cpu usage script was merged. However, for some processes when tested on CDASIM run, the script is segfaulting. This fixes that issue where the proc["cmdline"] returns None

Related GitHub Issue

NA

Related Jira Key

https://usdot-carma.atlassian.net/browse/ARC-255

Motivation and Context

Discovered during creating plot for the usage.

How Has This Been Tested?

Tested on CDASIM run

Types of changes

Checklist:

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud