Skip to content

Comments

RSDK-13120: update protos#1072

Merged
nfranczak merged 11 commits intoviamrobotics:mainfrom
nfranczak:20260120-RSDK-13120-update-protos
Jan 23, 2026
Merged

RSDK-13120: update protos#1072
nfranczak merged 11 commits intoviamrobotics:mainfrom
nfranczak:20260120-RSDK-13120-update-protos

Conversation

@nfranczak
Copy link
Member

@nfranczak nfranczak commented Jan 21, 2026

this pr fixes this PR #1068

  1. changes to data management
  2. get kinematics response now also returns a map of strings to meshes

@github-actions
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
button push
genericcomponent do_command
camera get_images
encoder get_position
motor is_moving
sensor get_readings
servo get_position
switch 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_properties
mlmodel metadata
genericservice do_command
slam get_point_cloud_map
audio_in get_properties
audio_out get_properties

@nfranczak nfranczak marked this pull request as ready for review January 21, 2026 18:14
@nfranczak nfranczak requested a review from a team as a code owner January 21, 2026 18:14
Copy link
Member

@stuqdog stuqdog left a comment

Choose a reason for hiding this comment

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

broad strokes look good to me though I think we do need just a little bit of cleanup before this gets merged!

Comment on lines 10 to 13
KinematicsReturn = Union[
Tuple[KinematicsFileFormat.ValueType, bytes],
Tuple[KinematicsFileFormat.ValueType, bytes, Mapping[str, Mesh]],
]
Copy link
Member

Choose a reason for hiding this comment

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

A duplicate type is defined in arm.py. Is there any chance of these diverging in the future? If not, might be good to define this type in a common area.

async def get_kinematics(
self, *, extra: Optional[Dict[str, Any]] = None, timeout: Optional[float] = None, **kwargs
) -> Tuple[KinematicsFileFormat.ValueType, bytes]:
) -> Tuple[KinematicsFileFormat.ValueType, bytes, Mapping[str, Mesh]]:
Copy link
Member

Choose a reason for hiding this comment

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

This return type is inconsistent with what we define in arm.py

async def get_kinematics(
self, *, extra: Optional[Dict[str, Any]] = None, timeout: Optional[float] = None, **kwargs
) -> Tuple[KinematicsFileFormat.ValueType, bytes]:
) -> Tuple[KinematicsFileFormat.ValueType, bytes, Mapping[str, Mesh]]:
Copy link
Member

Choose a reason for hiding this comment

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

this return type is inconsistent with what we define in gantry.py

Comment on lines 11 to 15
KinematicsReturn = Union[
Tuple[KinematicsFileFormat.ValueType, bytes],
Tuple[KinematicsFileFormat.ValueType, bytes, Mapping[str, Mesh]],
]

Copy link
Member

Choose a reason for hiding this comment

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

see above re: potentially sharing the KinematicsReturn type.

timeout: Optional[float] = None,
**kwargs,
) -> Tuple[KinematicsFileFormat.ValueType, bytes]:
) -> Tuple[KinematicsFileFormat.ValueType, bytes, Mapping[str, Mesh]]:
Copy link
Member

Choose a reason for hiding this comment

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

this return type is inconsistent with gripper.py

@nfranczak nfranczak requested a review from stuqdog January 23, 2026 16:24
@nfranczak nfranczak merged commit 0c05943 into viamrobotics:main Jan 23, 2026
13 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