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

[RSDK-5823] remove Board.model_attributes() from the SDK #491

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

penguinland
Copy link
Member

This was removed from the RDK in viamrobotics/rdk#3253. From the perspective of the Python SDK, no information is being communicated with this function: it always says that the board is remote and nothing else.

Strictly speaking, this is a breaking change because we don't know who out in the world is using this function. but my understanding is that the entire SDK is still in beta so breaking changes are okay. and anyone using it isn't getting any utility out of it, as previously stated.

@penguinland penguinland requested a review from njooma November 22, 2023 17:14
@penguinland penguinland requested a review from a team as a code owner November 22, 2023 17:14
Copy link
Contributor

Warning your change may break code samples. If your change modifies any of the following functions please contact @viamrobotics/fleet-management. Thanks!

component function
base is_moving
board gpio_pin_by_name
camera get_image
encoder get_position
motor is_moving
sensor get_readings
servo get_position
arm get_end_position
gantry get_lengths
gripper is_moving
movement_sensor get_linear_acceleration
input_controller get_controls
audio get_properties
pose_tracker get_poses
power_sensor get_power
motion get_pose
vision get_classifications_from_camera

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.

LGTM % lint errors

@penguinland penguinland merged commit 6c1f811 into viamrobotics:main Nov 22, 2023
11 checks passed
@penguinland penguinland deleted the remove_model_attributes branch November 22, 2023 20:33
penguinland added a commit that referenced this pull request Dec 8, 2023
This should have been removed in #491, but I forgot. It's dead code. Grepping the codebase for `Attributes` turns up only 1 result (in src/viam/errors.py), and that's a false positive.

Linking things up: I noticed this while reviewing viamrobotics/docs#2313
njooma pushed a commit that referenced this pull request Dec 22, 2023
This should have been removed in #491, but I forgot. It's dead code. Grepping the codebase for `Attributes` turns up only 1 result (in src/viam/errors.py), and that's a false positive.

Linking things up: I noticed this while reviewing viamrobotics/docs#2313
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.

2 participants