XYZ

Results comments of XYZ

> @Andarist I believe I may have found the cause of this, or at least the cause of a similar issue that I was experiencing. > > In my case...

@wadewang6 I have met the same problem and I solved it by following commands: `source /apollo/bazel-apollo/external/ros/setup.bash` which via https://github.com/ApolloAuto/apollo/issues/80

@wyqhnr One example for using bazel to compile module (in docker): // lauch dev environment first ./docker/scripts/dev_start.sh ./docker/scripts/dev_into.sh // compile from source code to bin file bazel build //module/prediction:prediction //...

You can use road center line to build reference line. When you have reference line, you can map any point to frenet 's' and 'd'

在制作生成高精地图时,你说的护栏、道路边缘等非道路的就已经标记为不可行驶区域被排除了。另外在车辆行驶时,perception 也会实时检测这些障碍物。传到 planning时,这些都已经被标记为不可行驶区域, planning只会在可行驶区域撒点规划,自然不需要处理这些不可行驶静态障碍物的逻辑。

没有看明白你的问题, 我理解可能不是定位的问题, 而是 reference line 的问题. standard 模式中的 reference line 是 HDMap 中来的, HDMap 是事先采好的,作为本地文件存在硬盘上。navigation 模式中的 reference line 用了 relative map. relative map 可以是感知实时生成的,仿真时由 rosbag 包中发送的。所以需要播放bag包...

可以看下这个https://github.com/ApolloAuto/apollo/blob/master/modules/dreamview/backend/sim_control/sim_control.cc 中 SimControl::OnReceiveNavigationInfo 和 SimControl::PerfectControlModel 的实现。 前面一个是在navigation模式下, localization 就是 relative map 实时算出的path的第一个点. 后面一个讲 standard 模式下,localization 就是取的 planning 的trajectory上相对时间对应应的点.

Apollo doesn't support mac os after version 3.0. You can run apollo in virtual machine (virtual box/vmware) in mac os.

Can you paste your dreamview log here? The log is in /apollo/data/log/dreamview.INFO