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
Thad House
efc7770e9b
Fixes NPE in DriverStation initialization ( #694 )
...
Introduced by #626 .
v2018.1.1-beta-2
2017-10-27 23:16:42 -07:00
Tyler Veness
21585f70a8
Added functions for detecting button press and release events ( #626 )
...
I also shuffled around the HID interfaces to be more intuitive, deprecated some
Joystick and XboxController member functions, and deprecated the JoystickBase
and GamepadBase classes.
Supersedes #89 .
2017-10-27 21:45:56 -07:00
Tyler Veness
c33fca34e9
Added TimedRobot template ( #673 )
2017-10-27 21:33:04 -07:00
PJ Reiniger
de95f08a10
Adding call to notify program started ( #692 )
...
Causes the HALSIM_WaitForProgramStart loop to break, essentially
notifying simulators the robot is good to go.
2017-10-27 21:00:52 -07:00
Thad House
90f99dc571
Adds PWM to LoopTiming and CycleStart HAL calls ( #693 )
2017-10-27 19:44:40 -07:00
Thad House
f34332643a
Uses new FPGA calls to get 64 bit FPGA time and 64 bit PWM cycle start time. ( #687 )
2017-10-27 18:03:10 -07:00
Tyler Veness
4ab095e9c9
Fix formatting in CameraServer.cpp ( #689 )
...
A PR didn't rerun the formatter before merging.
2017-10-27 11:35:57 -07:00
Thad House
541753c814
Updates to 2018 v9 image ( #686 )
2017-10-27 00:47:56 -07:00
Jeremy White
f02bb058bd
Set the llvm standard output stream to be unbuffered. ( #678 )
...
This is particularly useful for the simulation when invokved
inside Eclipse. Otherwise, you won't see the robot starting
message.
2017-10-27 00:46:56 -07:00
sciencewhiz
12e96c6f13
Add usage reporting to CameraServer ( #682 )
2017-10-27 00:45:54 -07:00