[Feature]: Custom parsing support for plotting raw data packets

Open
#3 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript

Research direction

The issue names no files, tests, or entry points, so first trace how raw serial packets enter the TypeScript plotter and how values are currently sent to charts. Done means users can describe the sample packet as six floats, have it parsed into ax, ay, az, gx, gy, and gz, and see those values plotted.

Written by the indexing model from the issue text.

Description

enhancement
Problem to solve

Just wondering if it is possible to include a feature to parse raw data packets and plot the parsed data. SAMPLE RAW DATA: [b'\x00\x00\x0b\xbe\x00@\xfa?\x00\x000>\xa4\xe4\x19\xc0j\xee\x02\xbf\x9c\x90\x92\xbf\x00\x80\x0e\xbe\x00\xd0\xfb?\x00\x009>3\xa2\x0f\xc0\xc7\xde\xda\xbe\x0e\xd3\\xbf']

Proposed solution
  1. Have the user specify packet structure for the case above: [ax(float), ay(float), az(float), gx(float), gy(float), gz(float)]
  2. Data then gets goes to the plotter.
Alternatives considered

No response

Area of the app

None

Willingness to contribute
  • I'd be willing to submit a PR for this
  • I can help test and provide feedback
Additional context, screenshots or mockups

No response

Dominant language
TypeScript
Stars
198
Forks
25
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from atomic14/web-serial-plotter

All issues in atomic14/web-serial-plotter

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.