Skip to content

RSDK-7436: remove analog and digital statuses from python sdk #597

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

Merged
merged 5 commits into from
Apr 30, 2024

Conversation

martha-johnston
Copy link
Contributor

No description provided.

@martha-johnston martha-johnston marked this pull request as ready for review April 29, 2024 19:26
@martha-johnston martha-johnston requested a review from a team as a code owner April 29, 2024 19:26
@purplenicole730 purplenicole730 self-requested a review April 29, 2024 19:34
@martha-johnston
Copy link
Contributor Author

hmm did not expect so many conflicts in the proto files... would it be easier for me to revert that commit and pull in the other automated PR that builds the protos?

Copy link
Member

@purplenicole730 purplenicole730 left a comment

Choose a reason for hiding this comment

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

I'll look over this again once this PR is ready. (tests passing, no more commits)

@njooma
Copy link
Member

njooma commented Apr 29, 2024

@martha-johnston pull from main and then rerun make buf

@martha-johnston
Copy link
Contributor Author

I'll look over this again once this PR is ready. (tests passing, no more commits)

@purplenicole730 lmk when you look over it again!

Copy link
Member

@njooma njooma left a comment

Choose a reason for hiding this comment

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

Looks good. Just one question and one request: Can you run make format please?

@@ -19,12 +18,12 @@ async def create_status(component: Board) -> Status:
for x in analog_names:
analog = await component.analog_reader_by_name(x)
read = await analog.read()
analogs[x] = AnalogStatus(value=read)
analogs[x] = int(read)
Copy link
Member

Choose a reason for hiding this comment

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

Do you need this int conversion?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess not just removed it

@martha-johnston martha-johnston merged commit 76c258d into viamrobotics:main Apr 30, 2024
12 checks passed
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