How to control STM32 by Jetson Nano with ROS? (STM32F103RCT6)
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.
Asked by TorLee on 2021-11-16 09:51:48 UTC
Answers
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.
Asked by Dragonslayer on 2021-11-16 10:37:09 UTC
Comments
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?
Asked by TorLee on 2021-11-17 14:38:00 UTC
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.
Asked by Dragonslayer on 2021-11-17 16:43:50 UTC
I got it with this tutorial: https://blog.csdn.net/qq_37416258/article/details/84844051
Asked by TorLee on 2021-11-19 14:11:21 UTC
Comments
This seems to be a duplicate of #q390833
Asked by Mike Scheutzow on 2021-11-19 19:48:32 UTC