Skip to content

Conversation

@nicksanford
Copy link
Member

@nicksanford nicksanford commented Oct 20, 2025

No description provided.

@nicksanford nicksanford requested a review from hexbabe October 20, 2025 18:10
@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Oct 20, 2025
@nicksanford nicksanford requested a review from bhaney October 20, 2025 18:10
@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 IsMoving
button Push
genericcomponent DoCommand
board GPIOPinByName
camera Properties
encoder Properties
motor IsMoving
sensor Readings
servo Position
arm EndPosition
audio MediaProperties
gantry Lengths
gripper IsMoving
input_controller Controls
movement_sensor LinearAcceleration
power_sensor Power
pose_tracker Poses
genericservice DoCommand
motion GetPose
vision GetProperties

@hexbabe hexbabe changed the title add-extra-to-camera-next-point-cloud [RSDK-12352] add-extra-to-camera-next-point-cloud Oct 20, 2025
@hexbabe
Copy link
Member

hexbabe commented Oct 20, 2025

I understand we are trying to move fast, but I'd suggest adding one test each to client_test.go and server_test.go to just sanity check that the extra is being received and handled would be nice.

@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Oct 20, 2025
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Oct 20, 2025
test.That(t, err, test.ShouldBeNil)

injectCamera.NextPointCloudFunc = func(ctx context.Context) (pointcloud.PointCloud, error) {
injectCamera.NextPointCloudFunc = func(ctx context.Context, extra map[string]interface{}) (pointcloud.PointCloud, error) {
Copy link
Member Author

Choose a reason for hiding this comment

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

@hexbabe how do these tests look?

Copy link
Member

Choose a reason for hiding this comment

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

yep! this the type of test i imagined

@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Oct 20, 2025
@nicksanford nicksanford merged commit a422868 into viamrobotics:main Oct 22, 2025
60 of 66 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test This pull request is marked safe to test from a trusted zone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants