Hi all,
Are there many differences between lgsvl Apollo fork comparing to the baidu's master repo? I was just considering to setup the 'official' apollo 5.5 version bridge and try it out with the lgsvl simulator.
Is that not recommended?
I haven't started anything yet, so I'd just like to know the best approach (both for correctness, but also as up-to-date as possible).
Thanks.
Have you successfully bridge 5.5 with lgsvl? I want to do exactly the same thing.
Hi @zhouyapengzi, sorry but I gave up using Apollo and switched to autoware for my purposes.
I hope someone else can help you on this and, for this reason, I'm reopening the issue.
We are actively working on supporting latest Apollo. Will post updates here soon.
We are actively working on supporting latest Apollo. Will post updates here soon.
@pedroexenberger @zhouyapengzi Several PRs have been submitted to the ApolloAuto project to add support for LGSVL simulator, several of which have already been accepted. If anyone is eager to test this, you can check out Apollo master and and then manually add in the changes in the unmerged PRs.
We will provide updated documentation for using LGSVL Simulator with Apollo (master) soon.
We have all five PRs merged into Apollo now. The latest Apollo master should works with our simulator.
@pedroexenberger @zhouyapengzi You can clone latest Apollo and test it. You can follow most of instructions to Apollo 5.0 with two changes:
Mkz Lgsvl mode, in addition to select Lincoln2017MKZ LGSVL vehicle and BorregasAve map.@rongguodong thanks for the PRs submitted to the Apollo 5.5 master.
I noticed that currently, only the Borregas Ave is available. I guess I could manually add the maps in.
Besides the maps, I wonder if the Apollo 5.5 master branch is at a similar level of integration (between LGSVL and Apollo) compared to forked 5.0 version.
I mean if there are any missing functions that's implemented in the forked integration solution than the master branch.
Thanks
Yes, for other maps, the temporary workaround is to copy the one you need from "https://github.com/lgsvl/apollo-5.0/tree/simulator/modules/map/data".
For vehicles, Lincoln2017MKZ is currently added into Apollo master (renamed to "Lincoln2017MKZ_LGSVL"), and you can copy others from "https://github.com/lgsvl/apollo-5.0/tree/simulator/modules/calibration/data".
Besides some maps and vehicles missing, latest Apollo master should work the same as our fork of Apollo 5.0. If you find anything wrong, please let me know.
@rongguodong great.
Also, may I know the difference between Mkz LGSVL and Mkz Standard Debug?
I only find the below difference:
# dreamview/conf/hmi_modes/mkz_lgsvl.pb.txt
...
cyber_modules {
key: "Localization"
value: {
dag_files: "/apollo/modules/localization/dag/dag_streaming_rtk_localization.dag"
}
}
cyber_modules {
key: "Perception"
value: {
dag_files: "/apollo/modules/perception/production/dag/dag_streaming_perception_lgsvl.dag"
}
}
...
# dreamview/conf/hmi_modes/mkz_standard_debug.pb.txt
...
cyber_modules {
key: "Localization"
value: {
dag_files: "/apollo/modules/localization/dag/dag_streaming_msf_localization.dag"
}
}
cyber_modules {
key: "Perception"
value: {
dag_files: "/apollo/modules/perception/production/dag/dag_streaming_perception.dag"
}
}
...
seems that they are using different algorithm configs defined here.
seems that they are using different algorithm configs defined here.
Yes, the Mkz LGSVL configuration uses RTK localization rather than MSF (and a different value for lidar_query_tf_official in the LiDAR perception configuration file).
Instructions for using LGSVL Simulator with Apollo master (~6.0) can be found here: https://www.lgsvlsimulator.com/docs/apollo-master-instructions/
Most helpful comment
We have all five PRs merged into Apollo now. The latest Apollo master should works with our simulator.
@pedroexenberger @zhouyapengzi You can clone latest Apollo and test it. You can follow most of instructions to Apollo 5.0 with two changes:
Mkz Lgsvlmode, in addition to selectLincoln2017MKZ LGSVLvehicle andBorregasAvemap.Please let us know if you found any problems when using latest Apollo with LGSVL Simulator.