Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Clarify the update and draw responsibilities in FourWheelsVehicle

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

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

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

評価

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

調査の方向性

Start by reading FourWheelsVehicle and the Phase 2 section of doc/ARCHITECTURE.md, then trace how update() and draw() use the controller and how detector and mapper access sensors. Store the steering angle during update(), read it during draw(), and validate module combinations in the constructor; done when drawing no longer reads control data and invalid combinations produce a clear error.

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

説明

refactoring

Problem

  • The steering angle used to draw the front tires is taken from the controller inside draw() (_draw_control_data returns it), so drawing depends on control logic.
  • Passing a detector or mapper without sensors raises an error, because they read self.sensors without a check.
  • The order of modules is fixed inside the class.

Expected fix

  • Store the steering angle during update() and only read it in draw()
  • Validate the combination of modules in the constructor with a clear error message

This is a small step toward Phase 2 of doc/ARCHITECTURE.md, where the processing chain moves out of FourWheelsVehicle.

主要言語
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 を短くまとめたダイジェスト。