allwpilib icon indicating copy to clipboard operation
allwpilib copied to clipboard

Make WaitCommand use wpiunits

Open WispySparks opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. I love using the command factories and the new java units library but there are some cases where they could mesh better.

Describe the solution you'd like Specifically it would be nice if the WaitCommand constructor was overloaded / Commands.waitSeconds() was able to take in a Measure<Time>.

Describe alternatives you've considered Right now the alternative is to convert the Measure<Time> into Seconds when providing input to Commands.waitSeconds().

WispySparks avatar Feb 20 '24 00:02 WispySparks