my task is to send telemetry Data from one Pixhawk 2.4. to another via CAN. I decided to use UAVCAN, cause it’s already intagrated in px4 Firmware. I build two modules containing publisher and subscriber example from UAVCAN.org (https://uavcan.org/Implementations/Libuavcan/Tutorials/3._Publishers_and_subscribers/).
When I try to compile the code with command make px4_fmu-v3_default, I got followoing error:
fatal error: iostream: No such file or directory
Then I included uClibc++ library from https://bitbucket.org/nuttx/uclibc/src/master/, as recomended by Nuttx. However I got this message again.
Does someone know how to fix that problem and succesfully compilate UAVCAN examples?
Or might it be better to use another CAN protocol for my porpouses?