Fix rounding of minSteerSpeed in events (#1620)
I thought I was missing a rounding in Mazda code, but it turned out to be a missing rounding after the recent event refactoring Python3 interpreter: >>> print(" %d %d" % (1.6,1.4)) 1 1 >>> print(" %d %d" % (round(1.6),round(1.4))) 2 1 >>> print(" %d %d" % (int(round(1.6)),round(1.4))) 2 1 >>> print(" %d %d" % (int(round(1.6)),int(round(1.4)))) 2 1 Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>pull/1634/head
parent
c76cf53175
commit
73db079199
2 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue