Thad House
8a11d13a39
Fix C++ DutyCycleEncoder int constructor ( #2166 )
2019-12-09 21:35:00 -08:00
Claudius Tewari
daa81c64a7
Minor javadoc fix in SwerveDriveKinematicsConstraint ( #2167 )
2019-12-09 21:34:32 -08:00
Peter Johnson
e20d96ea4e
Use __has_include for WPILib.h ( #2164 )
...
Now that commands and cameraserver libraries are no longer direct dependencies,
it's necessary to check for their presence.
v2020.1.1-beta-4
2019-12-07 21:39:58 -08:00
Thad House
a76d006a07
Update native-utils to 2020.7.2 ( #2161 )
...
Fixes a bug where source directories were being added to the header search path
2019-12-07 17:18:50 -08:00
Thad House
24c031d692
Increase SPI auto byte count to allow 32 bytes to be sent ( #2163 )
...
The FPGA now supports 32 bytes.
2019-12-07 17:18:25 -08:00
Thad House
6b4eecf5fe
Add hidden functions to get the SPI system and SPI DMA ( #2162 )
...
With the addition of stall configuration, its not very clear how it works, and seems like it would be different
per use. So adding ways to manually get them, so the functionality can be figured out how to be used.
2019-12-07 17:16:14 -08:00
Oblarg
ccdd0fbdb2
Add TrapezoidProfile external PID examples ( #2131 )
2019-12-07 13:37:54 -08:00
Tyler Veness
5c6b8a0f45
Replace std::is_pod_v with std::is_standard_layout_v ( #2159 )
...
The former is deprecated in C++20.
2019-12-07 13:34:52 -08:00
Thad House
67d2fed685
Add DutyCycleEncoder channel constructor ( #2158 )
...
Avoids extra boilerplate at user level.
2019-12-06 20:58:04 -08:00
Thad House
d8f11eb149
Hardcode channels for LSB weight ( #2153 )
...
Avoids a mutex and a lookup.
2019-12-06 20:56:40 -08:00
Thad House
b2ae75acd8
Add way to disable "no extensions found" message ( #2134 )
...
We want it enabled by default, but there have been requests for a way to disable it.
2019-12-06 20:55:36 -08:00
Austin Shalit
4f951789fe
Build testbench tests online inorder to improve speed ( #2144 )
...
* Attempt to build testbench tests online inorder to improve speed
* Fix contianer reference
* Start to remove jenkins shell script
* Change job names
* Remove sshpass
* Remove teststand code
* Copy test results back
* Fix build by using athena container
* Fail if any command fails
* Remove jenkins test script
* Remove name argument
* Fix param count
* Add build display name
* Fix scp to copy into dir
* Update display names
* Update stage name
* Fix test results scp
* Create local test report dir
* Remove commented out old code
* Remove force pseudo-terminal allocation
* Remove extra variables
* Update readme
* Remove old test runs
* Update license header
2019-12-06 17:46:29 -05:00
Austin Shalit
005c4c5beb
Try catch around task dependencies to fix loading in editor ( #2156 )
2019-12-06 11:46:21 -08:00
Tyler Veness
34f6b3f4c0
Fix C++ RamseteCommand param doxygen ( #2157 )
2019-12-05 23:54:32 -08:00
Oblarg
f7a93713fa
Fix up templated TrapezoidProfile classes ( #2151 )
...
* Fix two-phase name lookup bug
* Fix param in ProfiledPIDCommand constructor overload
* Fix ProfiledPIDCommand/Controller
2019-12-04 20:40:37 -08:00
Tyler Veness
8c2ff94d70
Rename MathUtils to MathUtil for consistency with other util classes ( #2155 )
2019-12-04 20:39:12 -08:00
Thad House
d003ec2dc9
Update to 2020v9 image ( #2154 )
...
- Fix VISA include and FPGA header
- Fix missing VISA lib from executables
2019-12-04 20:38:43 -08:00
Peter Johnson
8e7cc3fe78
Add user-friendly SimDeviceSim wrappers ( #2150 )
...
This makes unit testing with SimDevice devices much easier.
2019-12-02 23:27:33 -08:00
Matt
6c8f6cf479
Fix bug in cubic and quintic hermetic spline generation ( #2139 )
...
Add documentation for spline derivatives and explicitly zero matrices.
2019-12-01 21:29:52 -08:00
Peter Johnson
e37ecd33ae
Sim GUI: Add support for LED displays ( #2138 )
...
LED displays connect the LEDs in various ways (column major vs row major,
different starting locations, serpentine connection order), so add
configuration parameters for these options.
2019-12-01 21:28:02 -08:00
Prateek Machiraju
57c5523d67
Fix documentation in RamseteCommand ( #2149 )
2019-12-01 21:27:02 -08:00
Matt
7b9c6ebc2f
Fix wpiutilJNIShared linkage typo in wpilibj ( #2143 )
2019-12-01 13:25:46 -08:00
Oblarg
9a515c80f8
Template C++ LinearFilter to work with unit types ( #2142 )
2019-11-30 23:12:02 -08:00
Prateek Machiraju
5b73c17f25
Remove encoder velocities methods in DifferentialDriveOdometry ( #2147 )
...
It doesn't make sense to continue to provide a less accurate method of performing odometry
when a more accurate method using distances exists.
This also removes the need to pass DifferentialDriveKinematics to the constructor.
2019-11-30 23:10:29 -08:00
Banks T
b8c1024261
Fix PS3Eye VID and PID ( #2146 )
2019-11-30 12:35:47 -08:00
Prateek Machiraju
2622c6c291
Add default values for b and zeta in RamseteController ( #2145 )
...
Values b=2.0 and zeta=0.7 have been well-tested to produce desirable results.
2019-11-29 21:16:01 -08:00
Austin Shalit
f66ae59992
Add HSV helpers to AddressableLED ( #2135 )
...
Also change the setLED() method to setRGB() for consistency and clarity.
Add rainbow example to demonstrate HSV usage.
2019-11-29 15:16:57 -08:00
Oblarg
5e97c81d80
Add MedianFilter class for moving-window median ( #2136 )
...
This kind of filter is extremely useful for signals that are susceptible to sudden
outliers - ultrasonics, 1-D LIDAR, and results from vision processing are all
good use-cases.
This also modifies the existing ultrasonic examples accordingly.
2019-11-29 15:13:40 -08:00
Tyler Veness
f79b7a058a
Remove unnecessary constructor arg for LinearFilter's circular buffers ( #2140 )
...
They are initialized in LinearFilter's constructor, so the default is
never used.
2019-11-28 23:27:20 -08:00
Austin Shalit
e49494830f
Replace Jenkins with Azure agent ( #1914 )
2019-11-25 22:00:35 -08:00
sciencewhiz
b67d049ac2
Check status of PDP CAN reads ( #2126 )
...
Fixes #2124
2019-11-25 21:47:35 -08:00
Peter Johnson
70102a60b7
SendableRegistry.foreachLiveWindow: Prevent concurrent modification ( #2129 )
...
Copy the internal map values into an array before iterating.
In C++, change to recursive mutex as well.
2019-11-25 21:47:06 -08:00
Oblarg
6dcd2b0e2c
Improve various subsystem APIs ( #2130 )
...
Improves the APIs for various prebuilt subsystems (PIDSubsystem, TrapezoidProfileSubsystem, ProfiledPIDSubsystem). Addresses #2128 , and also changes the rather cumbersome getSetpoint API to a more intuitive setSetpoint one. Updates examples to match.
2019-11-25 21:46:47 -08:00
Thad House
ce3973435e
HAL_CAN_ReceiveMessage: return MessageNotFound if no callbacks registered ( #2133 )
2019-11-25 21:45:44 -08:00
Thad House
3fcfc8ea72
Fix double disable segfaulting interrupts ( #2132 )
...
Also fixes DigitalOutput not closing correctly.
2019-11-25 21:43:58 -08:00
sciencewhiz
6ceafe3cd0
Fix class reference for logger ( #2123 )
2019-11-23 07:47:02 -08:00
Peter Johnson
b058dcf64e
Catch exceptions generated by OpenCV in cscore JNI ( #2118 )
v2020.1.1-beta-3
2019-11-22 08:12:17 -08:00
Tyler Veness
0b9307fdf3
Remove unused parts of .styleguide files ( #2119 )
2019-11-22 06:34:58 -08:00
Peter Johnson
39be812b2e
Fix C++ ArmFeedforward ( #2120 )
2019-11-22 06:31:32 -08:00
Oblarg
21e957ee42
Add DifferentialDrive voltage constraint ( #2075 )
2019-11-21 21:43:02 -08:00
Oblarg
e0bc97f66b
Add ProfiledPIDSubsystem example ( #2076 )
2019-11-21 20:55:16 -08:00
Modelmat
3df44c874d
Remove Rotation2d.h wpi/math include ( #2117 )
2019-11-21 19:54:29 -08:00
CTT
a58dbec8aa
Add holonomic follower examples ( #2052 )
2019-11-21 19:52:56 -08:00
Tyler Veness
9a8067465c
Fix incomplete .styleguide ( #2113 )
...
Also clean up other .styleguides.
Fixes #2111 .
2019-11-20 22:44:18 -08:00
Tyler Veness
ffa4b907c0
Fix C++ floating point literal formatting ( #2114 )
...
Found formatting errors with this regex
"([^a-z0-9\.]\.[0-9]|[^a-z0-9\.][0-9]\.[^a-z0-9\.])" and ignored false
positives.
Fixes #2112 .
2019-11-20 21:48:15 -08:00
Oblarg
3d1ca856b2
Fix missing typename and return type ( #2115 )
2019-11-20 21:46:33 -08:00
Austin Shalit
5f85457a97
Add usage reporting for AddressableLED ( #2108 )
2019-11-20 20:13:39 -08:00
Austin Shalit
4ebae17123
Enforce leading/trailing zeros in Java numeric constants ( #2105 )
...
Enforce that integer literals must not have leading zeros and that floating point literals must have leading or trailing zeros in Java.
2019-11-20 20:13:15 -08:00
Oblarg
fa85fbfc1c
Template C++ TrapezoidProfile and ProfiledPIDController on units ( #2109 )
2019-11-20 20:11:46 -08:00
Thad House
f62e23f1af
Add Doxygen for new HAL interfaces ( #2110 )
2019-11-20 16:21:07 -08:00