The Java version takes a function that accepts an AutoFactory and returns an AutoRoutine (which does not completely match documentation), whereas the C++ version takes a function that accepts nothing and returns a CommandPtr (which also does not completely match documentation).
The Java version takes a function that accepts an
AutoFactory
and returns anAutoRoutine
(which does not completely match documentation), whereas the C++ version takes a function that accepts nothing and returns aCommandPtr
(which also does not completely match documentation).