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 unused Board.Attributes code #501

Merged
merged 2 commits into from
Dec 8, 2023

Conversation

penguinland
Copy link
Member

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

@penguinland penguinland requested a review from a team as a code owner December 8, 2023 20:33
Copy link
Contributor

github-actions bot commented Dec 8, 2023

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.

Love red PRs

@penguinland penguinland merged commit bacc9f0 into viamrobotics:main Dec 8, 2023
12 checks passed
@penguinland penguinland deleted the delete_attributes branch December 8, 2023 21:21
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