You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This created some ambiguity around inferring units:
In places where units are not clearly stated, for example in geometry, should one assume all geometries are defined in meters?
In a included mesh in mesh_shape, should one assume mesh vertex locations are in meters even if the included mesh file might have another unit convention. For example, FBX files have implied centimeters although it is stated as an unit-less format.
Proposal
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
The text was updated successfully, but these errors were encountered:
qingyouzhao
changed the title
Consider declare meter-kilogram-second officially as part of the specification.
Consider declare meter-kilogram-second units officially as part of the specification.
Mar 25, 2024
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:
However there is not a centralized place that states these are the official units of the sdformat.
Problem
This created some ambiguity around inferring units:
Proposal
Let's discuss options. There are a few options I can think of.
The text was updated successfully, but these errors were encountered: