The PrecedenceRule defines a precedence relationship between two routes. Vehicles on the low_ priority route have to yield, while vehicles on the high_ priority route may proceed.
More...
#include <precedence.h>
|
| PrecedenceRule () |
|
void | set (const std::string &s, bool coordinates_in_UTM=true) |
| reads PrecedenceRule's two PriorityRoutes from the input string exemplary valid string "0.0,3.5,1.7;1.2,6.6,1.7 > 0.45,1.1,1.3;17,18,19": first=high_ exemplary valid string "0.0,3.5,1.7;1.2,6.6,1.7 < 0.45,1.1,1.3;17,18,19": first=low_ exemplary valid string "0.0,3.5,1.7;1.2,6.6,1.7": unary, higher then all crossing More...
|
|
bool | equals (const PrecedenceRule &other) const |
|
PriorityRoute::boost_box | getBoostBox () |
|
The PrecedenceRule defines a precedence relationship between two routes. Vehicles on the low_ priority route have to yield, while vehicles on the high_ priority route may proceed.
◆ PrecedenceRule()
adore::env::PrecedenceRule::PrecedenceRule |
( |
| ) |
|
|
inline |
◆ equals()
bool adore::env::PrecedenceRule::equals |
( |
const PrecedenceRule & |
other | ) |
const |
|
inline |
◆ getBoostBox()
◆ set()
void adore::env::PrecedenceRule::set |
( |
const std::string & |
s, |
|
|
bool |
coordinates_in_UTM = true |
|
) |
| |
|
inline |
reads PrecedenceRule's two PriorityRoutes from the input string exemplary valid string "0.0,3.5,1.7;1.2,6.6,1.7 > 0.45,1.1,1.3;17,18,19": first=high_ exemplary valid string "0.0,3.5,1.7;1.2,6.6,1.7 < 0.45,1.1,1.3;17,18,19": first=low_ exemplary valid string "0.0,3.5,1.7;1.2,6.6,1.7": unary, higher then all crossing
◆ high_
route with high priority, does not have to yield to low_
◆ low_
route with low priority, has to yield to high_
◆ unary_
bool adore::env::PrecedenceRule::unary_ |
route with high priority has precedence over any other route, if unary_ is true. In that case, low_ is not used.
The documentation for this struct was generated from the following file:
- /home/fascar/temp/adore/libadore/libadore/adore/env/include/adore/env/map/precedence.h