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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions spot_driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ include_directories(

catkin_install_python(
PROGRAMS
scripts/graph_nav_util.py
scripts/ros_helpers.py
scripts/spot_ros.py
scripts/spot_wrapper.py
Expand Down
6 changes: 3 additions & 3 deletions spot_driver/scripts/spot_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,15 +213,15 @@ def __init__(self, username, password, hostname, logger, rates = {}, callbacks =

self._front_image_requests = []
for source in front_image_sources:
self._front_image_requests.append(build_image_request(source, image_format=image_pb2.Image.Format.FORMAT_RAW))
self._front_image_requests.append(build_image_request(source, image_format=image_pb2.Image.FORMAT_RAW))

self._side_image_requests = []
for source in side_image_sources:
self._side_image_requests.append(build_image_request(source, image_format=image_pb2.Image.Format.FORMAT_RAW))
self._side_image_requests.append(build_image_request(source, image_format=image_pb2.Image.FORMAT_RAW))

self._rear_image_requests = []
for source in rear_image_sources:
self._rear_image_requests.append(build_image_request(source, image_format=image_pb2.Image.Format.FORMAT_RAW))
self._rear_image_requests.append(build_image_request(source, image_format=image_pb2.Image.FORMAT_RAW))

try:
self._sdk = create_standard_sdk('ros_spot')
Expand Down