aerie icon indicating copy to clipboard operation
aerie copied to clipboard

Contrib Clock uses millisecond

Open bashbash opened this issue 2 years ago • 0 comments

srschaff https://jira.jpl.nasa.gov/browse/AERIEQS-336 Moderate The model resource for Clock from aerie.contrib uses milliseconds, different than elsewhere in aerie that uses either microseconds or seconds. It would be much easier to use if everything were in seconds, or at least this demonstration Clock resource.

[https://github.com/NASA-AMMOS/aerie/blob/develop/contrib/src/main/java/gov/nasa/jpl/aerie/contrib/models/Clock.java#L13]

This easily leads (led) to confusion when trying to use those Clock resources in scheduling rules that must mix and match between microseconds (eg Recurrence goal interval), seconds (controllable duration parameter), and now microseconds (constraints on clock resource).

bashbash avatar Mar 17 '23 23:03 bashbash