Hello all. I am a newbie to this forum. I ll get straigt to my question.
I want to run a file called control.cpp that is a ROS program. However, this program contains of a line #include <torch/torch.h>, and i want to display a simple tensor in a ROS program. Can I do this without any building? Because there is a conflict between ROS CMakeLists.txt and Libtorch’s CMakeLists.txt files. I get a lot of errors, and though I have seen questions related to these on PyTorch forums, none of them have explained how to solve this issue.
I have also tried to build from source, but I couldn’t get it to work.
It would be of great help, if someone could help me out with this issue.
Thank you so much!