Unable to initialize NDT localizer in AVP demo
Hi, We are trying to run the AVP demo. Following the document https://autowarefoundation.gitlab.io/... with lgsvl. We are running autoware stack and simulator on different machines. The steps that we followed
1.Lgsvl simulator is run in a different machine outside ade(The version of lgsvl image inside ade is old 2020.06, we are unable to create simulation with that)
2.Created a simulation with autonomousparking map and IP address of the autoware machine in the bridge address.
3.On the other machine the visualization file is launched "autoware_auto_visualization.launch.py", RVIZ opens up.
4.After running "avp_sim.launch.py" the map and vehicle are loaded.
5.The vehicle in RVIZ is spawned at a different position, when I try to set the initial position of the vehicle in RVIZ with that of in simulator with 2D pose estimate, the position of the vehicle is not getting localized.
The vehicle in RVIZ does not seem to follow the ego-vehicle movement in simulator.
6.When I try to set the initial pose for the ego-vehicle in RVIZ with 2D pose estimate, as shown in the document https://autowarefoundation.gitlab.io/..., I can see the initial position coordinates of the vehicle are getting logged into RVIZ terminal, and I am even getting the coordinates as output for the "ros2 topic echo /localization/initialpose"
But vehicle in RVIZ does not seems to follow vehicle movement in simulator
7.On the bridge connection from lgsvl to Autoware,which bridge should we use the lgsvl-bridge or the ros-bridge that is launched by "autoware_auto_visualization.launch.py".There is a conflict, I can not run both the bridges simultaneously,
and also I observed that the lgsvl simulator gets connected to lgsvl-bridge on autoware machine properly,but when ros-bridge is open instead of lgsvl-bridge the bridge-status in simulator will be "connected" until play button is clicked in simulator, once the play button the clicked bridge-status changes to disconnected.
Please Help me to run this demo successfully. Thank you
Can you confirm this?
In your Rviz > In display tab> Global options> Fixed Frame> is set to
map
?If yes, then I think you need to provide more details, for example, the behavior of the program, errors, screen short, etc.
Yes fixed frame is set to map