I am new to Raspberry Pi and Navio2. I have successfully built and run most of the sample code documented here:
My project requires that I send both GPS data (Lat, Long, Altitude, Velocity, Track angle, etc…) and IMU data (pitch, roll, heading) over TCP to another piece of hardware on the network. The AHRS example sends IMU data over TCP, and the GPS w/uCenter example sends GPS data over TCP. Is it possible to access both sets of data from the same C++ code? It’s not obvious to me how the two sets of code could be combined to put everything I need into a single executable. If anybody has done something similar, I would love to see some sample code.