intel / ad-rss-lib

Library implementing the Responsibility Sensitive Safety model (RSS) for Autonomous Vehicles
https://intel.github.io/ad-rss-lib/
GNU Lesser General Public License v2.1
336 stars 138 forks source link

Unclear usage in the python example #134

Closed DPeled closed 8 months ago

DPeled commented 1 year ago

Hi, on the python example in ad_rss/python/tests/interface_test.py at line 108 the value passed to the brakeMin is negative while in the doxygen documentation said the value has to be positive. Is this mistake on purpose?

berndgassmann commented 1 year ago

Sorry, but on this the doxygen documentation is outdated. At some point in time the behavior was adapted, but the doxygen documentation was not. The brake values have to be negative to be accepted. See also the input check on longitudinal and lateral input ranges. So indeed a mistake.