Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Add design doc for CommandStateMachine.#4

Open
PeterJohnson wants to merge 1 commit intowpilibsuite:masterfrom
PeterJohnson:command-state-machine
Open

Add design doc for CommandStateMachine.#4
PeterJohnson wants to merge 1 commit intowpilibsuite:masterfrom
PeterJohnson:command-state-machine

Conversation

@PeterJohnson
Copy link
Copy Markdown
Member

@PeterJohnson PeterJohnson commented Jun 8, 2016

This change is Reviewable

@PeterJohnson PeterJohnson force-pushed the command-state-machine branch 2 times, most recently from c45619d to 9906458 Compare June 8, 2016 06:18
@PeterJohnson
Copy link
Copy Markdown
Member Author

Inner classes are a little uglier in C++. It's certainly possible to build more complex constructs with CommandGroup and ConditionalCommand, but I think the result is more difficult to follow, doesn't address some of the underlying limitations (eg. rejoining or more complex n-ary branching behavior), and doesn't lend itself as easily to automatic code generation (e.g. from RobotBuilder).

@PeterJohnson PeterJohnson force-pushed the command-state-machine branch from 9906458 to dc39cb4 Compare June 25, 2016 17:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant