szfmv2019-tavasz / AutomatedCar

Working repository for the subject "Szoftverfejlesztés multinacionális vállalatoknál" @OE-NIK 2019 spring
0 stars 0 forks source link

Glitchy steering when steeringAngle != 45 #39

Closed rmegyesi closed 5 years ago

rmegyesi commented 5 years ago

Bug description: When steeringAngle is 0 or 45 degrees, the car moves fine, but when steeringAngle is between 0 and 45, the car jitters.

Expected functionality: Steering should turn the car smoothly.

rmegyesi commented 5 years ago

Root cause: steeringAngle is in degrees and the wheel position calculation requires a value in radians.

Fix: Convert steeringAngle to radians when calculating the new wheel position.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity.