micro-ROS / micro_ros_setup

Support macros for building micro-ROS-based firmware.
Apache License 2.0
359 stars 131 forks source link

Micro_ros udp transport build issue on esp32 #631

Closed Apurva2510 closed 1 year ago

Apurva2510 commented 1 year ago

Issue template

Steps to reproduce the issue

ros2 run micro_ros_setup configure_firmware.sh motor_subscriber -t udp -i [YOUR IP] -p 8888

ros2 run micro_ros_setup build_firmware.sh

Expected behavior

100% build

Actual behavior

Screenshot from 2023-04-14 12-03-34

Additional information

When I try to build it with serial Transport the build is successful with some stderr outputs but when I try udp it does not seem to build

pablogs9 commented 1 year ago

Hello @Apurva2510 the recommended approach for using micro-ROS in ESP32 is using the component for ESP-IDF. Could you give a try using this repo: https://github.com/micro-ROS/micro_ros_espidf_component

Apurva2510 commented 1 year ago

Hello @Apurva2510 the recommended approach for using micro-ROS in ESP32 is using the component for ESP-IDF. Could you give a try using this repo: https://github.com/micro-ROS/micro_ros_espidf_component

@pablogs9 OK. I will try that approach.

Apurva2510 commented 1 year ago

Update: @pablogs9 The repo that you mentioned worked for the udp transport. Thanks a lot for that advise!

Acuadros95 commented 1 year ago

Closing as its solved