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 :
[x] Anomaly report (something appears to not work correctly)
[ ] Enhancement request (describe the enhancement being requested)
[ ] Other (please ensure the description clarifies why the issue doesn’t fall into either of the above categories)
Descriptive summary
Attempting to run rviz from inside carma exec on a VM results in a segfault
Running either of the following commands
carma exec rviz
# Or
carma exec # To enter carma shell
rviz
These will cause the following exception
[ INFO] [1599586803.100088666]: rviz version 1.12.17
[ INFO] [1599586803.100353617]: compiled against Qt version 5.5.1
[ INFO] [1599586803.100393381]: compiled against OGRE version 1.9.0 (Ghadamon)
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
Segmentation fault (core dumped)
This functionality was working in the 3.3.0 release
Carma version where this issue was discovered
develop after carma 3.3.0
Expected behavior
Rviz can be run from carma exec both on vehicle machines and on VMs.
Actual behavior
Rviz fails to launch on VMs producing the error shown above.
It seems the error is rviz specific not gui specific as RQT can still be run.
carma exec rqt
Steps to reproduce the actual behavior
See above commands in description.
Note: A work around is to use the following command on the VM
carma exec -i usdotfhwastol/carma-platform:CARMASystem_3.3.0 rviz
Types of Issue
Descriptive summary
Attempting to run rviz from inside carma exec on a VM results in a segfault Running either of the following commands
These will cause the following exception
This functionality was working in the 3.3.0 release
Carma version where this issue was discovered
develop after carma 3.3.0
Expected behavior
Rviz can be run from carma exec both on vehicle machines and on VMs.
Actual behavior
Rviz fails to launch on VMs producing the error shown above.
It seems the error is rviz specific not gui specific as RQT can still be run.
Steps to reproduce the actual behavior
See above commands in description.
Note: A work around is to use the following command on the VM carma exec -i usdotfhwastol/carma-platform:CARMASystem_3.3.0 rviz
Related work
It seems likely the issue was introduced during the development of the fix for https://github.com/usdot-fhwa-stol/carma-platform/issues/733 (Jira issue CAR-2844)