Thad House
9bbdaf300b
Removes the task class from wpilib ( #314 )
...
Was required back on the cRIO, but there are much better alternatives
nowadays.
2016-11-01 20:12:08 -07:00
Thad House
e75e9092a8
Fixes athena runtime zip not being built at the correct times ( #306 )
2016-10-27 22:01:28 -07:00
Thad House
29f999e2b2
Adds new handle structure and type for vendors ( #297 )
2016-10-26 23:09:33 -07:00
Thad House
5e3755493d
Linking and maven publish location rewrite ( #298 )
...
* Links HAL shared instead of static, and doesn't include library in jar
* Strips shared object files, and includes debug in releases
* Zips the HAL libraries into a separate maven artifact
* Switches to shared wpiutil
* Switches wpilibc to shared
* Moves maven artifacts
wpilibc now in edu.wpi.first.wpilibc:athena
wpilibj now in edu.wpi.first.wpilibj:athena
wpilibj jni not in edu.wpi.first.wpilibj:athena-jni
hal now in edu.wpi.first.wpilib:hal
athena runtime added (hal, ntcore, wpiutil) edu.wpi.first.wpilib:athena-runtime
Changes made where wpilibc does NOT include all required artifacts anymore. Dependent on hal, wpiutil and ntcore packages to work correctly.
JNI does NOT include all required artifacts anymore. Dependent on hal and wpiutil packages to work correctly.
2016-10-25 20:46:09 -07:00
Tyler Veness
5ca5583fc3
Removed unnecessary set of parentheses and ran formatter ( #290 )
2016-10-23 16:34:00 -07:00
Thad House
75463a249f
Implements threaded notifiers and interrupts in the HAL ( #281 )
2016-10-23 14:34:43 -07:00
Thad House
7280d241f0
Fixes DIO not erroring with too high of DIO number ( #288 )
2016-10-23 14:21:14 -07:00
Thad House
df4a2c07f0
Checks for system initialization in functions that can be called before creating handle based objects ( #285 )
2016-10-23 10:00:34 -07:00
Thad House
c46c490376
Adds wpiUtil to HAL and JNI ( #280 )
2016-10-23 09:51:30 -07:00
Thad House
4c1e4fd80c
Updates image to v6 ( #278 )
...
Added exports of the environment variables set in the frcRunRobot script to prevent fork calls.
2016-10-19 22:30:29 -07:00
Kevin-OConnor
567ea1d58d
Remove CAN TalonSRX from WPILib (moving to external library) ( #268 )
2016-10-13 18:50:20 -07:00
Thad House
f1c2b66569
Reverts the 2017 Image for Beta 1 ( #264 )
...
* Revert "Updated the rpath to point to the correct location for the Java integration tests. (#262 )"
This reverts commit c313dde03a .
* Revert "Update image 2017 v5 (#254 )"
This reverts commit 8d1c51b7e9 .
2016-10-12 19:52:49 -07:00
Fred Silberberg
8d1c51b7e9
Update image 2017 v5 ( #254 )
...
* Updated the image version and dependent libraries to 2017 v5.
* Updated version for beta 1
* Some additional library updates, task updates, and rpath updates
2016-10-08 00:13:31 -07:00
Thad House
8b2345a706
Removes an unnecessary function from HAL Power ( #237 )
...
Was not declared in header, so never used anywhere
2016-10-03 09:52:47 -07:00
Tyler Veness
5dfae8d6bd
Fixed include order ( #245 )
...
See wpilibsuite/styleguide (#11 ).
2016-09-25 16:50:13 -07:00
Tyler Veness
659dbef751
Ran format.py after writing unit tests for and fixing bugs in it ( #239 )
2016-09-21 23:48:54 -07:00
sciencewhiz
5d2a08443b
Fix Typos. Fixes artf4853 ( #242 )
2016-09-18 08:43:22 -07:00
Tyler Veness
087eeec760
C standard library functions and types are now prefixed with std:: ( #227 )
2016-09-14 20:52:06 -07:00
Thad House
2ecb939b35
Add a method to detect the HAL runtime version ( #228 )
2016-09-13 21:21:57 -07:00
Thad House
c2fc6711d8
Switches enums to use a fixed size for their base ( #230 )
2016-09-13 20:27:38 -07:00
Tyler Veness
6bfc008673
Replaced snake case variable names with mixed case ( #221 )
2016-09-06 19:43:24 -07:00
Tyler Veness
2c94d0ba2f
Cleaned up integer type usage in the HAL ( #192 )
...
Replaced all uses of built-in types except char with stdint.h typedefs and all unsigned types with signed in the HAL
2016-09-06 19:39:28 -07:00
Tyler Veness
ff93050b31
Remove static_assert for sizeof(uint32_t) <= sizeof(void*) ( #220 )
...
According to #192 , we don't cast integers to pointers anymore. The size static_assert is unnecessary.
2016-09-05 23:31:58 -07:00
Tyler Veness
05626cfafe
Fixed cpplint.py warnings ( #215 )
...
* Fixed cpplint.py [build/include_order] and [build/include_what_you_use] warnings
* Fixed cpplint.py [readability/casting] warnings
* Updated .styleguide format
* Fixed cpplint.py [build/header_guard] warnings
2016-09-05 13:55:31 -07:00
Thad House
59ec54887d
Switches notifier to use a typedef for the callback, and prepends HAL_ to InterruptHandlerFunction ( #216 )
2016-09-05 07:31:51 -07:00
Tyler Veness
028efff50d
Ran format.py ( #217 )
2016-09-05 07:31:02 -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
Thad House
40365faeda
Adds a static mutex to notifiers to stop destructor race condition ( #204 )
2016-08-15 19:56:32 -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
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
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
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
Thad House
7ddc153623
Fixes analog gyro casting to float then returning double ( #177 )
2016-07-15 18:13:51 -07:00
Thad House
dffaa0abb9
Moves HAL cpp headers from root to HAL directory ( #174 )
...
Could not include the ctre and NetComm folders, as those would require
changing ctre dependancies. Also removes a duplicated FRCComm header
that was not needed.
2016-07-14 00:17:29 -07:00
Thad House
d2aa168f66
Implements Better Error Messages from the HAL ( #172 )
...
* Makes the HAL provide a better error message for certain things.
* Makes Java error messages better
* Updates C++ errors.
* Moves handles header folder to HAL directory
2016-07-13 20:29:28 -07:00
Thad House
05c00430b3
Fixes CPP lint errors added to HAL. ( #173 )
2016-07-13 20:16:45 -07:00
Thad House
5305087162
Fixes a missed float to double change in the HAL. ( #176 )
2016-07-13 19:25:57 -07:00
Thad House
edf5ecd4a0
Changes HAL Headers to be C compliant. ( #171 )
2016-07-12 21:53:06 -07:00
Tyler Veness
1b1ee7f9f3
Renamed spiGetSemaphore() to spiGetMutex() ( #170 )
2016-07-12 15:11:41 -07:00
Thad House
b51e85ae26
Switches HAL to fixed length signed integers, and adds our own HAL_Bool Type ( #155 )
...
* Switches HAL to fixed length signed integers, and adds our own HAL_Bool type
* Replaces HAL Floats with Doubles
Doubles are just as fast as floats with optimizations turned on, so
switches to all doubles. All made doubles for consistency.
* Prepends HAL/ to HAL include files. Also fixes some range errors
2016-07-12 10:45:14 -07:00
Thad House
4a98e68815
Moves the DS new data wait calls down to the HAL. ( #156 )
2016-07-10 23:10:05 -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
Tyler Veness
e44a6e227a
Refactored wpilibj HAL JNI to simplify generating it from HAL headers ( #109 )
...
wpilibj FRCNetworkCommunication.java is now generated from HAL headers and was renamed to FRCNetComm.java
2016-07-10 16:24:57 -07:00
Thad House
ea6876e81f
Some general HAL cleanups ( #153 )
2016-07-09 17:38:18 -07:00
Tyler Veness
aa9c2b2c92
Made Log.h use std::chrono ( #136 )
2016-07-09 16:58:31 -07:00
Thad House
43a2eccdc9
Finishes Prefix Renames ( #152 )
2016-07-09 01:12:37 -07:00