-
Notifications
You must be signed in to change notification settings - Fork 703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run the Yabloc localization #10275
Comments
@KYabuuchi Could you answer this issue? |
@GPrathap Hi. Which ROSBAG are you using? There are several public ROSBAG available for running YabLoc: Please note that some public ROSBAGs are outdated due to updates in Autoware msg types. Since the maps are compatible, you can use any of nishishinjuku map. Also, please verify that the ROSBAG contains the rosbag play your_rosbag.bag --clock Some public ROSBAGs include |
I'm trying to run YabLoc in a real-world environment. Does the PCD map need to include GPS information? Since I'm planning to proceed without LiDAR, I'm curious about how YabLoc determines or matches the initial position. |
Hi @KYabuuchi , Finally, these two commands work: ros2 launch autoware_launch logging_simulator.launch.xml map_path:=$AUTOWARE_HOME/autoware_map/nishishinjuku_autoware_map vehicle_model:=sample_vehicle sensor_model:=awsim_sensor_kit control:=false planning:=false pose_source:=yabloc ros2 bag play ~/autoware_map/sample_bag/yabloc/input_bag --clock Maybe update https://autowarefoundation.github.io/autoware.universe/main/localization/yabloc/ so that someone can run it without any problem , thank youuu |
@shpark98 YabLoc determines its initial position using GNSS and estimates orientation by matching semantic segmentation results with a vector map. In environments where GNSS is unavailable, such as indoors, global coordinate information in the PCD is not necessary. If you plan to use it outdoors, I recommend creating the PCD in a global coordinate system. |
Thanks for your reply @KYabuuchi I understand that using GNSS as the initial position means comparing the current GNSS location with something. If so, does the GNSS information exist within the point cloud itself? |
@shpark98 GNSS positions are not compared to anything. Autoware projects the latitude and longitude output by GNSS into local coordinates using the specified projection type. Autoware supports several projection methods for converting latitude/longitude to local coordinates, and this page provides detailed information. If you use the MGRS projection type, you need to create the PCD's x, y coordinates in the MGRS XXXXX, YYYYY coordinate system. |
@KYabuuchi I'm glad given image helped. Your answers have been extremely helpful! So, if you transform the origin of the PCD map based on the MGRS information, the GNSS data will be aligned with the PCD map, allowing you to use GNSS within Autoware. This is just a personal curiosity, but do you know the approximate error if I only connect GNSS to Autoware without using Yabloc? |
I'm not sure.
Since YabLoc relies on road markings, information other than the road surface is unnecessary. |
Hi @KYabuuchi , I have a question regarding how to build a cost map,
Questions:
|
Checklist
Description
Contents
I want to run the Yabloc localization
Instructions provided here: https://autowarefoundation.github.io/autoware.universe/main/localization/yabloc/ seems to be wrong,
I've found another bag file: nishishinjuku_autoware_map
Expected behavior
But I can't see the vehicle moving. :) Could someone please tell me what steps I need to take to get Yabloc working?
I built the autoware docker image based on
autoware-nightly.repos
Actual behavior
Could not produce result as https://autowarefoundation.github.io/autoware.universe/main/localization/yabloc/
Steps to reproduce
ros2 launch autoware_launch logging_simulator.launch.xml map_path:=$AUTOWARE_HOME/autoware_map/nishishinjuku_autoware_map vehicle_model:=sample_vehicle sensor_model:=awsim_sensor_kit pose_source:=yabloc
Then I ran this bag file:
ros2 bag play /home/autoware/data/autoware_map/sample_bag/yabloc/input_bag
Versions
Ubuntu 22.04 + ROS2 humble
Possible causes
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: