-
Notifications
You must be signed in to change notification settings - Fork 34
NuttX network configuration #9
Comments
My guess is that somehow, the code in the Desktop solution queries the OS for the interface and sets up a transport layer in each interface. If that's the case where is it performed? How can we hack NuttX to do so? |
Network not showing any trace of packets received from the embedded platform. Next to look at:
|
Activated NuttX networking debug and getting:
|
Apparently the
while in the embedded environment there're none. |
In this call https://github.com/ros2/ros2_embedded_nuttx/blob/master/nuttx/net/udp/udp_callback.c#L90, |
|
Apparently the embedded board gets stucked at:
Seems to be related to the issue #5. The one causing this matter issue is https://github.com/ros2/ros2_embedded_nuttx/blob/master/dds/src/co/sock.c#L707. This seems similar to what happens in #8. Interestingly if these locks are commented, the code seems to keep running but the dds chat application never finishes to initialize. This might indicate that there's an issue with threads and locks. |
Threading works just fine in an isolated way (test code using NuttX). Tested with 0f5528c. |
The issue seems to remain at the locators (interfaces) at the embedded board. In the Desktop i get:
While in the embedded board:
|
Fixed. Now NuttX creates 4 locators (two for the unicast interface and two for the multicast) |
In NuttX, the result of executing
!!sdisc
:while in Ubuntu:
Networking setup needs to be inspected in NuttX.
The text was updated successfully, but these errors were encountered: