deepdrive / deepdrive/deepdrive-zero

Fix rotation axis

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
bug enhancement good first issue help wanted
Dominant language
Python
Stars
40
Forks
4
PR merge metrics
No merged PRs in 30d

Description

We currently use the bike model to calculate the center (x,y), and angle of the vehicle using slip angle. However, when we rotate the four points defining the top-down ego rectangle, we use the center as the axis of rotation instead of the center of the rear axle. You can _feel_ how unrealistic the current rotational axis is when playing the sim yourself. The bike model already accounts for the distance between the axles and center of gravity in it's x, y, and angle outputs - I believe the center of the car is modeled correctly according to the bike model - however the extents of the car and collision detection are currently off due to rotating about the center instead of the rear axle.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.