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

Fix image format and include graph_nav_util in install #29

Merged
merged 2 commits into from
May 5, 2021

Conversation

heuristicus
Copy link
Owner

I was getting an attribute error when running spot_ros, caused by what seems to be an incorrect usage of image_pb2.Image.Format.IMAGE_RAW. The use of Image.Format is not present in other places in the code, and this updates the spot_wrapper to be consistent with the other usages.

This also adds the graph_nav_util file to the catkin_python_install as it seems this being missing can cause issues.

Using Image.Format.FORMAT_RAW causes an AttributeError:

AttributeError: 'EnumTypeWrapper' object has no attribute 'FORMAT_RAW'

The usage here was inconsistent with usages in other files.
@dniewinski dniewinski merged commit a803b50 into heuristicus:master May 5, 2021
@dniewinski
Copy link
Contributor

Thanks :)

@heuristicus heuristicus deleted the fix-image-format branch May 11, 2021 09:28
TyHowellWork pushed a commit to TyHowellWork/spot_ros that referenced this pull request Apr 25, 2022
* install graph_nav_util with catkin_install_python

* fix usage of Image.Format to be consistent with other usages

Using Image.Format.FORMAT_RAW causes an AttributeError:

AttributeError: 'EnumTypeWrapper' object has no attribute 'FORMAT_RAW'

The usage here was inconsistent with usages in other files.
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

Successfully merging this pull request may close these issues.

None yet

2 participants