I have been trying to develop an application that utilises both ROS and CUDA and is able to remotely build and run the binary. I think the main hurdle to this is to try to configure the remote system correctly in eclipse. A standalone CUDA C++ application works well with a simple make system. But with the ROS catkin build system this gets complicated. So there are instructions for local running of eclipse: IDEs - ROS Wiki. This works well but only for local setting. Has anyone had successful experience with setting both for remote compliation and deployment of the binary?( both release and debug)
I cannot connect a screen and monitor and run the application locally as my TX2 will be a remote system with no screen and keyboard access to.
I followed that and I got a CUDA sample project to run on both the host and the remote TX2. I’ve also been able to compile ROS code on the host and on the remote TX2 from nsight, but I’m having trouble running the code on the TX2 with my launch files as the source directory doesnt get taken over to the remote in the process.
Is there a way to do this? Or a way that would be compatible with nsight that I could launch and debug multiple nodes using sensor data from bag files?
After synchronizing the workspace to the remote location it re arranges the files in a way that they cannot be used in the same way one the host. If I change the file paths in the launch file I get a merge error.
Is there away to keep the file system set up on the host computer the same as the synchronized one?
The data isnt too large at this point, so I don’t think nfs mount would be useful at this point. Might be something handy in the future though. Thanks for the suggestion!
You can find guidance for building and running ROS from Eclipse (Nsight) here : IDEs - ROS Wiki . I have not run this remotely (yet). Perhaps this will give you the missing info. Please post back if you are successful.