Brennon Brimhall
dfa46cbddd
Fix typos, keep formatting consistent. ( #974 )
2018-04-29 20:15:50 -07:00
Austin Shalit
91151e33bb
Add out to gitignore ( #988 )
2018-04-29 20:14:53 -07:00
Tyler Veness
2ed9ae1652
Removed unused ROBOT_TASK_PRIORITY constant from RobotBase.java ( #991 )
2018-04-29 20:14:06 -07:00
Austin Shalit
fdfea35161
Fix JavaDoc tag ( #995 )
...
The isParented method had an incorrect javadoc tag for the return value.
2018-04-29 20:13:18 -07:00
Austin Shalit
47783842e9
Fix JavaDoc tag in Differential Drive ( #996 )
...
The `{@link SpeedControllerGroup}` was broken because SpeedControllerGroup was not imported.
2018-04-29 20:12:35 -07:00
Thad House
7f88cf768d
New 2018 and later build setup ( #1001 )
2018-04-29 13:29:07 -07:00
Thad House
cb2c9eb6d5
Remove gmock and builds from utility libraries ( #999 )
2018-04-27 22:14:26 -07:00
Peter Johnson
4a1e520758
Merge cscore into allwpilib.
2018-04-27 20:02:15 -07:00
Peter Johnson
b3aa659f93
Merge ntcore into allwpilib.
2018-04-27 20:02:05 -07:00
Peter Johnson
4870d83ad1
Merge wpiutil into allwpilib.
2018-04-27 20:01:38 -07:00
Peter Johnson
7210a8fd28
Prepare ntcore for merge into allwpilib.
2018-04-27 19:57:35 -07:00
Peter Johnson
0f947613a9
Prepare wpiutil for merge into allwpilib.
2018-04-27 19:56:51 -07:00
Peter Johnson
ea73c10cd8
Prepare cscore for merge into allwpilib.
2018-04-27 19:43:49 -07:00
Peter Johnson
6d3d52f923
Fix GetJpegSize() and JpegNeedsDHT() to handle SOF as first tag. ( #127 )
...
Previously these functions ignored SOF if they came immediately after
the SOI (e.g. bytes 2 and 3 of the file). A handful of cameras generate
images like this.
2018-03-08 19:51:40 -08:00
Tyler Veness
dbd1f1781e
Ran wpiformat ( #126 )
2018-03-07 01:14:21 -08:00
Tyler Veness
96e9a6989c
Improved Command-based examples ( #906 )
...
Robot.cpp has been split into header-source pairs and the Command-based
examples now define an example subsystem in the Robot class.
v2018.4.1
2018-03-05 22:06:40 -08:00
Thad House
14228d82f3
Adds Direct port name Serial API ( #956 )
2018-03-05 19:41:09 -08:00
Peter Johnson
040731447f
Add FPS and byte count telemetry measurement for sources. ( #125 )
...
* Add FPS and byte count telemetry measurement for sources.
* Add new error code for telemetry not enabled.
2018-03-04 21:01:55 -08:00
Peter Johnson
5175829bab
PWM: Use getRaw and setRaw for Sendable "Value" property. ( #963 )
...
Also change type to "PWM". Move old PWM Sendable behavior for both value
and type to PWMSpeedController.
2018-03-03 21:36:25 -08:00
Peter Johnson
9d7293734a
SendableChooser: Do not automatically add to LiveWindow. ( #964 )
...
SendableChooser::InitSendable() is written such that it saves the table
being used in an instance variable. This doesn't work if the chooser is
added to both LiveWindow and SmartDashboard. Normally it is not added to
LiveWindow because the name is empty, but if setName() is called this could
still happen. Note adding the same SendableChooser to SmartDashboard with
two different names is also not currently supported, for the same reason.
The correct solution will be to remove the instance variable, but this is
too high risk to implement mid-season, so instead just remove from LiveWindow.
2018-03-03 21:34:42 -08:00
Peter Johnson
1e5ec362f7
CameraServer: catch VideoExceptions in video listener. ( #949 )
...
We don't want failures here to stop other video properties from updating.
Reported here: https://www.chiefdelphi.com/forums/showthread.php?t=162860
2018-03-03 01:58:28 -08:00
Tyler Veness
7bb3e4efc3
Made documentation for RobotDriveBase::SetDeadband() clearer ( #953 )
...
It now mentions that the deadband is applied to the drive inputs.
2018-03-03 01:57:59 -08:00
PJ Reiniger
67de595c85
ADXRS450_Gyro: Add null check around reset ( #948 )
...
Reset() is the only function without a null check around it. We call the function on startup, which means if it is unplugged the robot crashes.
Also added an accessor for checking if it is connected, as some teams (us) would like to handle the case where it was not connected on startup.
2018-03-03 01:57:45 -08:00
Thad House
82152e90fe
Adds defaults to PWM config ( #961 )
2018-03-03 01:56:49 -08:00
Dustin Spicuzza
1e7d439899
HAL Notifier: Don't disable the notifier manager when the last handle is cleaned up ( #960 )
...
- Addresses #959 , but not a good long term solution
2018-03-03 01:56:24 -08:00
Peter Johnson
71d06a1a20
HttpRequest: Don't reorder parameters. ( #73 )
...
Also now allows duplicate parameters (which is needed for some use cases).
2018-03-01 20:01:11 -08:00
Peter Johnson
698feff2ff
MjpegServer: Support limiting FPS. ( #123 )
2018-03-01 20:00:25 -08:00
Peter Johnson
3ef9ffaf34
HttpCamera: Force reconnect when SetUrls() is called. ( #122 )
...
The URL often contains other information like the camera resolution,
not to mention actually changing cameras!
2018-02-28 23:28:49 -08:00
Peter Johnson
3025a182cc
Fix two bugs in client synchronization. ( #270 )
...
Both could occur if a client and server write to the same key and the server
disconnects/reconnects (or restarts).
Bug 1: the client did not properly update the sequence number in this case,
so later server updates could be ignored until the sequence number wrapped.
Bug 2: the client did not properly set the id and sequence number for the
update message back to the server, so the server would ignore the message.
2018-02-28 22:58:34 -08:00
Tyler Veness
febc41c85d
Fix Travis CI wpiformat install ( #72 )
2018-02-20 23:03:29 -08:00
Tyler Veness
627ca6db75
Fix Travis CI wpiformat install ( #121 )
2018-02-20 23:02:55 -08:00
Tyler Veness
c80b0de2c4
Fix Travis CI wpiformat install ( #269 )
2018-02-20 23:02:36 -08:00
Tyler Veness
979984fa6b
Fix Travis CI wpiformat install ( #947 )
2018-02-20 23:01:57 -08:00
Thad House
57e9fb33d2
Fixes C++ SendableChooser using invalid temp variable ( #945 )
v2018.3.3
2018-02-15 23:00:46 -08:00
Thad House
f5a292dadd
Adds TriState JNI entry point ( #938 )
...
Also adds missing sim TriState DIO HAL call, and a ToDo for later
v2018.3.2
2018-02-12 16:05:10 -08:00
Peter Johnson
4e9e7ec8f5
ParseHttpHeaders: Make case-insensitive per HTTP spec.
2018-02-09 11:31:03 -08:00
Sam Carlberg
77d6c11743
Invert right side motors in MecanumDrive sendable ( #933 )
...
This aligns with the current behavior of DifferentialDrive
Fixes shuffleboard#404
v2018.3.1
2018-02-09 08:30:12 -08:00
Peter Johnson
c69b8f00d0
ReadJpeg: Don't read past the end of the image. ( #119 )
...
This was causing HTTP cameras that didn't send content-length to skip
frames.
2018-02-08 20:16:30 -08:00
Peter Johnson
0542b50f76
Work around fallthrough warnings on GCC 7+.
2018-02-07 22:10:21 -08:00
Thad House
1077ef9fb7
Adds compile task ( #118 )
2018-02-04 22:41:28 -08:00
Tyler Veness
67f9c9a5b3
Fixed TimedRobot.java hanging if an exception was thrown ( #926 )
2018-02-04 22:38:19 -08:00
Thad House
f720cbb121
Switches CtreCanNode to use locking and std::chrono for time ( #909 )
2018-02-01 21:39:06 -08:00
Tyler Veness
64a7e57fe0
Added output normalization to DifferentialDrive::CurvatureDrive() ( #924 )
...
This normalizes within -1..1 to avoid clipping and maintain the ratio between
wheel speeds, since that ratio determines the center of rotation.
Fixes #923 .
2018-02-01 21:17:04 -08:00
Tyler Veness
5ca00dddbe
Added TimedRobot::GetPeriod() ( #915 )
...
Fixes #914 .
2018-01-27 01:01:15 -08:00
Tyler Veness
120ceb3427
Fix channel reassignments for C++ Joystick twist and throttle axes ( #903 )
2018-01-26 17:26:10 -08:00
Thad House
5cbafc1382
Updates to image 17 ( #913 )
...
These should be binary compatible, so safe to use with image 16.
2018-01-26 17:21:13 -08:00
Thad House
39d1650d51
Fixes double to int to double cast in encoderJNI ( #918 )
...
Fixes #916
2018-01-26 17:20:20 -08:00
Thad House
02336fc478
Makes FMS data never be a null string. ( #900 )
...
Fixes #895
v2018.2.2
2018-01-19 23:49:34 -08:00
Thad House
c00848c060
Fixes indexed classed handle resource ( #899 )
...
Nothing in WPILib uses it, so it was not tested
2018-01-19 22:31:59 -08:00
Dustin Spicuzza
738a1c015c
PIDController: setContinuous should only check input range if continuous is true ( #896 )
2018-01-19 22:31:08 -08:00