PJ Reiniger
3c842d8234
SPI and I2C simulator ( #662 )
...
* Creating SPI and I2C simulation abilities
* Update the callback helpers to support different function callback
types
* Create callback type that uses a buffer
* Created I2C/SPI data classes that manage the callbacks and don't do
much of anything else
* Ran format, cleaned up some issues
2017-10-18 23:01:58 -07:00
Tyler Veness
ec12b0ffe2
Add wpiformat to Travis CI ( #98 )
2017-10-18 00:49:19 -07:00
Tyler Veness
7fd5947486
Fix include guards ( #97 )
...
Enforced by styleguide#79.
2017-10-18 00:48:44 -07:00
Jeremy White
be77f9cb26
Pull request for the Extensions interface only ( #655 )
...
* Modify halsim to be able to load extension libraries if they are available.
It will read the list of libraries to try from the HALSIM_EXTENSIONS
environment variable. Multiple libraries can be given if separated
by ';' (Windows) or ':' (Unix).
The library must have an 'HALSIM_InitExtension' method that returns >= 0 on success.
The library is expected to use the interface expressed by
hal/src/src/main/native/include/MockData
* Add a simple halsim library that just prints robot values.
This makes a good test bed for cross platform purposes,
and provides the ultimate in light weight simulators.
This initial version only prints PWM values.
2017-10-18 00:27:55 -07:00
Austin Shalit
2fc60680f4
Remove RedundantModifiers ( #578 )
2017-10-17 21:47:55 -07:00
Tyler Veness
0291a95f68
Add cpp examples ( #659 )
...
* Added C++ robot project examples and set up sub .clang-format for them
* Ran formatter
2017-10-17 21:37:58 -07:00
Austin Shalit
66002d6cac
[WIP] Move examples to allwpilib (Java) ( #569 )
...
* Move examples to allwpilib
* Add checkstyle config to examples project
* Ran wpiformat
* Run checkstyle on examples
* Change maximum line length for examples to 80 chars
This number was chosen based on testing of the number of characters shown by default in Eclipse done by @Kevin-OConnor: 51 chars by default on an E09 @ 1024x600 (which has the welcome window open on the right), 71 with welcome closed, 95 with the right-hand outline pane closed
* Add mavenCentral repository
* Rename subproject & error on deprecated API use
* Remove deprecated API usage
2017-10-16 22:30:21 -07:00
Tyler Veness
a7e9ac1062
Fix capitalization of class names in PIDToleranceTest.cpp ( #588 )
2017-10-16 21:16:33 -07:00
Thad House
434d60592c
Adds HAL_Initialize to ErrorBase constructor, and makes HAL_Initialize properly reentrant ( #668 )
...
Partial fix to #663 , and most likely the best we are going to be able to
get.
2017-10-16 20:00:32 -07:00
Thad House
ee20747255
Adds WPILib JNI shared debug file publish. ( #671 )
2017-10-16 19:59:05 -07:00
Tyler Veness
f4779379c3
Added brace comments ( #670 )
...
Enforced by wpilibsuite/styleguide#80 .
2017-10-16 19:56:08 -07:00
Austin Shalit
877a9eae1f
Add SpeedControllerGroup ( #362 )
2017-10-16 19:54:36 -07:00
Tyler Veness
b68e1c5570
Added brace comments ( #96 )
...
Enforced by wpilibsuite/styleguide#80 .
2017-10-15 10:01:17 -07:00
Thad House
ded1beb949
Removes specific raspbian, armv7 and armv8 cross builds ( #249 )
...
Matches wpilibsuite/wpiutil#41
2017-10-14 21:58:32 -07:00
Thad House
a6c7789b5e
Removes specific raspbian, armv7 and armv8 cross builds ( #41 )
...
Will make the cross platform build case easier. A bit more difficult to
consume, but will be easier in the long run.
2017-10-14 21:57:53 -07:00
Thad House
24752a9751
Removes OpenCV dependency from wpilibJNI ( #667 )
...
Not exactly sure why it was there in the first place. Closes #664
v2018.1.1-beta-1
2017-10-12 18:25:17 -07:00
Thad House
e1dc099517
Updates to the 2018v5 image ( #665 )
2017-10-12 18:24:39 -07:00
Sam Carlberg
f0cc623241
Change metadata format to dotfile, make certain entries metadata ( #666 )
...
Sendable's "Name" is now ".name"
Sendable's "Subsystem" is now ".subsystem"
Command's "name" is now ".name"
Command's "isParented" is now ".isParented"
v2018.1.1-alpha-1
2017-10-11 20:27:49 -07:00
Jacob Caporuscio
ba3a85d0cc
Changes TalonSRX to PWMTalonSRX in wpilibj and wpilibc. ( #656 )
...
Also brings the java kResourceType list up-to-date with the cpp list.
2017-10-11 12:01:50 -07:00
Thad House
79919a5f1c
Moves wpilibc link script into shared folder ( #660 )
2017-10-08 10:42:09 -07:00
Thad House
94ea5bfb06
Move published wpilibj JNI shared artifact into shared/ subfolder ( #658 )
...
Makes eclipse easier.
2017-10-07 15:31:36 -07:00
Thad House
24680bbd53
Change link script artifact id ( #657 )
2017-10-07 12:08:53 -07:00
Peter Johnson
73f8412b42
Correctly handle negative waitForXQueue timeouts in Java.
2017-10-05 23:29:00 -07:00
Peter Johnson
529d7f5fe3
Initialize logger min level from logger_impl.
2017-10-05 23:29:00 -07:00
Peter Johnson
a6c1e18aef
NetworkTable.containsKey(): Always return false on empty key.
2017-10-05 23:29:00 -07:00
Peter Johnson
8a37b81f4e
LoadEntries: Don't emit NOTIFY_FLAGS. ( #247 )
...
Fixes #246 .
2017-10-04 11:28:35 -07:00
Peter Johnson
f81b6fbcd6
Fix handling of deleted values in several places. ( #241 )
...
Now that the m_entries entry is kept, other places can't assume that
a value exists simply because the entry exists.
2017-10-02 13:06:39 -07:00
Peter Johnson
7fab0e0ef2
Depend on wpiutil 3.+, ntcore 4.+, cscore 1.+ rather than just +. ( #651 )
...
Also update to wpilib-version-plugin 2.0.
2017-10-01 10:57:03 -07:00
Peter Johnson
223e61df2a
Depend on wpiutil 3.+ rather than just +. ( #95 )
...
Also update to wpilib-version-plugin 2.0.
2017-10-01 10:56:21 -07:00
Peter Johnson
303df626a2
Depend on wpiutil 3.+ rather than just +. ( #235 )
...
Also update to wpilib-version-plugin 2.0.
2017-10-01 10:55:43 -07:00
Peter Johnson
9e8ad778dd
Update wpilib-version-plugin to 2.0. ( #39 )
2017-10-01 10:55:17 -07:00
Peter Johnson
1f18cc5416
Add SaveEntries() and LoadEntries(). ( #233 )
...
These allow saving and loading non-persistent entries in the persistent
file format.
2017-10-01 09:13:43 -07:00
Peter Johnson
e68a71022c
Move immediate connection notification logic into Dispatcher.
...
This prevents a race condition that could result in out of order
notifications.
2017-10-01 09:01:00 -07:00
Peter Johnson
e4a8bff70e
Move immediate entry notification logic into Storage.
...
This prevents a race condition that could result in out of order
notifications.
2017-10-01 09:01:00 -07:00
Peter Johnson
10982e0275
Don't actually remove deleted entries from m_entries. ( #239 )
...
Doing so invalidates entry instance handles.
Fixes #238 .
2017-09-30 22:55:30 -07:00
Tyler Veness
dd66b23845
Remove priority mutex ( #644 )
...
* Removed hal::priority_condition_variable
* Replaced uses of priority mutexes with std::mutex and std::recursive_mutex
This allowed replacing a use of std::condition_variable_any with
std::condition_variable.
* Replaced all uses of std::recursive_mutex with std::mutex equivalents
2017-09-28 23:32:35 -07:00
Tyler Veness
19addb04cf
Split RobotDrive class into a class for each drive type ( #552 )
...
DiffDrive.CurvatureDrive (aka CheesyDrive) and KilloughDrive were also added.
This reorganization paves the way for SwerveDrive.
2017-09-28 23:30:00 -07:00
pjreiniger
abb66d3e4b
Replace FRC_NetworkCommunication CAN in wpilibj with HAL CAN ( #650 )
2017-09-28 22:40:04 -07:00
pjreiniger
db4981f166
Java now asks the HAL if it is a simulation or not ( #647 )
2017-09-23 07:56:53 -07:00
Peter Johnson
8edc02b06d
Update README for new build system. ( #232 )
2017-09-22 22:32:01 -07:00
Tyler Veness
4b2aaee9ea
Made package local methods in NetworkTableInstance public ( #234 )
2017-09-22 22:31:19 -07:00
Thad House
9fdb33b6af
Switches native linux arm build to be nativearm arch ( #38 )
...
Fixes gradle bug
2017-09-22 09:30:58 -07:00
Tyler Veness
6e1be897de
Ran formatter ( #643 )
2017-09-19 21:55:36 -07:00
sciencewhiz
423d8f6860
Add missing usage reporting. ( #639 )
...
Compressor C++/Java
Servo C++
2017-09-19 21:17:27 -07:00
Jeremy White
eb38204d1a
Update the README to note the need for gcc 5+ and Visual Studio ( #640 )
...
Update the build requirements in the README. Add a note about
Visual Studio, the need for gcc 5, and remove the style guide;
it is mentioned further down, and it is not a requirement for building.
2017-09-19 21:14:53 -07:00
Tyler Veness
1711291cd8
Fix Travis build ( #641 )
...
Travis now installs pip3 explicitly.
2017-09-19 21:13:03 -07:00
Peter Johnson
3faecdb353
Add SHA1 algorithm implementation. ( #32 )
...
Largely based on https://github.com/vog/sha1 with some customizations and
optimizations.
2017-09-10 17:21:19 -07:00
Peter Johnson
57ba58917d
PreferencesTest: Use new NetworkTables API. ( #636 )
...
This avoids deprecated warnings from the old API.
2017-09-07 22:40:18 -07:00
Thad House
2249a8bac0
Adds a HAL wrapper around the CAN API's ( #623 )
...
Can someday be added to the simulator. Removes the last use case for the
ni headers directly.
2017-09-07 21:40:30 -07:00
Thad House
c572e6a307
Adds the rest of the data needed for a publish on jenkins ( #628 )
2017-09-07 21:07:01 -07:00