Peter Johnson
020ee227d2
Move ctre headers to hal/src so they aren't user-visible. ( #728 )
...
Also removes ctre_frames.h entirely since it's not used.
Fixes #683 .
2017-11-13 22:23:18 -08:00
Peter Johnson
4d559f3856
Use wpi::mutex instead of std::mutex. ( #730 )
...
This uses a priority-aware mutex on Linux platforms.
Fixes #729 .
2017-11-13 09:51:48 -08:00
Peter Johnson
e301adb22b
Use wpi::mutex instead of std::mutex. ( #105 )
...
This uses a priority-aware mutex on Linux platforms.
2017-11-13 09:51:26 -08:00
Peter Johnson
3438a17341
Use wpi::mutex instead of std::mutex. ( #254 )
...
This uses a priority-aware mutex on Linux platforms.
2017-11-13 09:51:05 -08:00
Peter Johnson
e4deda5ccb
Fix SafeThread bad merge. ( #53 )
2017-11-12 23:00:50 -08:00
Peter Johnson
80618a2e64
Use wpi mutex and condition_variable. ( #52 )
2017-11-12 22:12:03 -08:00
Peter Johnson
e45b6e0f65
Fix typo in priority_condition_variable. ( #51 )
2017-11-12 22:11:08 -08:00
Peter Johnson
86d4899a54
Make NetworkTable constructor private/package-private. ( #253 )
...
Users should be using either NetworkTableInstance.getTable() or
NetworkTable.getSubTable().
2017-11-12 21:57:28 -08:00
Peter Johnson
9d8a508cd5
Add priority_mutex and priority_condition_variable. ( #50 )
...
Also provide wpi::mutex and wpi::condition_variable as wrappers for these
on Linux (where they're available), and for std::mutex and
std::condition_variable on other platforms.
2017-11-12 20:56:29 -08:00
Peter Johnson
c9ead29f44
SafeThread: Simplify m_lock assignment. ( #49 )
...
Instead of construct-and-swap, just use the move operator=.
2017-11-12 20:10:55 -08:00
Thad House
35d68d2a34
Adds ability to simulate joysticks and event info ( #727 )
...
Thanks @pjreiniger for the initiali implementation and work on this.
2017-11-12 19:33:43 -08:00
Peter Johnson
7007725d9f
SerialHelper: Check error_code to prevent infinite loop. ( #725 )
2017-11-11 22:13:59 -08:00
Tyler Veness
0c83cad70c
Upgraded clang-format to 5.0 ( #431 )
2017-11-11 22:09:51 -08:00
sciencewhiz
0001047b8b
Add NidecBrushless to WPILib.h ( #724 )
2017-11-11 16:35:43 -08:00
Peter Johnson
f77fd1eca9
Set SO_EXCLUSIVEADDRUSE for server sockets on Windows. ( #44 )
...
On Windows, the shutdown() call relies on exclusively owning the server
socket.
2017-11-11 16:27:33 -08:00
Peter Johnson
5a5e753921
LLVM path: Don't follow symlinks. ( #48 )
...
This causes issues in recursive_directory_iterator.
2017-11-11 16:27:07 -08:00
Thad House
c885251367
Fixes HALSim_Print build to be the standardized pattern ( #721 )
...
Now publishes in zips, and with proper artifacts.
The code files just moved, and no changes.
2017-11-10 19:26:33 -08:00
Tyler Veness
42096fac3f
Ran formatter ( #722 )
2017-11-10 18:29:27 -08:00
sciencewhiz
6be9e69d13
Switch Command Templates to TimedRobot ( #719 )
2017-11-09 20:08:41 -08:00
Thad House
7bbd13d914
Adds match specific calls to Java and C++ ( #720 )
...
Uses caching, matching the joystick calls.
2017-11-09 19:59:29 -08:00
Thad House
3e4e5261fe
Remove no warnings on winsock and scl issues ( #47 )
...
Not needed anymore. The winsock one we removed and the scl one is
dangerous anyway.
2017-11-09 18:56:27 -08:00
Thad House
cf4afb6feb
Adds get header task ( #46 )
2017-11-09 18:55:27 -08:00
Thad House
55fa1e5e76
Adds header task ( #101 )
2017-11-09 18:43:21 -08:00
Thad House
2225c4fee2
Fixes warnings for casts in sim interrupt functions ( #718 )
2017-11-09 14:01:24 -08:00
Thad House
c101655419
Adds warning prints by updating native plugin ( #100 )
2017-11-09 11:24:22 -08:00
Thad House
51165ba0aa
Updates native plugin to add warning prints ( #251 )
2017-11-09 11:23:52 -08:00
Thad House
f03b31f433
Adds warning printouts to gradle by updating native plugin ( #45 )
2017-11-09 09:25:22 -08:00
Tyler Veness
7efab4c43a
Replaced ternary operators with if statements ( #346 )
...
Instances of the ternary operator were replaced with if statements to make the code base more consistent.
2017-11-08 23:44:03 -08:00
Thad House
c8e44256ef
Uses NI provided function for SetOccurDataRef rather then importing the symbol ourselves. ( #714 )
2017-11-08 23:41:16 -08:00
Peter Johnson
f3cd883c5c
Add Nidec Brushless motor. ( #705 )
2017-11-08 23:40:01 -08:00
Thad House
f34c736fb2
Adds warning prints to native library builds ( #710 )
...
Can be disabled with -PskipWarningPrints
2017-11-08 23:14:21 -08:00
Tyler Veness
1276489961
Removed uses of deprecated functions ( #709 )
2017-11-08 21:29:29 -08:00
Tyler Veness
8b2e656bde
Fixed Java velocity PID not calculating result when P = 0 ( #717 )
2017-11-08 21:28:09 -08:00
Thad House
6e9d1f55c6
Updates image to 2018 v10 image ( #713 )
2017-11-08 11:26:11 -08:00
Thad House
f4dce9e608
Fixes receive size in Java I2C ( #715 )
...
Allows underrun, which matches c++ behavior.
Fixes #711
2017-11-07 18:43:23 -08:00
Thad House
b9aabc71b0
Fixes publishing basenames for examples to make combiner script work. ( #712 )
2017-11-07 14:54:17 -08:00
Jaci R
0d54772362
Add IDEA plugin to root project ( #707 )
2017-11-05 19:57:53 -08:00
Tyler Veness
faf134a674
C++ examples no longer use deprecated APIs ( #703 )
2017-11-05 19:39:47 -08:00
Thad House
c24e755409
Fixes java example publishing and xml file ( #706 )
2017-11-04 10:09:41 -07:00
Thad House
bee9f1cb17
Adds header task to print out all headers ( #704 )
...
Will be used to create a generator for IDE's to get include paths.
2017-11-03 22:50:06 -07:00
Tyler Veness
45d48d6b5a
Cleaned up C++ examples ( #672 )
2017-11-03 13:22:56 -07:00
Peter Johnson
6401aa1fde
SerialHelper: Use llvm path functions instead of popen. ( #702 )
...
This avoids a fork that causes an out-of-memory error in Java.
Depends on wpilibsuite/wpiutil#43
2017-11-03 12:30:56 -07:00
Peter Johnson
8e797a1a1d
Import filesystem directory iterators from llvm. ( #43 )
...
Note: these are similar to the C++17 ones, but don't have quite the same API.
2017-11-03 11:40:42 -07:00
Thad House
6af4940c22
Adds HAL calls for match data from DS ( #691 )
2017-11-01 21:58:44 -07:00
Sam Carlberg
237b2df82f
Add .type metadata to preferences table ( #701 )
...
Allows shuffleboard to automatically discover the type, instead of inflexibly hardcoding it
2017-10-30 21:50:49 -07:00
Peter Johnson
a70687aaec
Improve error reporting for the new TCP netconsole. ( #700 )
...
Fixes #695 .
2017-10-30 21:50:14 -07:00
sciencewhiz
fbfe85568b
Fix preferences test ( #699 )
2017-10-29 21:30:50 -07:00
Tyler Veness
595b1df380
Fixed minimum number of joystick axes ( #696 )
2017-10-29 17:21:50 -07:00
Dustin Spicuzza
fd32350dc6
Assign received sequence number on receiving an unknown entry ( #250 )
2017-10-28 01:07:17 -07:00
Tyler Veness
b9c8ebeffa
Ran formatter ( #99 )
2017-10-27 23:46:50 -07:00