I have been following the tutorial automatic-bridge-code-generation in order to get a Client and Agent running on my pixhawk and raspberry pi.
I am taking the Manually Generate Client and Agent Code approach.
I first added set(GENERATE_RTPS_BRIDGE off) to the top of my .cmake file. Then I deleted both:
Then I ran the following:
python Tools/generate_microRTPS_bridge.py -s msg/sensor_baro.msg -r msg/sensor_combined.msg
According to the tutorial the generated micrortps_client directory should contain:
This is not the case, the actual generated tree is:
There is no CMakeLists.txt, as a result when running make on px4fmu-
I get the following error:
CMake Error at cmake/nuttx/px4_impl_nuttx.cmake:208 (get_target_property):
get_target_property() called with non-existent target
Call Stack (most recent call first):
which is due to the modules/micrortps_bridge/micrortps_client line being present in .cmake.
Reason being this module does not contain a CMakelists.txt file which is not generated.
I guess that some files should be removed. This is not clear from the tutorial.
I will investigate further.