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

Only c++ code for rosserial-arduino, no python

asked 2020-08-07 07:24:42 -0500

milanns995 gravatar image

I'm total beginner, don't blame if I ask some thing stupid..

I trying to understand is there any way to implement python code instead of c++ on arduino side? For me python is much easier then c++ and thats why I want to code in python (I'm talking about rosserial-arduino , arduino side). I see only c++ code on internet

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-08-07 15:05:03 -0500

kscottz gravatar image

Most Arduino microcontrollers aren't powerful enough to run a full python implementation. Hence on the Arduino side you should use C/C++. While there is progress being made on python for microcontrollers (aka Circuit Python) this isn't supported on ROSSerial. You're going to need to bite the bullet and learn C/C++ to work with ROSSerial.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-08-07 07:24:42 -0500

Seen: 184 times

Last updated: Aug 07 '20