W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > July 2017

Re: [mediacapture-image] Add pan and tilt constraints

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Thu, 06 Jul 2017 15:09:10 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-313424967-1499353733-sysbot+gh@w3.org>
@dsanders11 From my POV I see two viable options:
 1. Use arc seconds, or
 2. Use degrees without rounding, but auto-snap values within 0.000001 of applied constraint.

Either would seem to me to solve most if not all rounding issues.

I don't like the `.toFixed(2)` solution, as it would seem to only exacerbate rounding errors with `step`.

Clearly, if arc seconds were commonly used, they're the inherently simpler option, but I don't have the domain knowledge to know if they are. Naively, I think I'd still pick degrees, but I'm not the target audience. I'd also follow any web precedent here if there is one.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-image/pull/182#issuecomment-313424967 using your GitHub account
Received on Thursday, 6 July 2017 15:09:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:32 UTC