Default to requiring frc namespace for wpilibc. (#972)

Instead of defining NAMESPACED_WPILIB to remove the "using namespace frc"
shim in Base.h, instead require NO_NAMESPACED_WPILIB be defined to add it.

Fix up various examples to use correct namespacing.
This commit is contained in:
Peter Johnson
2018-05-22 23:33:50 -07:00
committed by GitHub
parent cbaff52850
commit dcc2764844
10 changed files with 25 additions and 24 deletions

View File

@@ -15,7 +15,7 @@
* The wrist subsystem is like the elevator, but with a rotational joint instead
* of a linear joint.
*/
class Wrist : public PIDSubsystem {
class Wrist : public frc::PIDSubsystem {
public:
Wrist();