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

[hal] Add SimValue reset() function #3064

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

PeterJohnson
Copy link
Member

This enables correct behavior for resetting incremental sensor values like
encoder counts or gyro accumulated angle with WebSockets.

Fixes #3030.

@PeterJohnson PeterJohnson requested review from a team as code owners January 9, 2021 01:38
@PeterJohnson PeterJohnson added the component: hal Hardware Abstraction Layer label Jan 9, 2021
@PeterJohnson PeterJohnson changed the title [sim] Add SimValue reset() function [hal] Add SimValue reset() function Jan 9, 2021
This enables correct behavior for resetting incremental sensor values like
encoder counts or gyro accumulated angle with WebSockets.
@PeterJohnson PeterJohnson merged commit bc80c55 into wpilibsuite:master Jan 12, 2021
@PeterJohnson PeterJohnson deleted the simvalue-reset branch January 12, 2021 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: hal Hardware Abstraction Layer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SimDevice for ADXRS450 Gyro not sending .set() data over WebSocket
1 participant