I am newbie in DDS and C++, and I used fastrtps to run dds code(dynamic example) in a raspberry(ubuntu server), which was successful. However, when I move subscribe part to another raspberry, two raspberries cannot find each other.
So far, I guess there are two reason:
- My cellphone(android) has firewall. Should I change cellphone to switch?
- I should use API to set raspberry-self ip, but I cannot find it suit for the example code result of command lsof -i -P -n
This is example code DynamicHelloWorldExample.
Thanks ><