Skip to content

Python bindings not working #18

@luator

Description

@luator

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions