Peter Johnson
Peter Johnson
Unless... the listener is just a Runnable and we set up a thunk callback in initSendable(). Then you could make it work for either order.
Also, not sure why you need flags. Don't you only care about valueChanged?
Looks like examples are failing. e.g. ```wpilibcExamples/src/main/cpp/examples/GyroDriveCommands/cpp/subsystems/DriveSubsystem.cpp:41:6: error: 'Encoder' in namespace 'frc' does not name a type```
Needs a styleguide fix: `wpilibc/src/main/native/include/frc/Encoder.h:118: Add #include for shared_ptr [build/include_what_you_use] [4]` To fix this, add `#include ` to the includes at the top of Encoder.h
Looks like wpilibcExamples\src\main\cpp\examples\DMA\cpp\Robot.cpp needs updating too.
/azp run
This needs a rebase, as win32 support has been removed.
Note that llvm and json have *significant* differences in many places to their "upstream" parents.
I'd be fine with separating the source trees. Compiling them as separate static libs isn't going to work, however, as you'd end up with duplicate statics in a diamond dynamic...
Mechanism2d is designed for visualization of robot mechanisms: eg single/2-jointed arms, elevators, etc. It’s not designed to be a generic drawing canvas (although clearly it can be abused to do...