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
Thad House
5443fdabc1
Directly construct PWM port from HAL, avoid wpilib PWM object ( #2106 )
2019-11-20 14:48:14 -08:00
Austin Shalit
c0e36df9d8
Standardize on PWMVictorSPX in examples ( #2104 )
2019-11-19 21:48:22 -08:00
Oblarg
8c4d9f5415
Add TrapezoidProfileSubsystem ( #2077 )
...
Adds a subsystem that continually runs a TrapezoidProfile, for composition with offboard PID controllers.
2019-11-19 12:38:42 -08:00
Prateek Machiraju
45201d15fc
Add encoder distance overload to DifferentialDriveOdometry ( #2096 )
...
Also force encoders to be reset to zero on pose reset.
2019-11-19 09:56:34 -08:00
Tyler Veness
845aba33fe
Make feedforward classes constexpr ( #2103 )
...
ArmFeedforward::Calculate() can't be made constexpr because std::cos()
and thus units::math::cos() is not constexpr.
Fixes #2101 .
2019-11-19 06:47:59 -08:00
Thad House
500c43fb84
Add examples for DMA, DutyCycle, DutyCycleEncoder and AddressableLED ( #2100 )
2019-11-18 22:12:17 -08:00
Prateek Machiraju
5891628112
Use DifferentialDriveWheelSpeeds in RamseteCommand ctor ( #2091 )
2019-11-18 22:11:05 -08:00
Thad House
b37b68daaf
Add JRE deployment to MyRobot Deploy ( #2099 )
2019-11-18 19:52:56 -08:00
Oblarg
0e83c65d27
Fix small logic error in ParallelDeadlineGroup ( #2095 )
2019-11-18 15:33:45 -08:00
Thad House
6f6c6da9f5
Updates to addressable LED ( #2098 )
...
Only PWM Headers are supported, so enforce that.
Also fixes some init checks and init order checks.
2019-11-18 15:25:04 -08:00
Thad House
1894219ef6
Fix devmain package in commands ( #2097 )
2019-11-18 15:24:04 -08:00
Peter Johnson
77a9949bbf
Add AddressableLED simulation GUI support
2019-11-18 00:51:59 -08:00
Peter Johnson
a4c9e4ec28
Add AddressableLED simulation support
2019-11-18 00:51:59 -08:00
Thad House
8ed2059074
Add AddressableLED ( #2092 )
2019-11-17 16:39:38 -08:00
Thad House
59507b12dc
Bump to 2020 v7 image ( #2086 )
2019-11-15 21:51:31 -08:00
Peter Johnson
5d39bf8065
Make halsimgui::DrawLEDs() values parameter const ( #2088 )
2019-11-15 20:29:51 -08:00