Skip to content

Modules: fix missed module name in log#8749

Merged
xiaoxq merged 9 commits intoApolloAuto:masterfrom
mickeyouyou:log
Jun 17, 2019
Merged

Modules: fix missed module name in log#8749
xiaoxq merged 9 commits intoApolloAuto:masterfrom
mickeyouyou:log

Conversation

@mickeyouyou
Copy link
Copy Markdown
Contributor

@mickeyouyou mickeyouyou commented Jun 11, 2019

Fixed missing module name in Azure simulation platform log like :

E0611 06:22:02.623525   190 hdmap_common.cc:183] [] lane[id = id: "2510a_1_-1"
]. sampled_right_width_[0.968335] is too small. It should be larger than half vehicle width[1.05].
E0611 06:22:03.334794   190 obstacles_prioritizer.cc:200] [] Ego vehicle has no history
E0611 06:22:03.422354   190 piecewise_jerk_problem.cc:81] [] failed optimization status:    primal infeasible
E0611 06:22:03.422991   190 piecewise_jerk_problem.cc:167] [] Failed to find solution.
E0611 06:22:03.423128   190 piecewise_jerk_speed_optimizer.cc:172] [planning] Piecewise jerk speed optimizer failed!

Add copts=module_name in BUILD file that used macros in cyber/common/log.h when log message.

module ranges:

  • Map
  • Planning
  • Prediction
  • Routing
  • Dreamview

@mickeyouyou mickeyouyou requested a review from xiaoxq June 11, 2019 11:43
@jinghaomiao jinghaomiao requested review from siyangy and ycool June 11, 2019 17:24
@xiaoxq xiaoxq merged commit 73c7de6 into ApolloAuto:master Jun 17, 2019
@mickeyouyou mickeyouyou deleted the log branch December 19, 2019 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants