I have followed the following link to get everything setup for my TX2 development board:
I have also changed the correct parameters for allowing connecting in the full parameters list via MP.
I put my drone into GUIDED mode and then execute my code to attempt to simply arm. Below is the code for this:
using namespace std;
if(!nav.arm()) cout<<"System ARMED"; else cout<<"Failed to ARM system";
When executed, i get the following error that it failed to ARM the system. I check the flytos services to make sure they are running and that is good, and the license is valid for the system.
I am not sure what to do next to allow autonomous control via onboard cpp app.