Refactor: Split up sensor.c
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 15/100
- issue の種類
- リファクタリング
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- c
- 領域
- embedded-iot
調査の方向性
Start by reading sensor.c alongside its header and listing every exported function, then compare that list against the driver and app-layer modules named in the issue. The header is flagged as the main complication, so decide which declarations move with their implementation before editing. Done means sensor.c no longer lives in mod, its functions sit in driver or the app layer, and the build still links; rev 3 platform-specific sensor functions should then be possible.
索引モデルが issue の本文から書いたものです。
説明
Version: v2.8.0 && v3.0.0
Describe the feature you'd like
The sensor module in its current form has no place living in mod based on our idea of what the library should be.
Many of these functions belong in driver, and others should live in the app layer.
Some subject matter expert should make an effort to move functions to their truly correct locations. The header is going to be the biggest complication, I expect, but that's not a huge deal.
This will also allow us to implement platform-specific versions of sensor functions on rev 3.
Describe alternatives you've considered
Leaving as-is.
Additional context
N/A
Points of Contact
Mod maintainer for v2.8.0 and beyond: @NArmistead
Additional SME: @ETSells
- 主要言語
- C
- スター
- 4
- フォーク
- 2
- 平均マージ
- 5日 2時間
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
SunDevilRocketry/mod のほかの issue
-
Sensor: Magnetometer calibration対応中かも @NArmistead が 27 日前に担当しました。 オープンenhancement
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
SunDevilRocketry/mod#163 · コメント 1 件 · 担当者 1 名 ·
-
Telemetry: Create ICD対応中かも @ETSells が 25 日前に担当しました。 オープンadvanced documentation
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
SunDevilRocketry/mod#161 · 担当者 1 名 ·
-
Mod: Make library platform independent対応中かも @ETSells が 25 日前に担当しました。 オープンadvanced refactor
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
SunDevilRocketry/mod#160 · コメント 1 件 · 担当者 1 名 ·
-
Sensor: Rename and add LoRa to sensor mutex再び着手できるかも @ferociousPandaPickle が 34 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement good first issue
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
SunDevilRocketry/mod#153 · コメント 1 件 · 担当者 1 名 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
SunDevilRocketry/mod#136 ·
SunDevilRocketry/mod の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
FujiNetWIFI/fujinet-firmware#2261 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
kivy/python-for-android#3405 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Nmap
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
area/infrared type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
DarkFlippers/unleashed-firmware#1201 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
pocoproject/poco#5626 ·
メンテナーはふだん 2 日以内に返信