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

Python bindings not working #18

Open
luator opened this issue Apr 7, 2017 · 2 comments
Open

Python bindings not working #18

luator opened this issue Apr 7, 2017 · 2 comments

Comments

@luator
Copy link

luator commented Apr 7, 2017

Hello,

I am unable to use the Python bindings of this package.
After compilation (using catkin build), I can import occupancy_grid_utils but it has no members.
When I cd into the src directory and run python python_test.py I get the following error:

Traceback (most recent call last):
  File "python_test.py", line 5, in <module>
    import occupancy_grid_utils_python as gu
  File "/home/fwidmaier/ws/src/occupancy_grid_utils/src/occupancy_grid_utils_python/__init__.py", line 10, in <module>
    from .str import *
  File "/home/fwidmaier/ws/src/occupancy_grid_utils/src/occupancy_grid_utils_python/str.py", line 56, in <module>
    Cell.__str__ = cell_str
NameError: name 'Cell' is not defined

Edit: Forgot to mention that I am using ROS Kinetic on Ubuntu 16.04 (in case it matters)

@sabrinamoh1
Copy link

Hi,
Did you close this issue? What was your solution? I am experiencing a similar problem.

@luator
Copy link
Author

luator commented Oct 7, 2021

To be honest, I don't remember anymore... But I assume if I had found a solution back then, I would have posted it here, so probably I didn't find one.

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

2 participants