Closed wohu1104 closed 8 months ago
I found several issues related to the Autoware requirements such as:
I am trying to fix these issues now. Will update the read me and the source code soon. Thanks
Kindly check the updated instruction: https://github.com/ZATiTech/open_planner/blob/humble/op_carla_bridge/README.md
autoware.universe release/2023.10
@hatem-darweesh
Thanks again for your prompt reply.
According to the latest guidance document, it is indeed a big improvement from before.
However, I've encountered a new problem as shown below, it seems that the position of the ego vehicle in Carla does not match the position in RVIZ? Resulting in the planned path not working correctly.
Can you help analyze what might be incorrectly configured to cause this issue?
Maybe need to change where the ego vehicle is generated in carla?
Best wishes.
Once I changed the spawn location of the ego vehicle and restarted the script it went back to normal, probably due to my historical operations.
Thank you for your great work again.
Thank you for the great work. I have also the same problem and solve the problem with you advice. When i run the
./run_exploration_mode_ros2.sh
the Localization is right, and the image can be showed.
But when i run
./run_route_scenarios_ros2.sh
the Localization is not right. You can see the followed Scrennshot.
I try to solve the problem but it's still not working. How can i solve this problems. Thanks
@wohu1104 Sorry to bother you, I met the same question: The ego vehicle was at the origin coordinates. And I followed latest guidance document but still failed, could you give me some detailed suggestions?
@wohu1104 Sorry to bother you, I met the same question: The ego vehicle was at the origin coordinates. And I followed latest guidance document but still failed, could you give me some detailed suggestions?
@TianYifan-Vincent
Is the LiDAR point cloud normal?
Try a new starting coordinate?
@wohu1104 Sorry to bother you, I met the same question: The ego vehicle was at the origin coordinates. And I followed latest guidance document but still failed, could you give me some detailed suggestions?
@TianYifan-Vincent
- Is the LiDAR point cloud normal?
- Try a new starting coordinate?
Thank you for your suggestions. As the figure shows, my Global status shows Error: Frame[map] does not exist. I tried a new starting coordinate and didn't work. I think there might be a problem bridging carla and autoware's positioning.
Looking back at the steps I followed the material, there are two parts of it that I think may have confused me.
First, Lidar Driver (tier4/universe and awf/main) branch, which is appropriate, though I have both tried.
Second, copy the files (sensor_kit_calibration.yaml, sensors.calibration.yaml) from folder "autoware/src/universe/external/open_planner/op_carla_bridge/carla_sensor_kit_launch/carla_sensor_kit_description/config" to "autoware/src/param/autoware_individual_params/individual_params/config/default/carla_sensor_kit".(Maybe a little different from the path of the tutorial.) And then rebuild the autoware.
Besides, do i need modify any other file like autoware.launch.xml, because in some blogs, add some <arg name="launch_carla_interface">
or change true to false in launch_sensing_driver and use_sim_time, etc.
I'm a beginner student so I'm not sure if what I mentioned above will make a difference to bridge, please correct me, thanks a lot for taking your time!
@TianYifan-Vincent
First, you look at the command line to start autoware is there no error print? It looks like there was already a problem when starting autoware(rviz).
Second, confirm that the autoware environment is normal. Can autoware work normally if autoware is started separately without the co-simulation with carla?
@wohu1104
Thank you for your help. Autoware can work normally without carla, but using “2D Pose Estimate” to specify a starting point doesn't work. And when run ./../op_carla/op_bridge/op_scripts/run_exploration_mode_ros2.sh
, there are two log errors in the command line I need to pay attention to.
First, The GNSS pose has not arrived.
[ERROR] [system.service_log_checker]: /localization/initialize: status code 3 'The GNSS pose has not arrived.' (/localization/util/pose_initializer_node)
[ERROR] [system.service_log_checker]: /localization/initialize: status code 3 'The GNSS pose has not arrived.' (/default_ad_api/node/localization)
Second, Cannot find the reference position for map update. Please check if the EKF odometry is provided to NDT.
[ERROR] [localization.pose_estimator.ndt_scan_matcher]: Cannot find the reference position for map update. Please check if the EKF odometry is provided to NDT.
@TianYifan-Vincent Autoware can work normally without carla, but using “2D Pose Estimate” to specify a starting point doesn't work. ——This phenomenon indicates that Autoware is not working properly.It is recommended that you check the Autoware environment.
Hi @hatem-darweesh , Thank you for the great work.
I followed the three tutorials below to recreate the universe and carla co-simulation
https://github.com/ZATiTech/open_planner/tree/humble/op_carla_bridge
https://github.com/hatem-darweesh/op_agent/tree/ros2-humble
https://github.com/hatem-darweesh/op_bridge/tree/ros2-humble
My environment is
I think I have completely followed all the steps of the tutorial, but as shown in the figure, the ego vehicle has been at the origin coordinates, and there are errors on the command line as follows, I am not sure whether these errors have an impact on the system.
I'm very much looking forward to your reply. Thanks.