ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Is it possible to use CANBUS protocol in a micro-ros application running on ESP32/STM32?

asked 2022-10-15 23:07:34 -0500

barling gravatar image

Hi all,

I have a motor control code running on ESP32(+ MCP2515) which is using CANBUS protocol to communicate with motor drivers. I decided to port my code to micro-ros(FREERTOS) however I couldn't find any information about canbus protocol with ESP32/STM32 chips.

In that link uavcan-to-ros2-bridge developers are discussing bringing CANBUS to the system and one of the answers says "Most of the existing Micro-ROS targets have native canbus hardware, so that’s probably how most people will get started with a hypothetical rmw_uavcan".

In another topic micro-ros-can-fd-support I see that the developers announced that micro-ROS supports CAN/FD transport in the RA Family 13 MCUs. However my ESP32/STM32 in not in that family of MCUs.

So my question is:

"Is there way to use my mpc CANBUS library and logic in the micro-ros application or is there anyway I can use CANBUS protocol on ESP32/STM32 using micro-ros?"

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2022-10-25 00:36:24 -0500

Pablogs gravatar image

Hello @barling you can write your own custom transport, please find more information here: https://micro.ros.org/docs/tutorials/...

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-10-15 13:45:09 -0500

Seen: 492 times

Last updated: Oct 25 '22