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

feat(docker): add openadkit visualizer container #5742

Open
wants to merge 46 commits into
base: main
Choose a base branch
from

Conversation

oguzkaganozt
Copy link
Contributor

@oguzkaganozt oguzkaganozt commented Feb 6, 2025

Description

To enable full development and deployment with distinct containers, a dedicated visualizer container will be beneficial. This container will include the RViz Plugins, ROS 2 message definitions both from autoware.universe and TierIV scenario simulator

Additionally, it will support VNC and NoVNC so users can visualize the RViz screen remotely.

How was this PR tested?

Same containers are used on two different demos and running well. Demos can be replicated through https://github.com/autowarefoundation/openadkit_demo.autoware/tree/planning-simviz/docker

Notes for reviewers

None.

Effects on system behavior

None.

Copy link

github-actions bot commented Feb 6, 2025

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@oguzkaganozt oguzkaganozt changed the title Openadkit visualizer feat(docker): add openadkit visualizer container Feb 6, 2025
@oguzkaganozt oguzkaganozt added type:containers Docker containers, containerization of components, or container orchestration. component:openadkit Issues or Features related to Open AD Kit tag:run-health-check Run health-check labels Feb 6, 2025
@oguzkaganozt
Copy link
Contributor Author

@youtalk @mitsudome-r Please review

@youtalk
Copy link
Member

youtalk commented Feb 7, 2025

Could you describe how to use the visualizer container in README.md?

Copy link
Member

@youtalk youtalk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the splitting PRs. It became to be easier to review.

.github/actions/docker-build-and-push-tools/action.yaml Outdated Show resolved Hide resolved
docker/tools/visualizer/Dockerfile.visualizer Outdated Show resolved Hide resolved
.github/actions/docker-build-and-push-tools/action.yaml Outdated Show resolved Hide resolved
oguzkaganozt and others added 17 commits February 9, 2025 19:57
.
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
Signed-off-by: Oguz Ozturk <[email protected]>
Signed-off-by: Oguz Ozturk <[email protected]>
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
oguzkaganozt and others added 23 commits February 9, 2025 19:57
.
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
Signed-off-by: Oguz Ozturk <[email protected]>
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
Signed-off-by: Oguz Ozturk <[email protected]>
Signed-off-by: Oguz Ozturk <[email protected]>
Signed-off-by: Oguz Ozturk <[email protected]>
Signed-off-by: Oguz Ozturk <[email protected]>
Signed-off-by: Oguz Ozturk <[email protected]>
oguzkaganozt and others added 4 commits February 10, 2025 13:28
Signed-off-by: Oguz Ozturk <[email protected]>
.
Signed-off-by: Oguz Ozturk <[email protected]>
@oguzkaganozt oguzkaganozt requested a review from youtalk February 10, 2025 11:18
Copy link
Member

@youtalk youtalk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For example, autoware:universe-planning-control is not autoware:universe-planner-controller. Therefore, I think autoware-tools:visualization is more consistent than autoware-tools:visualizer.

Comment on lines +83 to +85
*.args.BASE_IMAGE=${{ needs.load-env.outputs.base_image }}
*.args.AUTOWARE_BASE_IMAGE=${{ needs.load-env.outputs.autoware_base_image }}
*.args.AUTOWARE_BASE_CUDA_IMAGE=${{ needs.load-env.outputs.autoware_base_cuda_image }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They aren't used in Dockerfile.visualizer.

Suggested change
*.args.BASE_IMAGE=${{ needs.load-env.outputs.base_image }}
*.args.AUTOWARE_BASE_IMAGE=${{ needs.load-env.outputs.autoware_base_image }}
*.args.AUTOWARE_BASE_CUDA_IMAGE=${{ needs.load-env.outputs.autoware_base_cuda_image }}

Comment on lines +73 to +75
*.args.BASE_IMAGE=${{ needs.load-env.outputs.base_image }}
*.args.AUTOWARE_BASE_IMAGE=${{ needs.load-env.outputs.autoware_base_image }}
*.args.AUTOWARE_BASE_CUDA_IMAGE=${{ needs.load-env.outputs.autoware_base_cuda_image }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
*.args.BASE_IMAGE=${{ needs.load-env.outputs.base_image }}
*.args.AUTOWARE_BASE_IMAGE=${{ needs.load-env.outputs.autoware_base_image }}
*.args.AUTOWARE_BASE_CUDA_IMAGE=${{ needs.load-env.outputs.autoware_base_cuda_image }}

Comment on lines +65 to +66
- name: Build 'autoware-tools'
uses: ./.github/actions/docker-build-and-push-tools
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This job needs load-env and docker-build-and-push results.

Suggested change
- name: Build 'autoware-tools'
uses: ./.github/actions/docker-build-and-push-tools
- name: Build 'autoware-tools'
needs: [load-env, docker-build-and-push]
uses: ./.github/actions/docker-build-and-push-tools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:openadkit Issues or Features related to Open AD Kit tag:run-health-check Run health-check type:containers Docker containers, containerization of components, or container orchestration.
Projects
Status: Integration
Development

Successfully merging this pull request may close these issues.

2 participants