Hi to everyone,
my team and I are running camera / dnn based object detection on PX2 and want to utilize ROS for our software environment. We are running DW 0.6.54 installed by DriveInstall 5.0.5.
Halfway through writing this text I found the fix for the problem I am describing in the following. I am still posting this for anyone who has the same issue.
Steps to reproduce:
- I installed ROS following the instructions here: https://devtalk.nvidia.com/default/topic/1011002/general/cross-compiling-driveworks-on-the-px2-with-ros
- with the alternative for step 9 proposed here: https://devtalk.nvidia.com/default/topic/1026024/general/issue-when-install-ros-kinetic-desktop-on-px-2-autochauffeur-p2379-with-ubuntu16-04-/
- (after step 10 I did rosdep init and rosdep update)
- -> ROS is running like a charm
After this I get “Cannot find function NvEglApiGetAccess” followed by Driveworks exception whenever running a program that initializes an image streamer. (samples I tried are sample_camera_gmsl, sample_object_detector etc…).
Workaround: run sudo -i. Then start the sample.
Hope this helps anyone who is possibly struggling with the same issue.