Thad House
efec0c5cc3
Moves the HAL priority_ custom types to the hal namespace ( #532 )
...
There is a shim for backwards compatibility, just like the frc namespace.
As with the frc namespace, the library compiles without the shim.
2017-05-11 21:25:22 -07:00
Austin Shalit
ed1a94531a
Update license headers to 2017 ( #434 )
2017-01-01 00:05:57 -08:00
Tyler Veness
69422dc063
Replaced floats with doubles ( #355 )
...
This makes our APIs more consistent. With optimizations enabled, doubles are just as efficient as floats on ARMv7, so we should take advantage of the extra precision.
2016-11-20 07:25:03 -08:00
Peter Johnson
59267da72b
Namespace all wpilibc functions/classes into "frc" namespace. ( #311 )
...
Base.h provides a backwards compatibility shim (enabled unless
NAMESPACED_WPILIB is defined) that does a "using namespace frc".
However, as some header files do not include Base.h, this may
be a breaking change in some corner cases (with an easy fix).
Fixes #218 .
2016-11-01 22:33:12 -07:00
Tyler Veness
0cd05d1a42
Cleaned up integer type usage in wpilibc ( #92 )
...
Replaced all unsigned types to signed and int32_t with int in wpilibc
2016-09-06 00:01:45 -07:00
Thad House
776cb915bc
Revert "PIDController queue now stores inputs instead of errors ( #138 )" ( #205 )
...
This reverts commit 7501ae65a1 .
2016-08-13 23:49:31 -07:00
Tyler Veness
7501ae65a1
PIDController queue now stores inputs instead of errors ( #138 )
...
Closes #29 .
2016-08-12 22:04:44 -07:00
Tyler Veness
57efd13f7f
Replaced PIDController::Initialize() with delegating constructors ( #178 )
2016-07-16 12:50:17 -07:00
Tyler Veness
f9ebd3bde6
Fixed PIDController::GetError() for continuous inputs ( #169 )
...
Closes #31
2016-07-15 13:44:04 -07:00
Tyler Veness
c93b5bedf9
Miscellaneous cleanups for wpilibc PID controller ( #175 )
...
* Reorder wpilibc PIDController's SetAbsoluteTolerance() and SetPercentTolerance() implementations to be consistent with header and wpilibj
* Added std:: prefix to fabs() calls in wpilibc PIDController
2016-07-14 13:51:32 -07:00
Tyler Veness
0cb288ffba
Fixes warnings thrown by cpplint.py ( #154 )
...
* Fixed cpplint.py [runtime/int] warnings
* Fixed cpplint.py [readability/casting] warnings
* Fixed cpplint.py [readability/namespace] warnings
* Fixed cpplint.py [readability/braces] warnings
* Fixed cpplint.py [whitespace/braces] warnings
* Fixed cpplint.py [runtime/explicit] warnings
* Fixed cpplint.py [runtime/printf] warnings
* Fixed cpplint.py [readability/inheritance] warnings
* Fixed cpplint.py [whitespace/tab] warnings
* Fixed cpplint.py [build/storage_class] warnings
* Fixed cpplint.py [readability/multiline_comment] warnings
* Fixed cpplint.py [whitespace/semicolon] warnings
* Fixed cpplint.py [readability/check] warnings
* Fixed cpplint.py [runtime/arrays] warnings
* Ran format.py
2016-07-10 17:47:44 -07:00
Thad House
b637b9ee4c
Prepends all HAL functions with HAL_ ( #146 )
2016-07-09 00:24:26 -07:00
Tyler Veness
4aca3c2022
Removed extraneous curly braces around std::lock_guards in PIDController class ( #78 )
2016-05-26 12:59:34 -07:00
Peter Johnson
565a125dad
Reformat for recent commits ( #54 )
2016-05-24 22:16:21 -07:00
Thad House
e842ff7ad5
Explicitly stop the PIDController Notifier in the destructor ( #48 )
...
This helps reduce the probability of a PID Controller Segmentation Fault.
2016-05-22 23:24:10 -07:00
Thad House
8fc55c80a9
Renames all our .hpp HAL files to .h ( #44 )
...
Adds consistency, as the HAL was .hpp however all other code was .h.
2016-05-22 21:41:22 -07:00
Peter Mitrano
e71f454b9d
Renamed folders for consistency, using sim/athena/shared schema ( #27 )
...
Rename the following folders:
hal/lib/Athena -> hal/lib/athena
hal/lib/Desktop -> hal/lib/sim
hal/lib/Shared -> hal/lib/shared
wpilibc/Athena -> wpilibc/athena
wpilibc/simulation -> wpilibc/sim
Windows users may need to run gradlew clean after updating.
2016-05-22 14:55:51 -07:00