-
Notifications
You must be signed in to change notification settings - Fork 612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cmd] Send composition member names #4735
base: main
Are you sure you want to change the base?
Conversation
f7eece0
to
850588a
Compare
Please provide a brief summary of what this change does. |
Is this intended to address wpilibsuite/betatest#136? It looks like dashboard updates would be required to take advantage of most of this. |
This would address that issue, making WrapperCommand copy the name of the wrapped command. I'm not sure why dashboard updates would be needed. |
wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/CommandBase.java
Outdated
Show resolved
Hide resolved
850588a
to
6364a34
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like how much work this is doing. All of the getter code will be called every periodic loop. For all of these cases, is there a reason the array can't be generated in initSendable (so once) and just captured and returned by the getter? Ideally we'd have a way to even avoid that, e.g. by passing a non-callable, to just set once, but that functionality isn't present, and adding it may break vendors, so I'm going to punt that to 2024.
0d6a70a
to
d8976f2
Compare
Blocked until there's an efficient way to not recompute array properties. |
d8976f2
to
9c0589e
Compare
9c0589e
to
67aa3c5
Compare
67aa3c5
to
ade7650
Compare
Unblocked by #5158. |
wpilibNewCommands/src/main/native/cpp/frc2/command/ParallelCommandGroup.cpp
Show resolved
Hide resolved
wpilibNewCommands/src/main/native/include/frc2/command/ParallelDeadlineGroup.h
Show resolved
Hide resolved
5f7de3a
to
fcc3af5
Compare
This comment has been minimized.
This comment has been minimized.
fcc3af5
to
85f6ad9
Compare
a408761
to
c6347ea
Compare
c6347ea
to
44d1a1f
Compare
44d1a1f
to
4a657bf
Compare
No description provided.