Opened 9 years ago
Closed 9 years ago
#61 closed enhancement (fixed)
Units option on *calibrate
Reported by: | Andrew | Owned by: | Olly Betts |
---|---|---|---|
Priority: | minor | Milestone: | 1.2.21 |
Component: | cavern | Version: | |
Keywords: | calibration | Cc: |
Description (last modified by )
Currently the calibrate adjusts for the offset then multiplies by the scale factor, which works for a stretched tape with the end missing *calibrate tape 0.05 0.752
But of things like mounting a DistoX in a waterproof case the offset will be measured with another device so will not want scaling
Suggestion is to allow the addition of units to the offset if the scale factor should not be applied, this should allow the original format to continue to work while adding functionality.
if not units
real = ( reading - offset) * scale
If units eg *calibrate tape -0.05m 0.752
real = reading * scale - offset
Change History (4)
comment:1 Changed 9 years ago by
Component: | Other → cavern |
---|
comment:2 Changed 9 years ago by
Description: | modified (diff) |
---|---|
Keywords: | calibration added; calibraton removed |
Status: | new → assigned |
Summary: | Units option on *calabrate → Units option on *calibrate |
comment:3 Changed 9 years ago by
Milestone: | → 1.2.21 |
---|
comment:4 Changed 9 years ago by
Milestone: | 1.2.22 → 1.2.21 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Fixed in [88569feea8f9e902169f14758b420dafe4890ec0/git]. Syntax implemented is: