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

n1k31t4's profile - activity

2021-08-14 17:25:21 -0500 received badge  Famous Question (source)
2019-03-01 12:35:11 -0500 marked best answer Python 3 - the state of things

Hello, a newcomer to the ROS scene here,

If this is discussed or described somewhere in depth, and I have just missed it, please let me know!

I am building a ROS programme which will contain a mixture of C++ and Python nodes. I am wondering what the best practice is regarding Python versions? I assume it makes sense to use a consistent version of Python, as in all projects, ROS or not. However, since one basic concept of ROS is that messages are published in a consistent syntax (allowing nodes of C++ and Python to communicate), I am wondering why mixing Python version should pose an issue.

I found this question as a Github issue for rospy. Dirk hints that it is possible if the code works under both python2 and python3, but I wondering if anyone has tips or references for doing this. Are things any different if using ROS2?

P.s. - rospy says that the best place for such questions is here :)

2018-09-13 01:46:00 -0500 received badge  Notable Question (source)
2018-05-29 03:01:35 -0500 commented question Cannot import custom message after successful `catkin_make`

No, only in the /msg directory within my_package.

2018-05-29 01:57:23 -0500 received badge  Popular Question (source)
2018-05-28 12:00:35 -0500 commented question Cannot import custom message after successful `catkin_make`

Added further information and test results

2018-05-28 12:00:32 -0500 edited question Cannot import custom message after successful `catkin_make`

Cannot import custom message after successful `catkin_make` I am having issues using a custom message. I have the messag

2018-05-28 10:32:00 -0500 asked a question Cannot import custom message after successful `catkin_make`

Cannot import custom message after successful `catkin_make` I am having issues using a custom message. I have the messag

2018-05-28 10:29:10 -0500 asked a question Custom message not available for import after `catkin_make`

Custom message not available for import after `catkin_make` I am having issues using a custom message. I have the messag

2018-05-08 10:18:06 -0500 received badge  Famous Question (source)
2018-02-14 03:54:51 -0500 commented answer Python 3 - the state of things

@allenh1 - Thanks for your response! I"m still unclear about one thing - when you say to 'fall back onto Python 2', will

2018-02-14 03:50:05 -0500 edited question Accidental repost of same question.

Which Python versoins are stable? This was an accidental repost of the same question.

2018-02-14 03:50:05 -0500 received badge  Editor (source)
2018-02-14 03:49:50 -0500 edited question Accidental repost of same question.

Which Python versoins are stable? This was an accidental repost of the same question.

2018-02-09 16:22:09 -0500 received badge  Notable Question (source)
2018-02-09 15:06:04 -0500 received badge  Student (source)
2018-02-09 14:46:23 -0500 received badge  Popular Question (source)
2018-02-09 07:09:06 -0500 asked a question Python 3 - the state of things

Python 3 - the state of things Hello, a newcomer to the ROS scene here, If this is discussed or described somewhere in

2018-02-09 07:09:06 -0500 asked a question Accidental repost of same question.

Which Python versoins are stable? Hello, a newcomer to the ROS scene here, If this is discussed or described somewhere