Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROS noetic? #7

Open
AdriannaGmz opened this issue May 31, 2021 · 3 comments
Open

ROS noetic? #7

AdriannaGmz opened this issue May 31, 2021 · 3 comments

Comments

@AdriannaGmz
Copy link

Is this branch intended to work on ROS noetic? I[m trying to execute the node but it keeps having troubles with python

@georgflick
Copy link

georgflick commented May 31, 2021

@AdriannaGmz Which error do you get? Are you using the reach_rs_driver_node from the scripts folder? There the shebang could be wrong.

With ros noetic and python 3 it should be:
#!/usr/bin/env python3

@bryceikeda
Copy link

To get it working in ROS Noetic I changed the shebang in both the reach_rs_driver.py and reach_rs_driver_node to
#! /usr/bin/python3
since that is where python3 is located for me.

Also, since python3 and python2 differentiate between str and byte differently as per this post, I just changed the following line


to be:
data = data.decode('UTF-8').strip().split()

@bochen87
Copy link
Contributor

bochen87 commented May 3, 2022

Awesome. If you submit a PR for it, we would be happy to look at it and merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants