I am searching for a way to detect hardware configuration at compile and runtime
in my case I worked on NVIDIA Jetson AGX Orin Developer Kit(the one that looks like a cube) and I want to run the same software on another pc that has AGX Orin but has different commands to control periferics
What is the best way to detect the hardware that where I am compilling and running the software ?
I want to detect a NVIDIA Jetson AGX Orin Developer Kit and an ADLINK ROS 590.
It would be great if I can detect which device is compiling on or during runtime would work also
I have the proprietary software for the other vendor, how can I detect that I am on NVIDIA Jetson AGX Orin Developer Kit or another vendor’s AGX Orin at compile time or during runtime, I want to use the same software without changing all the time the board.