プロジェクト

全般

プロフィール

バグ #2637

KEK版OpenRTMのパッチを反映させる

n-ando約11年前に追加. 約11年前に更新.

ステータス:
終了
優先度:
通常
担当者:
対象バージョン:
-
開始日:
2013/04/15
期日:
進捗率:

100%

予定工数:

説明

以下のKEK版パッチが存在する

  • OpenRTM-aist-r1971-InPort.h.patch
  • OpenRTM-aist-r1971-Makefile.am.patch
  • OpenRTM-aist-r1971-RingBuffer.h.patch
  • OpenRTM-aist-r1971-Routing.cpp.patch
  • OpenRTM-aist-r1971-SimpleService-Makefile.am.patch
  • OpenRTM-aist-r1971-coil-posix-Condition.h.patch

対象はOpenRTM-aist-1.0.0-RELEASE
これらについて調査し、本家のコードにパッチを当てる。

関係しているリビジョン

リビジョン 2381 (差分)
n-ando約11年前に追加

[compat,header] Now InPort has getStatus()/getStatusList() functions. refs #2637

リビジョン 2381 (差分)
n-ando約11年前に追加

[compat,header] Now InPort has getStatus()/getStatusList() functions. refs #2637

リビジョン 2382 (差分)
n-ando約11年前に追加

[compat,bugfix] pclose() is not called in Linux code. refs #2637

リビジョン 2382 (差分)
n-ando約11年前に追加

[compat,bugfix] pclose() is not called in Linux code. refs #2637

リビジョン 2383 (差分)
n-ando約11年前に追加

[compat] Condition::wait() wait time calculation became more precise. refs #2637

リビジョン 2383 (差分)
n-ando約11年前に追加

[compat] Condition::wait() wait time calculation became more precise. refs #2637

履歴

#1 n-ando約11年前に更新

  • 進捗率0 から 10 に変更

OpenRTM-aist-r1971-InPort.h.patch

OutPort同様、InPortにもgetStatus()/getStatusList()関数を持たせる修正。
r2381にてtrunkにコミット。

#2 n-ando約11年前に更新

  • 進捗率10 から 20 に変更

OpenRTM-aist-r1971-Makefile.am.patch

トップレベルのMakefile.amにて、docs以下をビルドしないように修正

-SUBDIRS = build src utils examples etc docs win32
+SUBDIRS = build src utils examples etc win32

実際、docs以下はmake dist時しかdoxygenが呼び出されない。
OpenRTM-aistにおいてmake dist時にドキュメント生成をしない、という選択肢はないので現状のまま。

#3 n-ando約11年前に更新

  • 進捗率20 から 30 に変更

OpenRTM-aist-r1971-RingBuffer.h.patch

  • advanceWptr() の if文の括弧:trunk->済,
  • write() の Guard前後の中括弧とempty: trunk->済, RELEASE_1_1_0->済、RELENG_1_0->済
  • read() の Guard前後の中括弧とfull: trunk->済, RELEASE_1_1_0->済、RELENG_1_0->済

ただし、パッチにはないwrite()にGuard eguard(m_empty.mutex);がread()にGuard fguard(m_full.mutex);が追加されている。

#4 n-ando約11年前に更新

OpenRTM-aist-r1971-Routing.cpp.patch

Routing.cpp でLinux用のコード中でpcloseを呼び忘れている箇所あり。r2382にて修正。

#5 n-ando約11年前に更新

  • 進捗率30 から 40 に変更

#6 n-ando約11年前に更新

  • 進捗率40 から 50 に変更

OpenRTM-aist-r1971-SimpleService-Makefile.am.patch

ALL_SRC =                    \
-       $(IDL_SOURCES)       \
         $(PROVIDER_COMP_SRC) \
         $(CONSUMER_COMP_SRC)

ALL_SRCからIDL_SOURCESを削除。RELENG_1_0, RELEASE_1_1_0, trunkいずれも修正済み

#7 n-ando約11年前に更新

  • 進捗率50 から 100 に変更

OpenRTM-aist-r1971-coil-posix-Condition.h.patch

タイムアウト時間の計算をより正確になるように修正。 r2383

#8 n-ando約11年前に更新

  • ステータス新規 から 終了 に変更

他の形式にエクスポート: Atom PDF