Long update times could affect the correct activity flows

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
python
領域
robotics

調査の方向性

paseos/activities/activity_processor.py の115行目を開き、issue #38 に記載されているとおりに cfg.sim.activity_timestep を小さくして、更新が遅いケースを再現します。指定された条件が false の場合に警告が表示され、timestep の調整が必要であることをユーザーに明確に伝えることを確認します。

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

説明

bug user-facing

Issue

Problem Description

By setting cfg.sim.activity_timestep = 0.1 in #38, on my machine the first activity never stops. This is due to the fact that the update is so slow that the activity is never executed.

Expected Behavior

The user needs to be informed when the cfg.sim.activity_timestep is not appropriate, so they can tune this parameter appropriately.

What Needs to be Done

In the line:https://github.com/aidotse/PASEOS/blob/8b19aee132d42e91b0d7c34ad2c13ff4c46f7940/paseos/activities/activity_processor.py#L115
if the above condition is false, we need to raise a warning to inform the user.

How Can It Be Tested or Reproduced

Lowering cfg.sim.activity_timestep until the warning is raised in #38.

主要言語
Python
スター
64
フォーク
16
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

aidotse/PASEOS のほかの issue

aidotse/PASEOS の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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