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

Gaddison/spot sdk examples conversion #564

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

gaddison-bdai
Copy link

@gaddison-bdai gaddison-bdai commented Jan 28, 2025

Change Overview

Created hello_spot in spot_examples to mirror that of spot-sdk, as part of SW-1864.

Compiled and behavior qualitatively verified on hardware.

Copy link
Collaborator

@khughes-bdai khughes-bdai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall looks great to me! Could you add to the readme with the command to run this example + a short description of what it does?
Also, to get CI to pass, in the repo root run pre-commit install then pre-commit run --all and this should fix it.
(you can also follow the steps from the dco log to fix that error: https://github.com/bdaiinstitute/spot_ros2/runs/36316801944)

Comment on lines +181 to +184
try:
from cv_bridge import CvBridge
import cv2
self.br = CvBridge()
Copy link
Collaborator

@khughes-bdai khughes-bdai Jan 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if we should just put these at the top level import, as we are sort of enforcing that the user should have these packages by including them in the package.xml?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ya i would just move those imports to the top

@gaddison-bdai gaddison-bdai force-pushed the gaddison/spot-sdk_examples_conversion branch from 5eccf8b to 56168d8 Compare January 30, 2025 18:54
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.

3 participants