ariovistus
54fbec27df
Fix typo ( #1348 )
2018-10-04 00:59:47 -07:00
Thad House
fd82153456
Fix shuffleboard C++ tests, and run them on desktop ( #1351 )
2018-10-02 20:55:03 -07:00
Thad House
7b471d8c62
Fix windows image on azure pipelines ( #1350 )
2018-10-02 10:42:18 -07:00
Sam Carlberg
175c6c1f01
Add fluent builders for more flexibly adding data to Shuffleboard ( #1022 )
2018-09-28 01:18:18 -07:00
Thad House
ac7dfa5042
Switch to using containers for Linux builds on Azure ( #1335 )
2018-09-27 22:38:33 -07:00
Tyler Veness
a732854866
Clean up edge detection logic in ButtonScheduler subclasses ( #1340 )
...
This also changes the behavior of whileActive to call start once on the starting edge
instead of every loop iteration.
2018-09-26 22:55:34 -07:00
Tyler Veness
6171856020
Document Watchdog epochs better ( #1345 )
2018-09-26 22:53:34 -07:00
Thad House
d5d744a390
Fix publishing of templates on jenkins ( #1343 )
2018-09-26 21:10:26 -07:00
Tyler Veness
8b1274d744
Replace typedefs in C++ with using declarations ( #1339 )
...
These are more readable than typedefs. C headers were left alone.
2018-09-26 00:09:25 -07:00
Tyler Veness
26c33a9a56
Remove priority_condition_variable ( #1337 )
...
Make wpi::condition_variable typedef to std::condition_variable_any if
wpi::mutex typedefs to priority_mutex.
priority_condition_variable was originally intended as a copy of
std::condition_variable_any that also returned the internal handle like
std::condition_variable. This was needed because NetComm required a
pthread_cond_t. We no longer use it anywhere.
Its args were specialized for priority_mutex, but
std::condition_variable_any supports this and more through
templatization.
2018-09-25 21:38:52 -07:00
Thad House
5fad2b1056
Remove travis and appveyor configuration files ( #1338 )
...
Also update build badge to point to Azure instead.
2018-09-25 21:37:04 -07:00
Thad House
32ec07ee01
Throw correct exception in HAL_getJoystickAxes/POVs JNI ( #1336 )
...
Was incorrectly not returning immediately after throwing the exception.
Also add more detail to exception.
2018-09-24 22:17:17 -07:00
Thad House
15c5a820bf
Publish tests to azure ci ( #1334 )
...
Makes reviews easier.
2018-09-24 16:36:50 -07:00
Thad House
e15fabd2e1
Add cmake azure build ( #1332 )
2018-09-24 16:36:24 -07:00
Tyler Veness
1aa8446725
Add move constructors and assignment operators to wpilibc ( #1314 )
...
Fixes #898 .
2018-09-24 00:08:25 -07:00
Thad House
b1965f74a8
Add styleguide check to azure pipelines build ( #1331 )
2018-09-23 23:38:04 -07:00
Thad House
0c58a0a705
Repackage CameraServer classes ( #1321 )
...
This is necessary for modularization.
Move the wpilibj CameraServer classes to the cameraserver package.
Move the edu.wpi.first.wpilibj.vision package to edu.wpi.first.vision.
To avoid code breakage, add deprecated copies of the wpilibj classes to the wpilibj jar.
2018-09-23 21:20:12 -07:00
Tyler Veness
467c9fd686
Add kInvalid value to HAL_I2CPort and HAL_SPIPort ( #1329 )
...
This allows HAL_CloseI2C() and HAL_CloseSPI() to be noops, which makes
enabling move semantics in the I2C and SPI wpilibc classes easier and
cleaner.
Fixes #1328 .
2018-09-23 21:14:04 -07:00
Tyler Veness
b505bbefd1
Rename variable in SPI class not compliant with style guide ( #1330 )
...
Also rename some wpilibj SPI class variables to match wpilibc and
better communicate their intent.
2018-09-23 18:26:02 -07:00
Thad House
5c6b78ea2b
Set up CI with Azure Pipelines ( #1306 )
2018-09-23 17:43:23 -07:00
Thad House
f89274fb13
Fix hal header zip task dependencies ( #1327 )
...
Sometimes wouldn't include generated header file
2018-09-21 12:04:11 -07:00
Thad House
1137582a7a
Revert "Move deprecated ntcore classes to wpilibj jar ( #1322 )" ( #1326 )
...
This reverts commit 12c92a822d .
2018-09-21 11:32:11 -07:00
Thad House
e26e3b6aa8
Fix HAL Headers Zip ( #1325 )
...
Was generating file into wrong directory
2018-09-21 10:51:17 -07:00
Thad House
456d3e16a6
Update NI Libraries to layout without C++ ( #1324 )
...
An explicit classifier is not required because we now generate usage reporting
2018-09-21 10:36:40 -07:00
Thad House
e210073044
Move HAL classes to their own base package ( #1317 )
...
Needed for modularization.
2018-09-20 21:59:46 -07:00
Thad House
0068b6aea3
Remove wpilibj tests from wpilibjIntegrationTests ( #1323 )
...
Since the integration tests are still on junit 4, the wpilibj junit 5 tests fail.
2018-09-20 21:57:59 -07:00
Thad House
12c92a822d
Move deprecated ntcore classes to wpilibj jar ( #1322 )
...
Will allow for modularization
2018-09-20 21:50:30 -07:00
Thad House
d2a5aaafdd
Use external dependencies for NI and NetComm libraries ( #1304 )
...
This removes a number of large binary files from the repo and enables vendors
to depend on these libraries separately.
2018-09-19 21:57:58 -07:00
Tyler Veness
bedef476fd
Replace IterativeRobot in examples with TimedRobot ( #1310 )
...
Fixes #1309 .
2018-09-19 21:41:08 -07:00
Thad House
59386635e7
Add CAN API constructor that takes explicit manufacturer and device type ( #1311 )
...
Useful for vendors wanting to use the API and make their own device parameters
2018-09-19 21:40:47 -07:00
Thad House
a846ed062f
Add virtual destructor to CameraServerShared ( #1313 )
...
Fixes mac builds after update
2018-09-19 21:39:57 -07:00
Matt Soucy
8b5dc53cc7
Add Lambda support to InstantCommand ( #1262 )
2018-09-11 23:44:22 -07:00
Kay Kasemir
59700882f1
PIDController: Mention unit for 'period' ( #1305 )
2018-09-11 21:38:19 -07:00
Peter Johnson
025af24523
Make NetworkTableEntry.callRpc and createRpc public ( #1303 )
2018-09-08 21:19:14 -07:00
Peter Johnson
c0ff6198b3
Change hal sim to use spinlocks ( #1291 )
...
This makes callback registration completely thread safe.
This patch also uses templates and macros to dramatically reduce the amount of
manual boilerplate.
2018-09-03 16:08:07 -07:00
Peter Johnson
67b1c85315
Notifier: properly reset HAL alarm in non-periodic case ( #1296 )
...
The loop spins otherwise.
2018-09-03 16:07:23 -07:00
Tyler Veness
0b113ad9ce
Fix some PIDCommand constructors not forwarding subsystems ( #1299 )
...
Also added missing constructor to wpilibc's InstantCommand and renamed
argument from requirement to subsystem as per
https://github.com/wpilibsuite/allwpilib/pull/1275#issuecomment-416071940 .
2018-09-02 14:18:12 -07:00
Peter Johnson
c8482cd6d2
wpiutil: Add WebSocket implementation ( #1186 )
...
This is a RFC 6455 compliant implementation with both client and server support.
2018-08-24 20:54:23 -07:00
Peter Johnson
d6d5321828
wpiutil UidVector: Implement clear() and forward iterator ( #1293 )
...
The forward iterator only iterates over "live" elements.
Also add a couple of unit tests for UidVector.
2018-08-24 20:39:57 -07:00
Peter Johnson
8d91343bf5
wpiutil spinlock.h: Include STL mutex for convenience ( #1292 )
...
The STL mutex header defines classes like lock_guard and unique_lock.
2018-08-24 20:39:20 -07:00
PJ Reiniger
488ba79379
Add more checkstyle checks to simulator code ( #1289 )
2018-08-23 23:15:29 -07:00
PJ Reiniger
de212a9dd0
Add names to simulator components ( #1268 )
...
Makes configuration easier when you can associate the items with a name
instead of just a port number. Important if there is a GUI added at some
point.
2018-08-23 17:59:09 -07:00
Peter Johnson
8d8f120cc3
EventLoopRunner: Use AsyncFunction
2018-08-20 22:21:53 -07:00
Peter Johnson
57490e0002
Add uv::AsyncFunction to do a roundtrip function call to a uv::Async
...
This optionally blocks to wait for a return value.
2018-08-20 22:21:53 -07:00
Peter Johnson
1de1900dbb
Change uv::Async to accept data parameters
...
This is a breaking change as it makes Async a template (e.g. Async<> must
be used instead of just Async). When data parameters are provided, an
internal mutex and vector is used to hold the parameter packs until the loop
runs.
2018-08-20 22:21:53 -07:00
Peter Johnson
4a3e43d4a7
Add HttpMultipartScanner ( #1197 )
...
This is a non-blocking version of FindMultipartBoundary.
2018-08-20 22:00:54 -07:00
Peter Johnson
9e37ee13de
Add wpi::HttpServerConnection and an example of its use ( #1281 )
2018-08-20 13:11:39 -07:00
Peter Johnson
7b95c5341a
ntcore: Change params in Java RpcAnswer from String to byte[] ( #1280 )
...
The underlying protocol uses raw bytes, so they should not be required to be
a valid string.
2018-08-20 13:07:13 -07:00
Peter Johnson
5283726cce
ntcore: Describe RPC version 0 in spec ( #1279 )
2018-08-20 13:06:43 -07:00
Peter Johnson
0b8f4b5e6c
Add libdl to wpiutil cmake build ( #1288 )
...
This is required for dlopen, which is required by libuv.
2018-08-20 00:56:16 -07:00