Skip to content

Add Generics Support to AutoLog #222

@Gregadeaux

Description

@Gregadeaux

Is your feature request related to a problem? Please describe.
You cannot currently use generics inside of classes with the @autolog annotation

Describe the solution you'd like
Would like to be able to do something like this

@AutoLog
 public class MotorIOInputs<PosUnit extends Unit, VelUnit extends Unit> {
     public Measure<PosUnit> position;
     public Measure<VelUnit> velocity;
}

Describe alternatives you've considered
Could of course ditch that entirely and just do double's, but I do like the Units API generally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions