Skip to content

Trailer improvements - #681

Merged
AmyrAhmady merged 3 commits into
masterfrom
record-trailer
Jun 20, 2023
Merged

AmyrAhmady merged 3 commits into
masterfrom
record-trailer

Conversation

@Y-Less

@Y-Less Y-Less commented Jun 18, 2023 •

Copy link
Copy Markdown
Collaborator
  • Register a trailer from driver sync - Fixes [BEHAVIOR DIFFERENCE]: IsTrailerAttachedToVehicle #590
  • Separate cab and trailer - Having them in a union together really doesn't save that much space, since there's a towing variable required to differentiate the cases, plus the resulting code becomes a lot more complicated. There's also an argument to be had that being a trailer and a cab are not mutually exclusive - trains have both, baggage carts have both.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Alex Cole seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Alex Cole added 2 commits June 18, 2023 20:59
Having them in a union together really doesn't save that much space, since there's a `towing` variable required to differentiate the cases, plus the resulting code becomes a lot more complicated.  There's also an argument to be had that being a trailer and a cab are not mutually exclusive - trains have both, baggage carts have both.
@Y-Less Y-Less changed the title Register a trailer from driver sync Trailer improvements Jun 18, 2023
@AmyrAhmady
AmyrAhmady merged commit 2678d9f into master Jun 20, 2023
@AmyrAhmady
AmyrAhmady deleted the record-trailer branch June 20, 2023 02:17
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.

[BEHAVIOR DIFFERENCE]: IsTrailerAttachedToVehicle

3 participants