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

Add habitat.filters.* pre-filters for removing nulls: #317

Open
danielrichman opened this issue May 27, 2013 · 0 comments
Open

Add habitat.filters.* pre-filters for removing nulls: #317

danielrichman opened this issue May 27, 2013 · 0 comments

Comments

@danielrichman
Copy link
Member

Some people fly payloads that transmit 0x00 while waiting for sensors. UKHAS will refuse to even contemplate parsing them.

Idea 1: habitat.filters.remove_nulls: config could be a prefix (i.e., only fix sentences that begin with '$$CALLSIGN'); just strips out all nulls. Could configure it with the positions the nulls should be in.

Idea 2: a pre-filter that just applies a regexp. Infact, this could even be useful as an intermediate filter.

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

No branches or pull requests

1 participant