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>
old-commit-hash: 73db079199
* handle posenet and senor alerts in locationd
* defaults now set in capnp file
* Cleanup c++ version of params learner
* update ref commit
old-commit-hash: d099e09fb7
* Start white panda deprecation
* Unify alert text
* Add noentry
* Change to no longer supported
* panda is lowercase
* Capitalize
* rerun ci
old-commit-hash: c85b174584
* it's a class
* more refactor
* remove that
* car interface should create that
* that too
* not a dict
* don't create permanent events every iteration
* break up long lines
* fix honda
* small optimization
* less long lines
* dict is faster
* latcontrol less args
* longcontrol less args
* update profiling script
* few optimizations
* create events together
* clean up
* more clean up
* remove comment
* clean up
* simplify state transition
* more clean up
* update comments
old-commit-hash: 08832ff29d
- better polyfitting
- no mpc cost change during lane change
- model trained with better ll gt, sim noise and guaranteed memories
old-commit-hash: 65fcc7c45f
* unit test for alert width
* fix scale
* comment
* fix offending alert text
* rename
* update process replay refs
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 0f6c22ce8b
* split out leaf and xtrail
* Add brake pedal
* This should work
* Fix test car models + bump panda
* Combined cruise enabled detection in single message
* Proper frequency checks
* Add doors
* Blinkers and doors
* Seatbelt
* Gear
* Add cancel message
* Unify steering pressed
* Remove angle limit
* Add steer saturation alert for angle based control
* Add set speed
* Change wheel speed factor
* Fix offset in set speed
* Timeout on engage for steer saturated
* Put counter back
* try cancel using seatbelt
* Try different cancel message
* Rename cancel signal
* Add LKAS alert
* Add missing fingerprint values
* Update test car models
* Add some comments
old-commit-hash: 1df6b67511