Skip to content

Avoid creating separate enum for stopped motors#30

Merged
glopesdev merged 2 commits intomainfrom
interface-gen
Apr 2, 2024
Merged

Avoid creating separate enum for stopped motors#30
glopesdev merged 2 commits intomainfrom
interface-gen

Conversation

@glopesdev
Copy link
Copy Markdown
Contributor

The current schema uses a separate enum StoppedMotors to indicate jointly the state of stopped motors and a signal of which motor caused the change in the event.

This PR avoids the redundancy by specifying a payload spec in the schema for the MotorStopped register.

@glopesdev glopesdev added feature New planned feature proposal Request for a new feature labels Apr 2, 2024
@glopesdev glopesdev requested a review from bruno-f-cruz April 2, 2024 21:24
<PackageOutputPath>..\bin\$(Configuration)</PackageOutputPath>
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
<VersionPrefix>0.3.0-build2024032601</VersionPrefix>
<VersionPrefix>0.3.0-build240401</VersionPrefix>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We really should agree on this at some point...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bruno-f-cruz yup, my convention right now is YYMMBB which I realize makes for a good balance between conciseness and rate of releases. The BB stands for "build number" in the month. So 240401 means the first build of April. I just realized over time that the exact day means very little to me here, you always have the commit for really fine precision if you need to, and having just a sense of the month is usually enough.

@glopesdev glopesdev merged commit 1b796cc into main Apr 2, 2024
@glopesdev glopesdev deleted the interface-gen branch April 2, 2024 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New planned feature proposal Request for a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants