Skip to content

differential_drive: fix wheel diameter and track bug + resetbot: add trailing newline at end of file#99

Open
SaintSampo wants to merge 2 commits into
mainfrom
JacobsDev
Open

differential_drive: fix wheel diameter and track bug + resetbot: add trailing newline at end of file#99
SaintSampo wants to merge 2 commits into
mainfrom
JacobsDev

Conversation

@SaintSampo

Copy link
Copy Markdown
Collaborator
  • wheel_diam and wheel_track default to 0.0, used as a sentinel meaning "pick the board's built-in dimensions." Assign the provided value when it is non-zero. The encoder-based heading calculation in the straight-line and turn routines divided by self.track_width. Use self.wheel_track, the actual track-width attribute set in the constructor.

  • Terminate the file with a newline so it follows POSIX text-file convention and stops tools from flagging "no newline at end of file".

wheel_diam and wheel_track default to 0.0, used as a sentinel meaning "pick
the board's built-in dimensions." Assign the provided value when it is non-zero.

The encoder-based heading calculation in the straight-line and turn routines
divided by self.track_width. Use self.wheel_track, the actual track-width
attribute set in the constructor.
Terminate the file with a newline so it follows POSIX text-file convention and
stops tools from flagging "no newline at end of file".
@SaintSampo SaintSampo requested a review from KalticCodes July 10, 2026 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant