Peter Johnson
aec16a934f
Revamp API again and start implementing C and Java wrapper shells.
2016-08-25 23:13:48 -07:00
Tyler Veness
93b486b6ba
Replaced C-style casts found by GCC in HAL, wpilibc, and JNI ( #211 )
2016-08-24 21:39:16 -07:00
Fred Silberberg
075155b431
More gradle 3.0 additions ( #102 )
2016-08-22 20:59:50 -07:00
Peter Johnson
c25c62e0af
Update gradle to 3.0.
2016-08-22 20:40:19 -07:00
Thad House
2ec6132fcb
Switches compiler from -O0 to -Og ( #197 )
...
Should be a heavy increase in performance
2016-08-21 19:15:58 -07:00
Thad House
8aba2b2850
Adds .vscode to styleguide ignore files ( #210 )
2016-08-21 12:35:58 -07:00
Tyler Veness
32c95fa0da
Moved style guide documents and scripts to wpilibsuite/styleguide ( #207 )
2016-08-21 10:31:43 -07:00
Fred Silberberg
e653a228fa
Updates gradle to 3.0. Now that the check bug is fixed, removes the empty check tasks. ( #101 )
2016-08-21 11:16:33 -04:00
Peter Johnson
b2831347bc
Revamp API.
2016-08-19 23:05:28 -07:00
Thad House
7845caa100
Fixes GetRpcResult not removing calluid from call list on non blocking call ( #100 )
2016-08-19 21:48:30 -07:00
Thad House
66d214c8a8
Finishes blocking call canceling ( #99 )
2016-08-18 00:05:06 -07:00
Thad House
277cf2a08f
Removes new line from mdns name ( #98 )
...
Closes #97
2016-08-17 21:21:55 -07:00
Thad House
7bf44e951c
Fixes server side polled rpcs ( #96 )
2016-08-16 23:32:13 -07:00
Thad House
c0ce4270f0
Adds a way to cancel a blocking rpc call ( #94 )
2016-08-16 23:31:45 -07:00
Thad House
d6e8de21ef
Fixes rpc timeouts and blocking call list error ( #95 )
2016-08-16 23:31:01 -07:00
Peter Johnson
1635cba827
Reduced minimum update rate from 100 ms to 10 ms. ( #89 )
2016-08-16 12:07:17 -07:00
Thad House
a786470623
Only allows 1 blocking call per Rpc Call Id ( #93 )
2016-08-15 22:46:49 -07:00
Thad House
4164e670d2
Adds Visual Studio Code files to gitignore ( #92 )
2016-08-15 22:44:36 -07:00
Peter Johnson
062470ef68
Add llvm::SmallSet. ( #90 )
2016-08-15 22:05:47 -07:00
Thad House
0b80bd2b09
Adds timeout capabilities to blocking Rpc Calls ( #86 )
2016-08-15 20:24:07 -07:00
Thad House
40365faeda
Adds a static mutex to notifiers to stop destructor race condition ( #204 )
2016-08-15 19:56:32 -07:00
Peter Johnson
e1515299c2
Initial commit.
2016-08-14 12:38:13 -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
Thad House
5e9fe2f5cb
Adds an ignore for Visual Studio Code files ( #203 )
2016-08-13 14:44:10 -07:00
Tyler Veness
7501ae65a1
PIDController queue now stores inputs instead of errors ( #138 )
...
Closes #29 .
2016-08-12 22:04:44 -07:00
Peter Johnson
63469c00c4
run-tests-on-robot.sh: Save coredump on crash. ( #201 )
2016-08-12 19:18:48 -07:00
Fred Silberberg
3df257cdbb
Set duplicate strategy for all jars and zips to prevent duplicates from occurring ( #191 )
2016-08-12 13:45:58 -07:00
Tyler Veness
45b8e9ab4f
Renamed "pin" to "channel" and variables with underscores now use mixed case ( #194 )
2016-08-12 13:45:28 -07:00
Tyler Veness
227fdc1a60
Updated C++ style guide ( #196 )
...
include guard section now requires #pragma once, enumerators now exclusively use constant naming, and a mention of format.py was added to the "Formatting" section and CONTRIBUTING.md.
2016-08-12 07:14:49 -07:00
Tyler Veness
d347cebf67
Cleaned up odd formatting from static_cast by using "u" integer literal ( #200 )
2016-08-12 06:08:57 -07:00
Tyler Veness
3819cd0768
Updated cpplint.py and fixed its regexes for C-style casts ( #193 )
...
Additional C-style cast warnings thrown were also fixed.
2016-08-11 23:38:45 -07:00
Tyler Veness
e8f1fdda44
format.py now emits warnings for modified generated files ( #195 )
2016-08-11 23:10:10 -07:00
Tyler Veness
fd4719cb87
Fixed Doxygen comments for LinearDigitalFilter ( #198 )
2016-08-11 22:47:51 -07:00
Thad House
bc99d341fb
Changes remote_name to remote_ip ( #87 )
...
Was confusing, as remote_name seemed like a name but wasn't.
Also changes remote_ip in the C api to use an NT_String
2016-08-07 16:38:20 -05:00
Tyler Veness
6ef4745d86
Added Joystick::GetAxisType() ( #98 )
2016-08-07 10:19:19 -05:00
Fredric Silberberg
0f9f7309e3
Sets the duplicate strategy to exclude in all zip tasks ( #85 )
2016-07-30 23:07:21 -05:00
Peter Johnson
e6244289ff
Create dummy wpiutil library. ( #84 )
...
This will allow dependencies such as wpilibc to update to use wpiutil
without breaking "normal" ntcore static library use in the meantime.
This commit also restructures the gradle files by creating a new
(placeholder) wpiutil project, and moving the ntcore project into
a separate gradle file. Added toolchains/native.gradle (refactored from
ntcore).
Also fixes ntcore skipJava on Windows by providing an alternate .def file
for this case.
2016-07-27 22:18:56 -05:00
Peter Johnson
30fbfe46e6
Create dummy wpiutil library. ( #84 )
...
This will allow dependencies such as wpilibc to update to use wpiutil
without breaking "normal" ntcore static library use in the meantime.
This commit also restructures the gradle files by creating a new
(placeholder) wpiutil project, and moving the ntcore project into
a separate gradle file. Added toolchains/native.gradle (refactored from
ntcore).
Also fixes ntcore skipJava on Windows by providing an alternate .def file
for this case.
2016-07-27 22:18:56 -05:00
Peter Johnson
a73166a665
Make many more utility classes/headers public. ( #76 )
...
Moving these headers from src to include enables other libraries to use the
functionality provided.
* tcpsockets
* atomic_static
* raw_istream
* timestamp
* SafeThread
* Base64
* LEB128
* ConcurrentQueue
The classes have been moved into the wpi namespace as they're generic.
2016-07-27 00:39:38 -07:00
Thad House
62a980d3c8
Fixes Relay Constant Test ( #189 )
2016-07-26 13:53:45 -07:00
Thad House
866046edd1
Some general cleanups in the HAL ( #188 )
...
AnalogTrigger initialization checks are now in the correct order. Plus
frees no longer grab the structure if it is not needed.
2016-07-25 23:26:34 -07:00
Fredric Silberberg
8ac7e44f19
Updates gradle to 2.14.1 ( #186 )
2016-07-25 21:21:34 -07:00
Fredric Silberberg
d66f65e376
Updates gradle to 2.14.1 ( #83 )
2016-07-25 21:21:08 -07:00
Thad House
a831978cce
Uses the fixed SensorBase functionality in the WPILib ( #185 )
2016-07-21 23:24:06 -07:00
Thad House
8da577b56f
Moves FRCDriverStation to athena folder ( #184 )
2016-07-21 23:22:02 -07:00
Thad House
512ecf6490
Makes SensorBase checks use HAL check methods ( #182 )
2016-07-20 22:47:29 -07:00
Thad House
0901ae0808
Switches the HAL structs to use unique_ptr ( #183 )
2016-07-20 22:05:17 -07:00
Thad House
1ca291f20b
Fixes a missed HAL_Bool change from int32 ( #181 )
2016-07-17 20:54:39 -07:00
Thad House
75eabfee1c
Moves DriverStation HAL code to its own header and definition ( #179 )
...
To allow for future use as a plugin for the HAL simulator.
2016-07-17 19:42:33 -07:00
Tyler Veness
f7c3f13a7f
Improve CircularBuffer documentation ( #180 )
2016-07-16 20:50:19 -07:00