提交 2c20ec02 编写于 作者: L Liangliang Zhang 提交者: Jiangtao Hu

Planning: keep dp_st_graph params consistent.

上级 50e32716
......@@ -36,8 +36,8 @@ em_planner_config {
navigator_sample_num_each_level: 3
}
dp_st_speed_config {
total_path_length: 150
total_time: 8.0
total_path_length: 149
total_time: 7.0
matrix_dimension_s: 150
matrix_dimension_t: 8
......
......@@ -73,9 +73,9 @@ DpStGraph::DpStGraph(const StGraphData& st_graph_data,
std::fmin(dp_st_speed_config_.total_path_length(),
st_graph_data_.path_data_length()));
unit_s_ = dp_st_speed_config_.total_path_length() /
dp_st_speed_config_.matrix_dimension_s();
(dp_st_speed_config_.matrix_dimension_s() - 1);
unit_t_ = dp_st_speed_config_.total_time() /
dp_st_speed_config_.matrix_dimension_t();
(dp_st_speed_config_.matrix_dimension_t() - 1);
}
Status DpStGraph::Search(SpeedData* const speed_data) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册