Open qingyouzhao opened 6 months ago
Let's discuss options. There are a few options I can think of.
- Define units in a centralized place and only document exceptions in individual schemas. This is the simplest way to disambiguate if everyone has been working with this assumption.
- Define units explicitly as part of the schema similar to angle vs radians in pose. This would be more tedious to implement but makes units more explicit
I prefer option 1, and the we refer to ROS REP 103, which defines standard units for ROS.
I'd prefer option 1 as well. I think for mesh files, the mesh loader should be implemented such that if the file format has a convention of using a different unit (e.g. centimeters), it would convert the values to meters during import.
Context
In various documentations in the SDF spec, units kilograms, meters and seconds are used for different physical properties. For example:
Problem
This created some ambiguity around inferring units:
Proposal
Let's discuss options. There are a few options I can think of.