when I use this commond: bash apollo.sh build ,I get an error:
ERROR: /apollo/modules/planning/BUILD:6:1: C++ compilation of rule '//modules/planning:planning_lib' failed (Exit 1)
modules/planning/planning.cc:106:32: error: 'PyObject' was not declared in this scope
ADCTrajectory parse_trajectory(PyObject result, const apollo::common::PointENU ego_point){
^
modules/planning/planning.cc:106:42: error: 'result' was not declared in this scope
ADCTrajectory parse_trajectory(PyObject result, const apollo::common::PointENU ego_point){
^
modules/planning/planning.cc:106:50: error: expected primary-expression before 'const'
ADCTrajectory parse_trajectory(PyObject result, const apollo::common::PointENU ego_point){
^
modules/planning/planning.cc:106:91: error: expected ',' or ';' before '{' token
ADCTrajectory parse_trajectory(PyObject result, const apollo::common::PointENU ego_point){
^
modules/planning/planning.cc:1285:1: error: expected '}' at end of input
} // namespace apollo
^
modules/planning/planning.cc:1285:1: error: expected '}' at end of input
INFO: Elapsed time: 11.481s, Critical Path: 9.97s
So ,I hope you could tell me how to fix this problem ,thanks!
resources: https://gitlab.lrz.de/tum-cps/commonroad-apollo-interfacehttps://gitlab.lrz.de/tum-cps/safety-falsification-acc
I can do as the readme.md ,and when get to this step: Copy the folder of our fail-safe planner in /apollo/modules/planning/planner/commonroad.
Add following path to /path/to/your/.conda/envs/commonroad_py36/lib/python3.6/site-packages/name.pth with content:
/apollo/modules/planning/planner/commonroad/folder_name_of_your_planner
Activate conda environment and build Apollo again
source activate commonroad_py36
bash apollo.sh build
and this fail-safe planner ,that I use the: https://gitlab.lrz.de/tum-cps/safety-falsification-acc but I don't know it is right? So ,I wang to know how to reproduce this test.
when I use this commond: bash apollo.sh build ,I get an error: ERROR: /apollo/modules/planning/BUILD:6:1: C++ compilation of rule '//modules/planning:planning_lib' failed (Exit 1) modules/planning/planning.cc:106:32: error: 'PyObject' was not declared in this scope ADCTrajectory parse_trajectory(PyObject result, const apollo::common::PointENU ego_point){ ^ modules/planning/planning.cc:106:42: error: 'result' was not declared in this scope ADCTrajectory parse_trajectory(PyObject result, const apollo::common::PointENU ego_point){ ^ modules/planning/planning.cc:106:50: error: expected primary-expression before 'const' ADCTrajectory parse_trajectory(PyObject result, const apollo::common::PointENU ego_point){ ^ modules/planning/planning.cc:106:91: error: expected ',' or ';' before '{' token ADCTrajectory parse_trajectory(PyObject result, const apollo::common::PointENU ego_point){ ^ modules/planning/planning.cc:1285:1: error: expected '}' at end of input } // namespace apollo ^ modules/planning/planning.cc:1285:1: error: expected '}' at end of input INFO: Elapsed time: 11.481s, Critical Path: 9.97s So ,I hope you could tell me how to fix this problem ,thanks! resources: https://gitlab.lrz.de/tum-cps/commonroad-apollo-interface https://gitlab.lrz.de/tum-cps/safety-falsification-acc