Austin Shalit
0b9ff68da1
StartLiveWindowMode ITables use lambdas ( #461 )
2017-05-06 23:26:18 -07:00
Austin Shalit
7187e005d4
Add Checkstyle WhitespaceAfter check ( #466 )
2017-05-06 23:22:16 -07:00
Peter Johnson
04486c6472
CameraServer: Always update addresses when updating stream values. ( #496 )
...
This should prevent (as currently happens) occassionally getting just the
mDNS address in the stream value.
2017-05-06 21:31:45 -07:00
Austin Shalit
2ee8ba9361
SafePWM: Rename Feed to feed ( #463 )
...
Add a deprecated shim to avoid breaking any user code using Feed.
2017-05-06 21:31:02 -07:00
Austin Shalit
305450b6e4
Remove 'value' from PIDSourceType ( #464 )
2017-05-06 21:27:07 -07:00
Max Narvaez
1d025204e7
Fixed Spelling Mistakes in SmartDashboard.java ( #506 )
...
Fixed comment spelling.
2017-04-30 00:29:27 -07:00
Tyler Veness
12f759860e
Corrects assumptions about return values from i2c-lib ( #484 )
...
Fixes #478
2017-02-17 00:05:54 -08:00
Austin Shalit
1bdbb5ddcc
Remove usages of isEnable() ( #483 )
2017-02-14 01:16:36 -08:00
Paul Friederichsen
b573fb6555
Fix param order in RobotDrive docs ( #481 )
...
Fix Javadoc @param order in RobotDrive and fix order of params in C++ docs
2017-02-14 01:14:56 -08:00
Peter Johnson
e375b4a9ff
CameraServer: auto-increment startAutomaticCapture(). ( #468 )
...
Also add GetServer() functions so the automatically created VideoSink can
be retrieved by user code if desired.
2017-01-20 01:07:37 -07:00
Thad House
ff141ab1ff
Fixes exception on camera creation without plugged in camera ( #470 )
...
Would throw if the camera was disconnected. We handle this properly at
the JNI level to not have this crash the entire program, but the error
is still kind of annoying, and not really an error.
2017-01-20 01:02:27 -07:00
Peter Johnson
b8537be219
CameraServer: Remove NT-driven settings. ( #467 )
...
Unfortunately, due to the way NT synchronization is currently performed,
this has unexpected and undesirable behavior: when a dashboard (or any other
NT client) is left running between code restarts, when it reconnects, any
code settings will be overwritten by the NT synchronization process. As
fixing this will require a fairly major NT change (and likely a user-visible
one), it's not desirable to do at this point in the year.
Instead, disable NT driven settings entirely (e.g. make the NT interface
publish only). To emphasize the read-only nature of the NT values, attempts
to change the NT values will be immediately overridden by CameraServer.
To better inform users about the actual property names (e.g. for use in their
code), the "raw_" settings no longer have "raw_" removed from their names
(they are still placed in the "RawProperty" subtable).
This change also contains a couple of Java fixes:
* Make getInstance() thread-safe
* Properly synchronize access to m_tables between multiple threads.
* Use Hashtable instead of HashMap.
2017-01-19 12:30:07 -07:00
Austin Shalit
8f1b034b2f
Fix typo in JavaDoc ( #462 )
2017-01-16 22:57:28 -07:00
sciencewhiz
d322342494
Remove comments about Blue DS ( #450 )
...
It's unlikely that anyone is still using the Blue Kwikbyte DS from 2009,
and the reference is confusing to people who weren't around then.
2017-01-14 23:52:48 -07:00
Peter Johnson
bc7ab17692
CameraServer updates ( #446 )
...
* CameraServer: Add properties and video mode NT interchange.
* Automatically serve Axis cameras so they're accessible via USB.
2017-01-05 02:51:55 -08:00
Tyler Veness
7a049c29bd
Added a conditional command that chooses 1 of 2 commands ( #435 )
...
Tests and documentation for ConditionalCommand were also added. This is a fixed version of #9 , so it doesn't support lambdas.
Closes #9
2017-01-04 23:48:13 -08:00
Austin Shalit
eee7f3991c
Allow VisionRunner to stop ( #442 )
2017-01-04 19:41:07 -08:00
Thad House
2e3503517d
Add OS level serial port ( #426 )
2017-01-04 19:38:17 -08:00
Austin Shalit
15e58acc76
Java SendableChooser no longer sets a default on addObject ( #441 )
2017-01-03 19:13:45 -08:00
Austin Shalit
5aa5e3e09e
SendableChooser generic value ( #433 )
...
* Java SendableChooser now decorates with type (non-breaking change)
* C++ SendableChooser now is templated on the type instead of using void* and stores values (breaking change)
* C++ SendableChooser now uses llvm::StringMap instead of std::map
2017-01-03 14:40:31 -08:00
Austin Shalit
ed1a94531a
Update license headers to 2017 ( #434 )
2017-01-01 00:05:57 -08:00
Peter Johnson
4800c201e4
Add Axis camera creation functions and Http camera NT publishing. ( #420 )
2016-12-24 21:05:08 -06:00
Thad House
dc9a9e5d96
Fixes typo in SensorBase error message ( #422 )
2016-12-24 21:04:32 -06:00
Austin Shalit
8f67f2c24c
Remove unused code and add pmd check ( #395 )
2016-12-23 13:20:13 -06:00
Thad House
cc246bb9ac
Switches JNI to use new jni_util methods ( #404 )
...
* Uses WPIUtil string objects in JNI
* Switches JNI to use new jni_util classes
2016-12-23 13:13:17 -06:00
Sam Carlberg
bf9f0a9e6d
Add vision pipeline API to make it easier to run OpenCV pipelines ( #388 )
2016-12-23 10:48:56 -06:00
Austin Shalit
c3160bad44
Update SendableChooser to use HashMap ( #394 )
2016-12-22 15:56:23 -08:00
Thad House
a03e3d7eb9
Fixes HAL to build without all headers included in HAL.h ( #418 )
2016-12-21 23:55:31 -06:00
Tyler Veness
8cec948699
Fix typos ( #409 )
2016-12-19 22:06:39 -06:00
Peter Johnson
0ee4cadca0
CameraServer: Workaround LabVIEW dashboard OpenCV compatibility. ( #406 )
...
The current LabVIEW dashboard (Beta 4) requires the source type to be either
"usb:" or "ip:" and does not support "cv:". To work around this, use a source
type of "usb:" for OpenCV sources as well.
Workaround for #407 .
2016-12-18 13:36:44 -08:00
Austin Shalit
a705eb1c61
Add PMD and solve issues ( #389 )
2016-12-07 21:24:44 -08:00
Austin Shalit
c30057e923
Remove unused imports ( #387 )
2016-12-05 21:36:52 -08:00
Peter Johnson
06108b9479
Update CameraServer support. ( #386 )
...
* Follow MixedCase rename.
* Add GetVideo function to get cameras by name.
2016-12-04 00:26:08 -08:00
sciencewhiz
16181523c9
Put language in version string ( #377 )
2016-12-02 20:36:22 -08:00
Thad House
351ff5eb48
Adds new Threads API for priority setting while using std::thread ( #379 )
...
Also adds Java API for doing the same to Java threads (standard Java Thread.setPriority only works
when Java is run as root, even if the process has the right privileges).
2016-12-01 21:06:19 -08:00
Thad House
4de70bff5e
Adds missing JNI method definitions ( #371 )
2016-11-24 21:49:34 -08:00
Thad House
f3d66e92ec
Searches for USB serial devices to get the correct VISA object ( #363 )
...
Fix was made in LabVIEW, and this matches what was done there.
2016-11-22 21:51:47 -08:00
Thad House
9a91ae54d6
Fixes incorrectly changed Java enums ( #360 )
...
Some enums need a specific value when they get passed to JNI
2016-11-20 20:32:52 -08:00
Tyler Veness
69422dc063
Replaced floats with doubles ( #355 )
...
This makes our APIs more consistent. With optimizations enabled, doubles are just as efficient as floats on ARMv7, so we should take advantage of the extra precision.
2016-11-20 07:25:03 -08:00
Peter Johnson
03a1159915
Java CameraServer: Fix type cast exception. ( #358 )
...
Also fixes an unchecked warning.
2016-11-19 22:45:45 -08:00
Tyler Veness
1c8fb298b4
Ran formatter ( #354 )
2016-11-19 00:39:32 -08:00
Tyler Veness
b25a7cb370
Command::IsFinished() must be overriden by subclasses again ( #353 )
...
Documentation was added for InstantCommand and TimedCommand.
2016-11-19 00:26:22 -08:00
Tyler Veness
140c365e4b
Added XboxController class ( #140 )
...
Joystick and Gamepad functionality was separated into cleaner interfaces.
2016-11-18 23:05:37 -08:00
Peter Johnson
8c93ceb728
Add cscore-based CameraServer. ( #352 )
...
Not fully functional yet, but implements basic functionality required for LabView dashboard interoperability.
2016-11-18 22:30:22 -08:00
Thad House
ac50d7cf8a
Removes NiVision from allwpilib ( #305 )
2016-11-18 20:04:21 -08:00
Krypton Cougars
b78f580d47
Adds default methods for Commands ( #238 ) ( #238 )
...
Closes #235
2016-11-18 14:42:40 -08:00
Thad House
de4a246bb4
Adds OpenCV Loading to wpilib program startup ( #338 )
2016-11-11 22:32:13 -08:00
rrossbach
412b80da30
Fixes joystick button handling HAL JNI layer (buttons are in an ( #341 )
...
int, not a byte)
2016-11-10 20:21:54 -08:00
Thad House
b22d218236
Removes CANJaguar specific constants from JNI files ( #339 )
2016-11-08 16:52:24 -08:00
Thad House
ecb2add791
Removes additional references to CANTalon from the library. ( #312 )
2016-11-01 20:13:26 -07:00