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

fix(components/board): update stream ticks example doc #612

Merged
merged 1 commit into from
May 14, 2024

Conversation

HipsterBrown
Copy link
Contributor

As I was reading through the newly released StreamTicks docs, I noticed the example for Python doesn't show how to consume the stream of "ticks" from the method. I added an async for loop to show how a developer could access those values and what fields a "tick" contains.

@HipsterBrown HipsterBrown requested a review from a team as a code owner May 13, 2024 22:25
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

@HipsterBrown HipsterBrown merged commit dd2c075 into main May 14, 2024
13 checks passed
@HipsterBrown HipsterBrown deleted the nhehr/stream-ticks-example branch May 14, 2024 14:29
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