Skip to content
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

Some questions about AWSIM and ROS #276

Open
artsung410 opened this issue Mar 12, 2024 · 5 comments
Open

Some questions about AWSIM and ROS #276

artsung410 opened this issue Mar 12, 2024 · 5 comments

Comments

@artsung410
Copy link

  1. Looking at the execution method of Quit Start Demo, it seems to get the source code of git and execute it, is it correct?

  2. Is there another version for developer debugging other than Quit Start Demo?

  3. Can I modify the received source code and use it on my local PC, and if so, to what level?

  4. If I look at the source code part "/src" when running Quit Start Demo, it seems that there are only codes corresponding to messaging, settings, and API, but are the other codes downloaded in the form of libraries? Or do I get them as source code, and if so, where is the source code located?

  5. Is there any logic or server that receives sensing or command related data and eco-tests that part of the code itself? (This may be unnecessary, but is there any part of the code that can determine if it worked correctly for the data sent?)

  6. Is there a separate part for checking the data sent or received, or checking the information processed, in the form of sending and receiving data without using unity to render?

  7. Is it possible to change the type or number of sensors that can be added to a single car in AWSim? (The documentation seems to indicate that it is, but is it?)

  8. In the case of AWSIm, are the messages exchanged for sensors based on ROS-based topics? What type of messages are exchanged?

@Kalpit-Vadnerkar
Copy link

I would too like to know the answers to these questions.
Also, Is there a way to change the rostopic names that AWSIM publishes to, even the autoware ones?
my goal it to add some noise to the sensor data being sent to the autoware stack.

@mackierx111
Copy link
Collaborator

mackierx111 commented Mar 12, 2024

@artsung410

Looking at the execution method of Quit Start Demo, it seems to get the source

code of git and execute it, is it correct?
Please git clone Autoware. Please do not git clone AWSIM, but launch the binary that is distributed.

Is there another version for developer debugging other than Quit Start Demo?

A customized version is built for each project and used internally. If you want to debug, you can run AWSIM in UnityEditor.

Can I modify the received source code and use it on my local PC, and if so, to what level?

yes. you can customize the source code in this repository and do whatever you want. The source code is licensed under the Apache 2.0 license.

If I look at the source code part "/src" when running Quit Start Demo, it seems that there are only codes corresponding to messaging, settings, and API, but are the other codes downloaded in the form of libraries? Or do I get them as source code, and if so, where is the source code located?

Is it an Autoware src? It is exposed in the Autoware repositories and is imported from each repository in vcs before building Autoware. See this repository for more details. https://github.com/autowarefoundation/

Is there any logic or server that receives sensing or command related data and eco-tests that part of the code itself? (This may be unnecessary, but is there any part of the code that can determine if it worked correctly for the data sent?)

I don't know about Autoware, you might want to ask in the Autoware repository(https://github.com/autowarefoundation/), in terms of testing the ros2 API, AWSIM uses these ros2 messages to run Autoware in a simulation environment. https://tier4.github.io/AWSIM/Components/ROS2/ROS2TopicList/

Is there a separate part for checking the data sent or received, or checking the information processed, in the form of sending and receiving data without using unity to render?

If the ros2 message can be created, no separate rendering, etc. is required. AWSIM requires Unity rendering to create the ros2 message for the camera sensor and LiDAR sensor (MeshRenderer required). For example, our scenario simulator does not simulate camera sensors, so it produces ros2 messages without high-quality rendering. https://github.com/tier4/scenario_simulator_v2

Is it possible to change the type or number of sensors that can be added to a single car in AWSim? (The documentation seems to indicate that it is, but is it?)

Yes. You are free to do so. If connecting to Autoware, the Autoware sensor configuration must also be configured.

In the case of AWSIm, are the messages exchanged for sensors based on ROS-based topics? What type of messages are exchanged?

The ros2 message output by AWSIM is shown here. https://tier4.github.io/AWSIM/Components/ROS2/ROS2TopicList/

@mackierx111
Copy link
Collaborator

@Kalpit-Vadnerkar

Is there a way to change the rostopic names that AWSIM publishes to, even the autoware ones?

yes. For example, if you want to change the topic to publish on the IMU sensor, just change the Topic in ImuRos2Publisher.
image

@Kalpit-Vadnerkar
Copy link

Is the screenshot from the Unity project? I will have to make changes to the unity project and rebuild it. Am I thinking about this the correct way?

@mackierx111
Copy link
Collaborator

@Kalpit-Vadnerkar
sorry for late reply.
Yes. Currently we need to do various configurations in UnityEditor. This is because we value extensibility over convenience. But in the future we may make sensors and ros2 configurable with Json and other tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants