We get into an infinite loop at SBN, because some topics are set to be both command and telemetry. This happens because we use the same config file for both CFE and SBN bridges.
With these 2 fixes, I don't see the loop anymore and I can do the service call multiple times.
PS.- Attached the images I am testing with. Original has a size of 800x800. Since that one didn't transmit fully, I tested with scaled down versions (100x100 and 40x40) which work.
Test case: When we try to send an image (say 800x800, size 100KB) from rosfsw to rosgsw:
We get into an infinite loop at SBN, because some topics are set to be both command and telemetry. This happens because we use the same config file for both CFE and SBN bridges.
Temporal fix: Create different files:
cfe_ros2_bridge_plugin: Here we add a config file for SBN: https://github.com/traclabs/cfe_ros2_bridge_plugin/tree/hotfix/loop_sbn
cfe_sbn_bridge_plugin: Here we tell the SBN bridge to use the new config file: https://github.com/traclabs/cfe_sbn_bridge_plugin/tree/hotfix/loop_sbn
With these 2 fixes, I don't see the loop anymore and I can do the service call multiple times.
PS.- Attached the images I am testing with. Original has a size of 800x800. Since that one didn't transmit fully, I tested with scaled down versions (100x100 and 40x40) which work.