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: add CLI tool for visualization #91

Merged
merged 2 commits into from
Feb 12, 2025
Merged

feat: add CLI tool for visualization #91

merged 2 commits into from
Feb 12, 2025

Conversation

ktro2828
Copy link
Collaborator

@ktro2828 ktro2828 commented Jan 17, 2025

What

This PR introduces a CLI tool to visualize T4 dataset.

Usage

$ t4viz --help
Usage: t4viz [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  instance    Visualize a particular instance in a corresponding scene
  pointcloud  Visualize pointcloud in a corresponding scene.
  scene       Visualize a specific scene.

Visualize scene

$ t4viz scene --help
Usage: t4viz scene [OPTIONS] DATA_ROOT

  Visualize a specific scene.

Options:
  -f, --future FLOAT Future time seconds.
  -o, --output PATH  Output directory to save recoding .rrd file.
  --no-show          Indicates whether not to show viewer.
  --help             Show this message and exit.

Visualize instance

$ t4viz instance --help
Usage: t4viz instance [OPTIONS] DATA_ROOT INSTANCE

  Visualize a particular instance in a corresponding scene

Options:
  -f, --future FLOAT Future time seconds.
  -o, --output PATH  Output directory to save recoding .rrd file.
  --no-show          Indicates whether not to show viewer.
  --help             Show this message and exit.

Visualize pointcloud

$ t4viz pointcloud --help
Usage: t4viz pointcloud [OPTIONS] DATA_ROOT

  Visualize pointcloud in a corresponding scene.

Options:
  -d, --distortion       Indicates whether not to ignore camera distortion.
  -o, --output PATH  Output directory to save recoding .rrd file.
  --no-show          Indicates whether not to show viewer.
  --help             Show this message and exit.

@github-actions github-actions bot added dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation new-feature New feature or request labels Jan 17, 2025
Copy link

github-actions bot commented Jan 17, 2025

☂️ Python Coverage

current status: ❌

Overall Coverage

Lines Covered Coverage Threshold Status
2243 1477 66% 50% 🟢

New Files

File Coverage Status
t4_devkit/cli/init.py 100% 🟢
t4_devkit/cli/visualize.py 0% 🔴
TOTAL 50% 🔴

Modified Files

No covered modified files...

updated for commit: c94cb9a by action🐍

@ktro2828 ktro2828 force-pushed the feat/cli branch 10 times, most recently from 0281551 to f823f99 Compare January 17, 2025 01:42
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
@ktro2828 ktro2828 marked this pull request as ready for review February 12, 2025 15:48
@ktro2828 ktro2828 merged commit c127df4 into main Feb 12, 2025
4 of 5 checks passed
@ktro2828 ktro2828 deleted the feat/cli branch February 12, 2025 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation new-feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant