File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
openscenario/openscenario_interpreter/src/syntax
simulation/traffic_simulator
include/traffic_simulator/data_type
test_runner/scenario_test_runner/scenario Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -81,8 +81,8 @@ auto AssignRouteAction::start() -> void
81
81
};
82
82
83
83
traffic_simulator::v2::RouteOption route_option;
84
- route_option.use_lane_level_specification_for_waypoints =
85
- get_from_parameter (" RoutingAction.use_lane_level_specification_for_waypoints " , false );
84
+ route_option.use_lane_ids_for_routing =
85
+ get_from_parameter (" RoutingAction.use_lane_ids_for_routing " , false );
86
86
87
87
for (const auto & actor : actors) {
88
88
actor.apply ([&](const auto & object) {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ inline namespace v2
24
24
struct RouteOption
25
25
{
26
26
bool allow_goal_modification = false ;
27
- bool use_lane_level_specification_for_waypoints = false ;
27
+ bool use_lane_ids_for_routing = false ;
28
28
};
29
29
} // namespace v2
30
30
@@ -39,7 +39,7 @@ struct RouteOption
39
39
{
40
40
v2::RouteOption v2;
41
41
v2.allow_goal_modification = allow_goal_modification;
42
- v2.use_lane_level_specification_for_waypoints = false ;
42
+ v2.use_lane_ids_for_routing = false ;
43
43
return v2;
44
44
}
45
45
};
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ void EgoEntity::requestAssignRoute(
243
243
const std::vector<CanonicalizedLaneletPose> & route,
244
244
const traffic_simulator::RouteOption & option)
245
245
{
246
- if (option.use_lane_level_specification_for_waypoints ) {
246
+ if (option.use_lane_ids_for_routing ) {
247
247
concealer::FieldOperatorApplication::RouteOption route_option;
248
248
route_option.allow_goal_modification = option.allow_goal_modification ;
249
249
@@ -311,7 +311,7 @@ void EgoEntity::requestAssignRoute(
311
311
const std::vector<geometry_msgs::msg::Pose> & route,
312
312
const traffic_simulator::RouteOption & option)
313
313
{
314
- if (option.use_lane_level_specification_for_waypoints ) {
314
+ if (option.use_lane_ids_for_routing ) {
315
315
std::vector<CanonicalizedLaneletPose> lanelet_poses;
316
316
for (const auto & pose : route) {
317
317
if (auto lanelet_pose = pose::toCanonicalizedLaneletPose (pose, false )) {
@@ -395,7 +395,7 @@ auto EgoEntity::requestReplanRoute(
395
395
clearRoute ();
396
396
/*
397
397
NOTE:
398
- This function does not support use_lane_level_specification_for_waypoints option.
398
+ This function does not support use_lane_ids_for_routing option.
399
399
The developers should consider manual override simulation to determine whether support it or not.
400
400
*/
401
401
{
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ OpenSCENARIO:
67
67
- name : ' '
68
68
ParameterDeclarations :
69
69
ParameterDeclaration :
70
- - name : RoutingAction.use_lane_level_specification_for_waypoints
70
+ - name : RoutingAction.use_lane_ids_for_routing
71
71
parameterType : boolean
72
72
value : true
73
73
Event :
You can’t perform that action at this time.
0 commit comments