Why does the "Planning::RunOnce()" functon in the "planning" module always give a failed initialization?
I use the "demo_2.0.bag" data (located in the directoryapollo/docs/demo_guide to test the "planning" module", but the log file "planning.INFO" always gives the following failed initialization information:
W0205 18:59:46.826961 9508 reference_line_provider.cc:268] Reference line is NOT ready.
E0205 18:59:46.827069 9508 frame.cc:128] Failed to create reference line
E0205 18:59:46.827091 9508 frame.cc:268] Failed to init reference line info
E0205 18:59:46.827103 9508 planning.cc:66] failed to init frame
E0205 18:59:46.827193 9508 planning.cc:265] Init frame failed
Could you tell me the reason? Here is my steps:
# ${APOLLO_HOME} is the root directory of Apollo project.
cd ${APOLLO_HOME}
bash docker/scripts/dev_start.sh
bash docker/scripts/dev_into.sh
bash scripts/bootstrap.sh
rosbag play -l docs/demo_guide/demo_2.0.bag
I have tried the "planner_type : EM" and "planner_type : RTK" choices both in the configuration file: planning_config.pb.txt(located in the directory apollo/modules/planning/conf). I also turned on the "routing" and "planning" module and sent a default routing request in the Dreamview page .

The flollowing is the information in "planning.INFO" file:
Log file created at: 2018/02/05 20:11:21
Running on machine: in_dev_docker
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0205 20:11:21.097771 11802 hdmap.cc:24] Loading HDMap: modules/map/data/sunnyvale_loop/base_map.bin...
I0205 20:11:24.299593 11802 hdmap_util.cc:65] Load HDMap succ.: modules/map/data/sunnyvale_loop/base_map.bin
I0205 20:11:24.301564 11802 adapter_manager.cc:48] Init AdapterManger config:config {
type: LOCALIZATION
mode: RECEIVE_ONLY
message_history_limit: 1
}
config {
type: CHASSIS
mode: RECEIVE_ONLY
message_history_limit: 1
}
config {
type: ROUTING_RESPONSE
mode: RECEIVE_ONLY
message_history_limit: 1
}
config {
type: ROUTING_REQUEST
mode: PUBLISH_ONLY
message_history_limit: 1
}
config {
type: PREDICTION
mode: RECEIVE_ONLY
message_history_limit: 1
}
config {
type: PLANNING_TRAJECTORY
mode: PUBLISH_ONLY
message_history_limit: 1
}
config {
type: TRAFFIC_LIGHT_DETECTION
mode: RECEIVE_ONLY
message_history_limit: 1
}
is_ros: true
I0205 20:11:24.321102 11802 em_planner.cc:75] In EMPlanner::Init()
I0205 20:11:24.321120 11802 em_planner.cc:80] Created task:TrafficDecider
I0205 20:11:24.321125 11802 em_planner.cc:80] Created task:DpPolyPathOptimizer
I0205 20:11:24.321128 11802 em_planner.cc:80] Created task:PathDecider
I0205 20:11:24.321132 11802 em_planner.cc:80] Created task:DpStSpeedOptimizer
I0205 20:11:24.321136 11802 em_planner.cc:80] Created task:SpeedDecider
I0205 20:11:24.321141 11802 em_planner.cc:80] Created task:QpSplineStSpeedOptimizer
I0205 20:11:24.321259 11802 planning.cc:142] Planning started
E0205 20:11:30.152014 11852 reference_line_provider.cc:233] Routing is not ready.
E0205 20:11:30.202301 11852 reference_line_provider.cc:233] Routing is not ready.
W0205 20:11:30.222789 11853 reference_line_provider.cc:268] Reference line is NOT ready.
E0205 20:11:30.222852 11853 frame.cc:128] Failed to create reference line
E0205 20:11:30.222879 11853 frame.cc:268] Failed to init reference line info
E0205 20:11:30.222906 11853 planning.cc:66] failed to init frame
E0205 20:11:30.223007 11853 planning.cc:265] Init frame failed
W0205 20:11:30.323861 11853 reference_line_provider.cc:268] Reference line is NOT ready.
E0205 20:11:30.323961 11853 frame.cc:128] Failed to create reference line
E0205 20:11:30.323990 11853 frame.cc:268] Failed to init reference line info
E0205 20:11:30.324010 11853 planning.cc:66] failed to init frame
E0205 20:11:30.324070 11853 planning.cc:265] Init frame failed
W0205 20:11:30.422318 11853 reference_line_provider.cc:268] Reference line is NOT ready.
E0205 20:11:30.422390 11853 frame.cc:128] Failed to create reference line
E0205 20:11:30.422415 11853 frame.cc:268] Failed to init reference line info
E0205 20:11:30.422431 11853 planning.cc:66] failed to init frame
E0205 20:11:30.422477 11853 planning.cc:265] Init frame failed
E0205 20:11:31.065549 11853 spline_1d_generator.cc:180] Fail to hotstart spline 1d, will use re-init instead.
E0205 20:11:31.067901 11853 spline_1d_generator.cc:197] qpOASES solver failed due to reached max iteration
E0205 20:11:31.067950 11853 qp_spline_st_graph.cc:127] Solve qp problem failed!
W0205 20:11:31.067970 11853 qp_spline_st_speed_optimizer.cc:127] Failed to solve with ideal acceleration conditions. Use secondary choice instead.
E0205 20:11:44.022028 11853 pnc_map.cc:459] failed to find nearest point x: 587503.00824383425 y: 4140680.5857462105 z: -29.473987151036678
E0205 20:11:44.022122 11853 pnc_map.cc:130] Failed to get waypoint from routing with point: (587503, 4.14068e+06, -29.474)
E0205 20:11:44.022269 11853 reference_line_provider.cc:163] Failed to update vehicle state in pnc map
E0205 20:11:44.022411 11853 trajectory_stitcher.cc:117] the distance between matched point and actual position is too large. Replan is triggered. lat_diff = 340.904, lon_diff = 1.58265
E0205 20:11:44.024376 11853 route_segments.cc:162] failed to project vec2d ( x = 587503.00824383425 y = 4140680.5857462105 ) to segment
E0205 20:11:44.024452 11853 frame.cc:145] Fail to shrink routing segments.
E0205 20:11:44.024485 11853 frame.cc:268] Failed to init reference line info
E0205 20:11:44.024507 11853 planning.cc:66] failed to init frame
E0205 20:11:44.024574 11853 planning.cc:265] Init frame failed
E0205 20:11:44.068951 11852 pnc_map.cc:344] Invalid vehicle state in pnc_map, update vehicle state first
E0205 20:11:44.069334 11852 reference_line_provider.cc:308] Failed to extract segments from routing
E0205 20:11:44.069351 11852 reference_line_provider.cc:341] Failed to create reference line from routing
E0205 20:11:44.069367 11852 reference_line_provider.cc:239] Fail to get reference line
E0205 20:11:44.119487 11852 pnc_map.cc:344] Invalid vehicle state in pnc_map, update vehicle state first
E0205 20:11:44.119547 11852 reference_line_provider.cc:308] Failed to extract segments from routing
E0205 20:11:44.119563 11852 reference_line_provider.cc:341] Failed to create reference line from routing
E0205 20:11:44.119580 11852 reference_line_provider.cc:239] Fail to get reference line
E0205 20:11:44.121767 11853 pnc_map.cc:459] failed to find nearest point x: 587503.00738950307 y: 4140680.5670079947 z: -29.473843299356613
E0205 20:11:44.121839 11853 pnc_map.cc:130] Failed to get waypoint from routing with point: (587503, 4.14068e+06, -29.4738)
E0205 20:11:44.121858 11853 reference_line_provider.cc:163] Failed to update vehicle state in pnc map
E0205 20:11:44.121887 11853 trajectory_stitcher.cc:117] the distance between matched point and actual position is too large. Replan is triggered. lat_diff = 340.922, lon_diff = 3.16749
E0205 20:11:44.123893 11853 route_segments.cc:162] failed to project vec2d ( x = 587503.00738950307 y = 4140680.5670079947 ) to segment
E0205 20:11:44.123960 11853 frame.cc:145] Fail to shrink routing segments.
E0205 20:11:44.123980 11853 frame.cc:268] Failed to init reference line info
E0205 20:11:44.123993 11853 planning.cc:66] failed to init frame
E0205 20:11:44.124039 11853 planning.cc:265] Init frame failed
E0205 20:11:44.169709 11852 pnc_map.cc:344] Invalid vehicle state in pnc_map, update vehicle state first
E0205 20:11:44.169874 11852 reference_line_provider.cc:308] Failed to extract segments from routing
E0205 20:11:44.169931 11852 reference_line_provider.cc:341] Failed to create reference line from routing
E0205 20:11:44.169981 11852 reference_line_provider.cc:239] Fail to get reference line
E0205 20:11:44.220113 11852 pnc_map.cc:344] Invalid vehicle state in pnc_map, update vehicle state first
E0205 20:11:44.220226 11852 reference_line_provider.cc:308] Failed to extract segments from routing
E0205 20:11:44.220247 11852 reference_line_provider.cc:341] Failed to create reference line from routing
E0205 20:11:44.220266 11852 reference_line_provider.cc:239] Fail to get reference line
E0205 20:11:44.221645 11853 pnc_map.cc:459] failed to find nearest point x: 587503.00937703322 y: 4140680.5652092132 z: -29.473843299356613
E0205 20:11:44.221711 11853 pnc_map.cc:130] Failed to get waypoint from routing with point: (587503, 4.14068e+06, -29.4738)
E0205 20:11:44.221730 11853 reference_line_provider.cc:163] Failed to update vehicle state in pnc map
E0205 20:11:44.221755 11853 trajectory_stitcher.cc:117] the distance between matched point and actual position is too large. Replan is triggered. lat_diff = 340.923, lon_diff = 4.74919
@davidhopper2003 Have you figured out how to resolve this error? I also turn on the routing, prediction and planning module and set default routing through Dreamview, but an error occurs with "Failed to init frame" and "Failed to init reference line info". The output of planning.INFO is as followed.
Log file created at: 2018/02/27 22:08:27
Running on machine: in_dev_docker
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0227 22:08:27.722105 16616 hdmap.cc:24] Loading HDMap: /apollo/modules/map/data/sunnyvale_big_loop/base_map.bin...
E0227 22:09:18.546907 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787094] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.558918 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787105] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.559667 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787116] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.560336 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787127] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.561544 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787138] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.562127 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787149] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.562669 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787161] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.563170 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787172] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.563711 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787184] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.564378 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787195] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.565001 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787207] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.565503 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787218] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.566045 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.78723] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.566584 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787241] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.567085 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787253] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.567625 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787265] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.568249 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787277] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.568872 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787289] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.569376 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787301] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.569918 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787312] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.570503 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787324] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.571004 16616 hdmap_common.cc:179] lane[id = id: "2652_1_-1"
]. sampled_left_width_[0.787094] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.571585 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787094] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.575461 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787105] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.576462 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787116] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.578047 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787127] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.579216 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787138] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.580505 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787149] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.583799 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787161] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.584717 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787172] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.586344 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787184] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.587553 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787195] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.588843 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787207] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.589512 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787218] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.590178 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.78723] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.591593 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787241] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.593135 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787253] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.594218 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787265] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.595515 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787277] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.596848 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787289] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.597890 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787301] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.598597 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787312] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.599514 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787324] is too small. It should be larger than half vehicle width[1.05].
E0227 22:09:18.600514 16616 hdmap_common.cc:188] lane[id = id: "2652_1_-1"
]. sampled_right_width_[0.787094] is too small. It should be larger than half vehicle width[1.05].
I0227 22:10:34.557710 16616 hdmap_util.cc:65] Load HDMap succ.: /apollo/modules/map/data/sunnyvale_big_loop/base_map.bin
I0227 22:10:34.672317 16616 adapter_manager.cc:48] Init AdapterManger config:config {
type: LOCALIZATION
mode: RECEIVE_ONLY
message_history_limit: 1
}
config {
type: CHASSIS
mode: RECEIVE_ONLY
message_history_limit: 1
}
config {
type: ROUTING_RESPONSE
mode: RECEIVE_ONLY
message_history_limit: 1
}
config {
type: ROUTING_REQUEST
mode: PUBLISH_ONLY
message_history_limit: 1
}
config {
type: PREDICTION
mode: RECEIVE_ONLY
message_history_limit: 10
}
config {
type: PLANNING_TRAJECTORY
mode: PUBLISH_ONLY
message_history_limit: 1
}
config {
type: TRAFFIC_LIGHT_DETECTION
mode: RECEIVE_ONLY
message_history_limit: 1
}
is_ros: true
I0227 22:10:37.074879 16616 em_planner.cc:76] In EMPlanner::Init()
I0227 22:10:37.075711 16616 em_planner.cc:81] Created task:TrafficDecider
I0227 22:10:37.075963 16616 em_planner.cc:81] Created task:DpPolyPathOptimizer
I0227 22:10:37.076336 16616 em_planner.cc:81] Created task:PathDecider
I0227 22:10:37.076752 16616 em_planner.cc:81] Created task:DpStSpeedOptimizer
I0227 22:10:37.076922 16616 em_planner.cc:81] Created task:SpeedDecider
I0227 22:10:37.077132 16616 em_planner.cc:81] Created task:QpSplineStSpeedOptimizer
I0227 22:10:37.085132 16616 planning.cc:149] Planning started
E0227 22:10:37.136008 16852 reference_line_provider.cc:167] Routing is not ready.
E0227 22:10:37.184063 16616 planning.cc:205] localization not ready; skip the planning cycle.
E0227 22:10:37.198112 16852 reference_line_provider.cc:167] Routing is not ready.
E0227 22:10:37.250772 16852 reference_line_provider.cc:167] Routing is not ready.
E0227 22:10:37.281996 16616 planning.cc:205] localization not ready; skip the planning cycle.
......
E0227 22:14:03.819588 16852 reference_line_provider.cc:167] Routing is not ready.
E0227 22:14:03.875090 16852 reference_line_provider.cc:167] Routing is not ready.
E0227 22:14:03.882531 16616 planning.cc:205] routing not ready; skip the planning cycle.
E0227 22:14:03.927665 16852 reference_line_provider.cc:167] Routing is not ready.
E0227 22:14:03.980463 16852 reference_line_provider.cc:167] Routing is not ready.
E0227 22:14:03.983227 16616 pnc_map.cc:215] Current routing is empty, use new routing
E0227 22:14:04.033201 16852 pnc_map.cc:215] Current routing is empty, use new routing
W0227 22:14:04.050933 16616 reference_line_provider.cc:202] Reference line is NOT ready.
E0227 22:14:04.052639 16616 frame.cc:125] Failed to create reference line
E0227 22:14:04.055436 16616 frame.cc:302] Failed to init reference line info
E0227 22:14:04.057644 16616 planning.cc:68] failed to init frame
E0227 22:14:04.060482 16616 planning.cc:290] Failed to init frame
E0227 22:14:04.078788 16852 pnc_map.cc:548] failed to find nearest point x: 586137.21839643188 y: 4140065.7460682085 z: 0
E0227 22:14:04.080458 16852 pnc_map.cc:179] Failed to get waypoint from routing with point: (586137, 4.14007e+06, 0)
E0227 22:14:04.081288 16852 pnc_map.cc:425] Failed to update vehicle state in pnc_map
E0227 22:14:04.081744 16852 reference_line_provider.cc:239] Failed to extract segments from routing
E0227 22:14:04.082080 16852 reference_line_provider.cc:291] Failed to create reference line from routing
E0227 22:14:04.084000 16852 reference_line_provider.cc:173] Fail to get reference line
W0227 22:14:04.124603 16616 reference_line_provider.cc:202] Reference line is NOT ready.
E0227 22:14:04.126147 16616 frame.cc:125] Failed to create reference line
E0227 22:14:04.127773 16616 frame.cc:302] Failed to init reference line info
E0227 22:14:04.129357 16616 planning.cc:68] failed to init frame
E0227 22:14:04.131943 16616 planning.cc:290] Failed to init frame
E0227 22:14:04.142007 16852 pnc_map.cc:548] failed to find nearest point x: 586137.21839643188 y: 4140065.7460682085 z: 0
E0227 22:14:04.144757 16852 pnc_map.cc:179] Failed to get waypoint from routing with point: (586137, 4.14007e+06, 0)
E0227 22:14:04.146636 16852 pnc_map.cc:425] Failed to update vehicle state in pnc_map
E0227 22:14:04.147012 16852 reference_line_provider.cc:239] Failed to extract segments from routing
E0227 22:14:04.148556 16852 reference_line_provider.cc:291] Failed to create reference line from routing
E0227 22:14:04.149973 16852 reference_line_provider.cc:173] Fail to get reference line
E0227 22:14:04.207530 16852 pnc_map.cc:548] failed to find nearest point x: 586137.21839643188 y: 4140065.7460682085 z: 0
E0227 22:14:04.212285 16852 pnc_map.cc:179] Failed to get waypoint from routing with point: (586137, 4.14007e+06, 0)
E0227 22:14:04.213078 16852 pnc_map.cc:425] Failed to update vehicle state in pnc_map
E0227 22:14:04.213492 16852 reference_line_provider.cc:239] Failed to extract segments from routing
E0227 22:14:04.214491 16852 reference_line_provider.cc:291] Failed to create reference line from routing
E0227 22:14:04.215242 16852 reference_line_provider.cc:173] Fail to get reference line
W0227 22:14:04.226418 16616 reference_line_provider.cc:202] Reference line is NOT ready.
E0227 22:14:04.227793 16616 frame.cc:125] Failed to create reference line
E0227 22:14:04.229750 16616 frame.cc:302] Failed to init reference line info
E0227 22:14:04.230916 16616 planning.cc:68] failed to init frame
E0227 22:14:04.234153 16616 planning.cc:290] Failed to init frame
E0227 22:14:04.273124 16852 pnc_map.cc:548] failed to find nearest point x: 586137.21839643188 y: 4140065.7460682085 z: 0
E0227 22:14:04.275748 16852 pnc_map.cc:179] Failed to get waypoint from routing with point: (586137, 4.14007e+06, 0)
E0227 22:14:04.278080 16852 pnc_map.cc:425] Failed to update vehicle state in pnc_map
E0227 22:14:04.279709 16852 reference_line_provider.cc:239] Failed to extract segments from routing
E0227 22:14:04.281746 16852 reference_line_provider.cc:291] Failed to create reference line from routing
E0227 22:14:04.285156 16852 reference_line_provider.cc:173] Fail to get reference line
W0227 22:14:04.326187 16616 reference_line_provider.cc:202] Reference line is NOT ready.
E0227 22:14:04.327605 16616 frame.cc:125] Failed to create reference line
E0227 22:14:04.328687 16616 frame.cc:302] Failed to init reference line info
E0227 22:14:04.330066 16616 planning.cc:68] failed to init frame
E0227 22:14:04.332530 16616 planning.cc:290] Failed to init frame
E0227 22:14:04.349741 16852 pnc_map.cc:548] failed to find nearest point x: 586137.21839643188 y: 4140065.7460682085 z: 0
E0227 22:14:04.351827 16852 pnc_map.cc:179] Failed to get waypoint from routing with point: (586137, 4.14007e+06, 0)
E0227 22:14:04.355664 16852 pnc_map.cc:425] Failed to update vehicle state in pnc_map
E0227 22:14:04.358330 16852 reference_line_provider.cc:239] Failed to extract segments from routing
E0227 22:14:04.360002 16852 reference_line_provider.cc:291] Failed to create reference line from routing
E0227 22:14:04.362131 16852 reference_line_provider.cc:173] Fail to get reference line
E0227 22:14:04.422722 16852 pnc_map.cc:548] failed to find nearest point x: 586137.21839643188 y: 4140065.7460682085 z: 0
W0227 22:14:04.425474 16616 reference_line_provider.cc:202] Reference line is NOT ready.
E0227 22:14:04.426223 16852 pnc_map.cc:179] Failed to get waypoint from routing with point: (586137, 4.14007e+06, 0)
E0227 22:14:04.428889 16852 pnc_map.cc:425] Failed to update vehicle state in pnc_map
E0227 22:14:04.430306 16852 reference_line_provider.cc:239] Failed to extract segments from routing
E0227 22:14:04.431769 16852 reference_line_provider.cc:291] Failed to create reference line from routing
E0227 22:14:04.427515 16616 frame.cc:125] Failed to create reference line
E0227 22:14:04.436018 16852 reference_line_provider.cc:173] Fail to get reference line
E0227 22:14:04.438171 16616 frame.cc:302] Failed to init reference line info
E0227 22:14:04.443881 16616 planning.cc:68] failed to init frame
E0227 22:14:04.446588 16616 planning.cc:290] Failed to init frame
W0227 22:14:04.524824 16616 reference_line_provider.cc:202] Reference line is NOT ready.
E0227 22:14:04.526322 16616 frame.cc:125] Failed to create reference line
E0227 22:14:04.527782 16616 frame.cc:302] Failed to init reference line info
E0227 22:14:04.529450 16616 planning.cc:68] failed to init frame
E0227 22:14:04.531952 16616 planning.cc:290] Failed to init frame
W0227 22:14:04.625108 16616 reference_line_provider.cc:202] Reference line is NOT ready.
E0227 22:14:04.626652 16616 frame.cc:125] Failed to create reference line
E0227 22:14:04.628113 16616 frame.cc:302] Failed to init reference line info
E0227 22:14:04.630535 16616 planning.cc:68] failed to init frame
E0227 22:14:04.632829 16616 planning.cc:290] Failed to init frame
W0227 22:14:04.725924 16616 reference_line_provider.cc:202] Reference line is NOT ready.
@hongkedavid Nope.
@hongkedavid After you turned routing module on, did you generate a routing (or use default routing)?
did you solve this problem?
@davidhopper2003 @hongkedavid demo_2.0.bag is for demo/display purpose. It doesn't have 'routing" topic recorded. When you use this bag to test your planning module, the planning module will fail when it is trying to read routing info. That's why you saw those failures.
If you want to start your own planning module using this bag, you'll need to (1) filter the existing planning msg from this bag first (using script: https://github.com/ApolloAuto/apollo/blob/master/scripts/filter_planning.sh) (2) generate routing for your planning module to read. There's two ways to generate routing by yourself in DreamView (a) there's a "Route Editing" menu on the left menu panel. We are going to add a manual on how to use it later. You probably also can figure out how to use it. It is pretty straight-forward. (b) you can also use "default routing" provided by Dreamview (left menu panel)
Thanks!
@lianglia-apollo @jmtao Sorry for the late reply as I am busy with something else recently. I used the default routing by clicking the "Default Routing" tab on the left menu panel (most bottom one) of Dreamview and choosing "23_1_-1" for the "Point of Interest".
@hongkedavid to use "default routing" for demo_2.0.bag, please (1) enable Routing module: Click "Module Controller" at left menu panel, and enable "Routing" module under Modules section. (2) click "Default Routing" at left menu panel (3) and then select "Route: Reverse Early Change Lane" under "Point of Interest".
When a routing request is processed successfully, you can see a RED routing line is added.
Hope the information answered your question. If you have any follow up question, please leave a comment below. If we did not hear back from you in 72 hours, we will close the issue and we encourage you to open an new issue if you have any more questions.
Thank you for supporting Apollo!
@jmtao Got it. Thank you.
@jmtao I am trying to run SimControl on Apollo v2.5 by following your instructions in creating a modified ros bag by extracting the first LocalizationEstimate message (as the initial position of the vehicle) and all PerceptionObstacles messages from demo_2.0.bag and also generating a default route. However, I still encountered the following errors in the planning module. In particular, we find the reference line is always empty (always false for this check). We are not sure if what we did is correct to start SimControl. For example, should we use the first LocalizationEstimate message as the initial position, since a generated RoutingRequest message also has a starting point (can there be errors if the initial position is different from the route's starting point)?
W0621 23:01:29.954303 50137 reference_line_provider.cc:221] Reference line is NOT ready.
E0621 23:01:29.954679 50137 frame.cc:131] Failed to create reference line
E0621 23:01:29.955137 50137 frame.cc:357] Failed to init reference line info
E0621 23:01:29.955513 50137 planning.cc:78] failed to init frame
E0621 23:01:29.959810 50137 planning.cc:360] Failed to init frame
@hongkedavid I am getting the same error.
E0720 12:03:08.472661 20687 pnc_map.cc:180] Failed to get waypoint from routing with point: (369038, 4.32134e+06, 0)
E0720 12:03:08.472676 20687 pnc_map.cc:434] Failed to update vehicle state in pnc_map
E0720 12:03:08.472687 20687 reference_line_provider.cc:550] Failed to extract segments from routing
E0720 12:03:08.472713 20687 reference_line_provider.cc:604] Failed to create reference line from routing
E0720 12:03:08.472728 20687 reference_line_provider.cc:198] Fail to get reference line
Kindly let me know if you have fixed this error.
Thank you,
Same issue. And finally planning terminated with
Thread 24 "planning" received signal SIGILL, Illegal instruction. qpOASES::SubjectTo::init (this=this@entry=0x7f37380bff80, _n=_n@entry=84) at external/qpOASES/src/SubjectTo.cpp:128
Same as @gladijos . Any updates on this?
Thread 24 "planning" received signal SIGILL, Illegal instruction.
qpOASES::SubjectTo::init (this=this@entry=0x7f37380bff80, _n=_n@entry=84) at external/qpOASES/src/SubjectTo.cpp:128
Same as @gladijos . Any updates on this?
Thread 24 "planning" received signal SIGILL, Illegal instruction. qpOASES::SubjectTo::init (this=this@entry=0x7f37380bff80, _n=_n@entry=84) at external/qpOASES/src/SubjectTo.cpp:128
@kikacaty Have you solved this question?
Same issue. And finally planning terminated with
Thread 24 "planning" received signal SIGILL, Illegal instruction. qpOASES::SubjectTo::init (this=this@entry=0x7f37380bff80, _n=_n@entry=84) at external/qpOASES/src/SubjectTo.cpp:128
@gladijos Have you solve this problem?I came across the same question but i have no idea.i am really appreciated you if you can tell me!
Possible you have problems with drivers. I had thos problem when I launch apollo inside virtual machine and have no graphics card
вт, 1 янв. 2019 г., 11:52 quuen [email protected]:
@gladijos https://github.com/gladijos Have
Same issue. And finally planning terminated with
Thread 24 "planning" received signal SIGILL, Illegal instruction. qpOASES::SubjectTo::init (this=this@entry=0x7f37380bff80, _n=_n@entry=84) at external/qpOASES/src/SubjectTo.cpp:128
Have you solve this problem?I came across the same question but i have no idea.i am really appreciated you if you can tell me!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ApolloAuto/apollo/issues/2747#issuecomment-450717145, or mute the thread https://github.com/notifications/unsubscribe-auth/AbgjQaeCykLdSQHORNFm4NwkTc9dJXFxks5u-yHIgaJpZM4R5TPI .
@gladijos Thanks for your reply! Would you mind tell me more details about how to solve this problem?I will really appreciate you!
I'm far from working pc and stable internet connection, sorry. I will can look for it after 9 of January. Sorry
ср, 2 янв. 2019 г., 8:37 quuen [email protected]:
@gladijos https://github.com/gladijos Thanks for your reply! Would you mind tell me more details about how to solve this problem?I will really appreciate you!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ApolloAuto/apollo/issues/2747#issuecomment-450789913, or mute the thread https://github.com/notifications/unsubscribe-auth/AbgjQR6wGQtSGbttQtqYLa3Fy63iV7J5ks5u_EWjgaJpZM4R5TPI .
@gladijos Thanks for your reply!
@hongkedavid Were you able to find a solution to this problem?