Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Replace the 8 vehicle part classes with one configurable part class

Abierto
#121 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 9 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
62/100
Tipo de issue
Refactorización
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python
Área
robotics

Línea de trabajo

Start in src/components/vehicle/ by reading the eight named part classes, then inspect FourWheelsVehicle and test_vehicle_specification.py. Compare each part’s outline, mounting offset, and steering behavior to see how the vehicle specification creates them. Done means all eight parts are represented clearly through one configurable class, the vehicle looks identical in all simulations, and the specification and smoke tests pass.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

refactoring

Problem

src/components/vehicle/ has 8 almost identical classes (FrontLeftTire, FrontRightTire, RearLeftTire, RearRightTire, FrontAxle, RearAxle, Body, Chassis), about 45 lines each. They differ only in their outline, mounting offset and whether they rotate with the steering angle.

Expected fix

One class, e.g. VehiclePart(outline_xy, offset_x_m, offset_y_m, steerable), and FourWheelsVehicle creates the 8 parts from the specification. Keep it easy to read: a learner should still see clearly which part is which.

Done when

The vehicle looks identical in all simulations and test_vehicle_specification.py/smoke tests pass.

Lenguaje dominante
Python
Estrellas
1.9k
Forks
313
Merge medio
9 d 10 h
PR fusionados (30 d)
7

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ShisatoYano/AutonomousVehicleControlBeginnersGuide

Todos los issues de ShisatoYano/AutonomousVehicleControlBeginnersGuide

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.