Skip to content

Fix native ethernet#37

Merged
Acuadros95 merged 2 commits intomicro-ROS:mainfrom
fischejo:fix/native_ethernet
Jul 11, 2022
Merged

Fix native ethernet#37
Acuadros95 merged 2 commits intomicro-ROS:mainfrom
fischejo:fix/native_ethernet

Conversation

@fischejo
Copy link
Copy Markdown
Contributor

The board_microros_transport = native_ethernet for the Teensy 4.1 doesn't work out of box. These two fixes are necessary.

My setup:

  • PlatformIO Core, version 5.2.4
  • ros2 Galactic
  • Teensy 4.1
  • Ethernet Bridge (no direct connection)

Comment thread platform_code/arduino/native_ethernet/micro_ros_transport.cpp
Comment thread platform_code/arduino/native_ethernet/micro_ros_transport.h
@pablogs9 pablogs9 requested a review from Acuadros95 July 11, 2022 05:26
@Acuadros95
Copy link
Copy Markdown
Contributor

Acuadros95 commented Jul 11, 2022

Please rebase onto main to fix CI

fischejo added 2 commits July 11, 2022 07:50
The Teensy 4.1 requires a direct replacement for the normal
Ethernet.h library by the NativeEthernet library.

NativeEthernet is a builtin library in platformio, therefore no extra
installations are required.
The locator struct is not handed over, but the transport_* callbacks
depend on it. This result in a  NULL pointer in `transport->args`.
@Acuadros95 Acuadros95 merged commit 2ebb324 into micro-ROS:main Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants