atomic14 / atomic14/web-serial-plotter

[Feature]: Separation of channels & URL query

オープン
#2 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
TypeScript
スター
198
フォーク
25
PR マージ指標
30日以内にマージされた PR はありません

説明

### Problem to solve

Good stuff.

This isn't as much as a request as it's just some ideas off the top of my head.

Just some ideas to keep you going ;)

Regards,
Toon

### Proposed solution

1) I think it would be cool if you had a separate channel for plotting and for terminal messages.

E.g.: messages starting with 0x00 go to the plotter, messages with 0x01 got to the terminal.

You could even allow multiple channels for plotting and multiple terminal channels. A split screen where the left is the scope and the right is the terminal would also be cool.

Example use case:
Imagine an application with 2 motor's being controlled by 2 pid loops. We could split the uart data into 4 channels:
- 0x00 Plotting of PID internals of motor 1
- 0x01 Terminal to tune PID of motor 1
- 0x02 Plotting of PID internals of motor 2
- 0x03 Terminal to tune PID of motor 3

2) Another cool feature would be if you could "configure" the ui through a url query.
E.g: https://web-serial-plotter.atomic14.com/?legend=p_error,i_error,d_error

That way you could always come back to the same setup.

### 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_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

この issue では、ファイル、テスト、具体的なエントリーポイントが指定されていません。まず Web Serial のデータフロー、プロットビューとターミナルビュー、URL クエリの処理を特定してください。完了には、チャネル分離と再現可能な UI 設定について合意された設計を作成し、その後に両方の機能のテストを追加することが必要です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
frontend, web-dev
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。