autowarefoundation / autoware-projects

This repository is made to keep track of Non-source code related tasks for AWF projects
8 stars 0 forks source link

Integrate GTU Campus Environment with ISUZU Bus Model into AWSIM #51

Closed mehmetdogru closed 1 year ago

mehmetdogru commented 1 year ago

Checklist

Description

It is aimed that under this issue, results/findings/problems about integration of GTU (Gebze Technical University) Campus environment with ISUZU bus model can be shared and discussed.

Related issues:

GTU environment: https://github.com/autowarefoundation/autoware-projects/issues/47 ISUZU bus model: https://github.com/autowarefoundation/autoware-projects/issues/48

FYI: @WJaworskiRobotec @MertClk

Purpose

To test GTU campus with ISUZU bus in simulation.

Possible approaches

Integrate the components provided via G-Drive.

Definition of done

mozhoku commented 1 year ago

I will work on this issue. 🤗

djargot commented 1 year ago

The map asset is NOT created using High Definition Render Pipeline (HDRP), so when importing the unitypackage to AWSIM the materials attached in the file need to be converted manually to HDRP. It would be great if you could share the unitypackage in HDRP. Also, material for road looks incorrect: image Firstly, all parts of road have the same material (crossings, road, lines), secondly the material does not have normals (see the warning in the picture above), so reflections cannot be computed.

Note: we use Unity 2021.1.7f1.

Hyeongseok-Jeon commented 1 year ago

@djargot @WJaworskiRobotec @mehmetdogru

Thank you for your information. I will try to update unitypackage file within this month. Can you specify the version of the HDRP as well?

djargot commented 1 year ago

@Hyeongseok-Jeon Thank you for the message! We are using HDRP 11.0.0.

djargot commented 1 year ago

@mehmetdogru I have tried to use ISUZU files provided here: https://drive.google.com/drive/u/1/folders/1bkxamrkKsbP3J5339GVf5yKhJL0iii4l but there is a problem with running Autoware with isuzu_sensor_kit on Ubuntu 22 with ROS humble, as I could not find Applanix driver package for ROS humble. Is there such a package available?

mehmetdogru commented 1 year ago

@djargot

Hi. Thank you for working on this.

You can clone it from here. humble_on_vehicle branch should work fine afaik.

If you will have any further issues related to this, please let us know. @kaancolak or @meliketanrikulu can give you more detailed answers.

Hyeongseok-Jeon commented 1 year ago

@djargot I uploaded the modified version of the ISUZU simulation environment Please check

djargot commented 1 year ago

Regarding vehicle launch and sensor kit (https://drive.google.com/drive/folders/1bkxamrkKsbP3J5339GVf5yKhJL0iii4l) I have several comments that I would like to discuss. The values for the sensor kit calibration seem to be a little off: sensor_kit_base_link and lidars:

  sensor_kit_base_link:
    x: 6.20
    y: -0.125
    z: 0.17
    roll: -0.037
    pitch: 0.20070000000000002
    yaw: -0.03

The coordinate system diverges from vertical axis of the vehicle and thus, as can be seen in the picture below, lidars are translated to the one side of the bus. lidars

GNSS: The gnss coordinate system is below the ground level. Even though the coordinate system placement is not crucial for the correct localization it was probably not designed to be there? gnss

Camera: Top camera placement is inside the bus which diverges for the diagram provided. I am not sure if the diagram reflects reality, but it makes more sense the way it is shown on the diagram compared to what I obtained from calibration values. camera Screenshot from 2023-01-10 13-44-29

Final remark (not crucial for the development but worth to be noted), is that the model for the bus was not obtained using HDRP (I manually converted shaders to HDRP to be able to use the model with AWSIM).

djargot commented 1 year ago

So, I modified the sensor kit and I was able to integrate AWSIM (https://github.com/tier4/AWSIM/tree/humble) to support Isuzu project. I have used two different sensors configurations: one with Isuzu bus equipped with 3 lidars and 1 camera, and the second one with the bus equipped with 3 lidars and 3 cameras. The former is enough to make it run with Autoware main branch. To see the teaser visit: https://drive.google.com/file/d/1cE6NGYR0VMCqcPGtX5z4x-lQ6MntQqJn/view?usp=share_link The video was prepared using AWSIM humble branch and Autoware main branch. As TIER IV is currently working on updating the main branch of AWSIM to support ROS humble we will share the binaries to the public very soon.

djargot commented 1 year ago

Unfortunately, there is a problem that we encountered, namely that speed bumps are detected as obstacles by Autoware. See the picture below for details: image

mehmetdogru commented 1 year ago

@djargot

So, I modified the sensor kit and I was able to integrate AWSIM

Thank you for the work, it looks really nice :100:

Unfortunately, there is a problem that we encountered, namely that speed bumps are detected as obstacles by Autoware.

That is an interesting one :smile: It is hard for me to say from this picture but only way should be (please correct me if I am wrong) that in AWSIM, speed bumps are modeled as 3D meshes. Evidently, as the result of ground_segmentation with the current default configuration speed bumps perceived as obstacles on the road.

We don't use ground_segmentation package with the default configuration. So I can say that we don't have this issue while we are testing the bus on the campus. Also we have some minor modifications and parameter tuning on some repositories. Maybe for tests with AWSIM we can use forked repository of autoware for isuzu project since this is the repository we use on the field.

PS: If you choose to preceed with isuzu repository please make sure that:

We can't wait to get sim binary to test it on our end. Thanks again.

stale[bot] commented 1 year ago

This pull request has been automatically marked as stale because it has not had recent activity.

mehmetdogru commented 1 year ago

@WJaworskiRobotec shall we close the issue?