commit | 575ffb856ec7a91701a79840cad315102eaa0afd | [log] [tgz] |
---|---|---|
author | George Mount <mount@google.com> | Wed Feb 07 12:38:47 2018 -0800 |
committer | George Mount <mount@google.com> | Wed Feb 07 12:44:55 2018 -0800 |
tree | d1725352a40b0812ac8f92617a52181d47ffd5c9 | |
parent | 1204a6fd93d9d17b83b95f35842b13960cd43e8a [diff] |
Fix bug in calculating path in ArcMotion Bug: 73077523 When the path is perfectly horizontal, ArcMotion was calculating a Path that had NaN values. This corrects that problem by special casing horizontal and vertical paths. Test: manual with app that discovered the problem Test: manual with test app Test: I30d51206194e3c68ea145d3a81e05a461c4e0ca8 Change-Id: Ic1a70b79290847726fc7994d1224fd77024e0610