Draco v7.0.0: Add table query support to EDS python libraries

オープン
#950 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
c, python
領域
api

調査の方向性

生成された Python のエントリポイント CFE_MissionLib.Database().interface() と、EDS のテーブル定義を追跡することから始めます。テレメトリインターフェースとテレコマンドインターフェースがどのように公開されているかを比較し、次に、EDS パッケージとテーブル名を使ってテーブルをクエリでき、その構造に Python の呼び出し元からアクセスできることを確認します。

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

説明

enhancement

Checklist (Please check before submitting)

  • I reviewed the Contributing Guide.
  • I reviewed the cFS README.md file to see if the feature is in the major future work.
  • I performed a cursory search to see if the feature request is relevant, not redundant, nor in conflict with other tickets.

Is your feature request related to a problem? Please describe.
The EDS library used with the cFS Draco release supports tables being defined in the . The exported table interface is used by the cFE. However, the interface is not part of Python CFE_MIissionLib generated from the EDS. This means Python can't access the table structure definitions like it can with telecommands and telemetry messages.

Describe the solution you'd like
I'd to see the ability to query for tables using CFE_MissionLib.Database().interface(). Using the EDS package name (i.e. app name) combined with the table name specified in the interface definition seems like a reasonable strategy. This differs from cmd/tlm messages where topic IDs are used.

Describe alternatives you've considered
As a temporary hack, I've created "proxy" telemetry messages that contain table file definitions as their payload. A downside to this is that topic IDs are being used for tables.

Additional context
Add any other context about the feature request here.
None

Requester Info
David McComas/Open STEMware Foundation

主要言語
C
スター
1.6k
フォーク
421
平均マージ
1日 42分
マージ済み PR(30日)
12

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nasa/cFS のほかの issue

nasa/cFS の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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