-
Notifications
You must be signed in to change notification settings - Fork 264
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
Rewrite command controller articles to show composition #2684
Rewrite command controller articles to show composition #2684
Conversation
23d3351
to
7cac095
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.
Rather then remove, the docs need to be replaced with what the new preferred pattern is.
c55c89c
to
be47e1a
Compare
4766bef
to
02f3028
Compare
source/docs/software/commandbased/profile-subsystems-commands.rst
Outdated
Show resolved
Hide resolved
source/docs/software/commandbased/profile-subsystems-commands.rst
Outdated
Show resolved
Hide resolved
source/docs/software/commandbased/profile-subsystems-commands.rst
Outdated
Show resolved
Hide resolved
### Control Algorithm Commands | ||
|
||
There are commands for various control setups: | ||
There are many different ways to implement these controllers in the command framework for various control setups: | ||
|
||
- ``PIDCommand`` uses a PID controller. For more info, see :ref:`docs/software/commandbased/pid-subsystems-commands:PIDCommand`. | ||
- ``PIDController`` can be integrated into a ``Subsystem``. For more info, see :ref:`docs/software/commandbased/pid-subsystems-commands:PID Control in Command-based`. | ||
|
||
- ``TrapezoidProfileCommand`` tracks a trapezoid motion profile. For more info, see :ref:`docs/software/commandbased/profile-subsystems-commands:TrapezoidProfileCommand`. | ||
- ``TrapezoidProfile`` tracks a trapezoid motion profile. For more info, see :doc:`/docs/software/commandbased/profile-subsystems-commands`. |
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.
This section lists controller command classes, and should be removed once all the controller command classes are phased out. In the meantime, an admonition pointing to the other pages might be helpful (but I'm not entirely convinced it's needed); it shouldn't be an item in a list of command classes.
326d05f
to
62d15a8
Compare
There's conflicts to resolve |
62d15a8
to
bb445a2
Compare
Control subsystems are full of footguns and are poor abstractions since they don't save any typing, yet they actively bypass the command mutex system. Control commands are also poor abstractions as they are easy to mess up, yet hide internal details away from the user, making debugging harder. They also don't save any typing.