Minimum update below to execute Pub/Sub demo on the mros2-mbed enviro…#7
Conversation
…nment. - Increased the size of a message buffer, which is used for the SEDP procedure, referring to the commit below. embedded-software-laboratory@35869c8 - made the sub-message parser for the unicast locator more strict to avoid invalid locatora, referring the commit above.
|
@smoriemb Thanks a lot! This PR will definitely help improve quality. |
|
I've confirmed this PR worked well on mros2-mbed. |
|
Thanks for your confirmation.
Maybe, your configuration for the amount of resource for lwip is not enough. And, I'm still not sure when/how we have to increase the value above. But, at least, the modification of this pull-request is required to run with Foxy no matter if the buffer size/socket number are enough or not. |
|
@smoriemb thanks for useful information! |
|
@takasehideki Other configuration parameters might affect the result. Anyway, we might better to check if each lwip function call returns error or not, as I got over the Mbed's buffer size problem before. |
|
Hi @smoriemb So, I decided to merge this PR. And I will create the issue for the ASP3 version and tackle it individually. I'm sorry for the late decision. I hope that you will continue to contribute to this repository in the future. |
Update embeddedRTPS to follow mROS-base/embeddedRTPS#7
|
@smoriemb I got it! The cause in ASP3 version is the size of each pbuf in the pool. We can communicate with Foxy nodes now! |
Related to the issue below, I prepared a minimum update for the embeddedRTPS to run the Pub/Sub demo with Foxy environment.
mROS-base/mros2#5
It seems that cacthing up the latest one also solve the problem. But, we can confirm your mROS 2 communicating with Foxy's node without a bit large update.