Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Loading Firmware to esp32 if my project has 2 file .c ? #1818

Open
flux0-0 opened this issue Aug 17, 2024 · 4 comments
Open

How to Loading Firmware to esp32 if my project has 2 file .c ? #1818

flux0-0 opened this issue Aug 17, 2024 · 4 comments

Comments

@flux0-0
Copy link

flux0-0 commented Aug 17, 2024

My project has 3 file, i do " ros2 run micro_ros_setup configure_firmware.sh myproject --transport serial " - Successfully
" ros2 run micro_ros_setup flash_firmware.sh " - Successfully , "ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyUSB0 " - Successfully . But only node, topic from the app.c created, and led_control.c is not. How to fix it ?
P/s: My project save in folder FreertosApp/Firmware

4c674daf-2c84-4968-860c-b908d4d2bb1f

@hippo5329
Copy link

micro-ros-platformio is a good alternaive to micro-ros-setup. All files in project src directory will be compiled. You may follow my wiki. https://github.com/hippo5329/micro_ros_arduino_examples_platformio/wiki

@flux0-0
Copy link
Author

flux0-0 commented Aug 18, 2024

micro-ros-platformio is a good alternaive to micro-ros-setup. All files in project src directory will be compiled. You may follow my wiki. https://github.com/hippo5329/micro_ros_arduino_examples_platformio/wiki

i plan to use esp-idf with platformio and microros, do you have this tutorial ? And What option do you suggest for a robot car project using cameras and lidar? Esp-idf or adruino ?

@hippo5329
Copy link

hippo5329 commented Aug 18, 2024

Arduino has more drivers support than esp-idf. I would suggest micro-ros-patformio, which uses arduino framework. You may follow another wiki to build the robot base/ motor controller. https://github.com/hippo5329/linorobot2_hardware/wiki

@hippo5329
Copy link

hippo5329 commented Aug 18, 2024

pc --wifi-- robot computer eg rpi5 with lidar, camera --usb serial-- esp32/pico, mpu6050, tb6612..

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

No branches or pull requests

2 participants