Changes the default units of the angular velocity in the kodlab_sdk from degrees per second.
This puts the kodlab_sdk and the pi3hat defaults at odds, and so a few functions needed to be updated to convert the units.
Changed a constructor IMUData(...) and an Update(...) function
Added constants for converting the units
Changed the comments to match
Notes:
The way we would like to handle units in this repo requires that all units be in MKS and any variable or member not in MKS should have the units in the name, e.g.
ang_vel would be assumed to be in rad/s
ang_vel_dps would be in degrees per second
x_velocity would be assumed m/s
x_velocity_mm_s then mm/s
It is ok for the MKS units to be added to the name, if the author feels it is good to clarify for whatever reason.
Changes the default units of the angular velocity in the kodlab_sdk from degrees per second. This puts the kodlab_sdk and the pi3hat defaults at odds, and so a few functions needed to be updated to convert the units.
IMUData(...)
and anUpdate(...)
functionNotes: The way we would like to handle units in this repo requires that all units be in MKS and any variable or member not in MKS should have the units in the name, e.g.
ang_vel
would be assumed to be in rad/sang_vel_dps
would be in degrees per secondx_velocity
would be assumed m/sx_velocity_mm_s
then mm/s It is ok for the MKS units to be added to the name, if the author feels it is good to clarify for whatever reason.