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

How to control STM32 by Jetson Nano with ROS? (STM32F103RCT6) [closed]

asked 2021-11-16 08:51:48 -0500

TorLee gravatar image

Hi! Before anyone writes for me to try to use stm32duino or anything related to Arduino IDE, I'll advance saying that I've already tried it and it didn't work for me, there's some incompatibility between using STM32 with ARDUINO IDE and the JETSON Nano architecture (there is also on Raspberry PI 4, both have ARM64). I was thinking about some way to pogramming STM32 for to allow that JETSON NANO, with ROS, to control it. Can anybody help me?

comments: Using microROS is unfeasible since I don't use ROS2.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Mike Scheutzow
close date 2021-11-19 18:48:09.205286


This seems to be a duplicate of #q390833

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-11-19 18:48:32 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2021-11-16 09:37:09 -0500

Dragonslayer gravatar image

Rosserial link has stm32F1 compatibility. Or you could go for your own serial hardwareinterface link implementing yourself on the MC. Be aware that there are several stm32 arduino core libraries (different pinouts etc.). Much of the documentation and tutorials on the web are for different libraries (mixup), making it very hard to get things to work with arduino IDE.

edit flag offensive delete link more


Thank you very much for your reply! I am a beginner in ROS and I have some difficulties. For example: I don't know where to make the code to program the STM32, if it's in some IDE and you need to import some library to use ROS... I don't really know. I don't want to take advantage of your willingness to answer me, but can you tell me what knowledge I need to know these things?

TorLee gravatar image TorLee  ( 2021-11-17 13:38:00 -0500 )edit

You should be able to do it in arduino ide the f1 series is available. But as I noted its a mess, and copy pasting codeblocks might not work. Its very importent to be sure that the tutorials and documentation are for the right core libraries (different pinout, and pin naming conventions etc.). Then there is also the st workbench for eclipse ide (the "professional" ST way to program the mc's), but I dont know if you get rosserial as a library. But in general this is more of an stm32 issue and there are better forums for this.

Dragonslayer gravatar image Dragonslayer  ( 2021-11-17 15:43:50 -0500 )edit

answered 2021-11-19 13:11:21 -0500

TorLee gravatar image

I got it with this tutorial:

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2021-11-16 08:51:48 -0500

Seen: 602 times

Last updated: Nov 19 '21