Skip to content

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

Merged
SaintSampo merged 2 commits into
mainfrom
JacobsDev
Jul 22, 2026
Merged

differential_drive: fix wheel diameter and track bug + resetbot: add trailing newline at end of file#99
SaintSampo merged 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 merged commit dcfd38f into main Jul 22, 2026
@SaintSampo
SaintSampo deleted the JacobsDev branch July 22, 2026 14:21
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.

2 participants