GobySoft / dccl

Dynamic Compact Control Language
Other
17 stars 13 forks source link

Angular velocity returns dimensionless #135

Open tsaubergine opened 7 months ago

tsaubergine commented 7 months ago
required int32 angular_vel = 4 [
    (dccl.field) = { units { system: "angle::degree" derived_dimensions: "angular_velocity" } }

ends up providing a dimensionless value (which leads to incorrect conversions).

tsaubergine commented 7 months ago

It appears this is a dimension but ill-defined so conversions are allowed but don't work correctly. We need some way to check for this poorly defined systems.