Separate drawing code from algorithm code in large planners

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
robotics

調査の方向性

Read the listed planner files: q_learning_path_planner.py, genetic_algorithm_path_planner.py, ant_colony_path_planner.py, pso_path_planner.py, dstar_path_planner.py, and dstar_path_planning.py. Identify their drawing and GIF code, including the GIF builder in dstar_path_planning.py, and coordinate the changes with the planner interface work. Done means the drawing code is in separate modules or classes and the algorithm files read top to bottom as algorithm code.

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

説明

long term refactoring

Problem

Several planners are much longer than other components because animation code is mixed with the algorithm: q_learning_path_planner.py (765 lines), genetic_algorithm_path_planner.py (693), ant_colony_path_planner.py (588), pso_path_planner.py (567), dstar_path_planner.py (556), and dstar_path_planning.py (471 lines, with its own GIF builder). This makes it hard for learners to find the algorithm.

Proposed direction

Move drawing/GIF code into separate modules or classes so the algorithm file reads top to bottom as the algorithm. Coordinate with the planner interface work.

主要言語
Python
スター
1.9k
フォーク
313
平均マージ
9日 10時間
マージ済み PR(30日)
7

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

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

はじめの一歩

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

ShisatoYano/AutonomousVehicleControlBeginnersGuide のほかの issue

ShisatoYano/AutonomousVehicleControlBeginnersGuide の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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