uvt-viz3d
This crate provides utilities to visualize the content of an Uncrewed Vehicle Trajectory (UVT) file in 3D, with rerun. The UVT format is an extension of the LTR file format introduced in Kilometer-Scale Autonomous Navigation in Subarctic Forests: Challenges and Lessons Learned.
A UVT file contains:
- a LiDAR map of the environment, stored in the
VTKformat. - A trajectory recorded by an uncrewed vehicle.
An example UVT file is available on Zenodo.
Usage
Since uvt-viz3d relies on rerun, you might need to install Rerun Viewer. Installations infos are available here
CLI tool
To use uvt-viz3d as a CLI tool, you can install this crate with:
You can run uvt-viz3d from the terminal:
$ uvt-viz3d --help
Utilities for visualizing UVT data in 3D
Usage: uvt-viz3d [OPTIONS] --input-file <INPUT_FILE>
Options:
-i, --input-file <INPUT_FILE> Input file path
-m, --mode <MODE> File mode [default: uvt] [possible values: uvt, rosbag, mcap]
--map-topic <MAP_TOPIC> Map topic [default: /map]
--traj-topic <TRAJ_TOPIC> Trajectory topic [default: /odom]
-h, --help Print help
-V, --version Print version
uvt-viz3d can be used with .uvt files and with rosbags, both with ROS (.bag) and with ROS 2 (.mcap):
# With a UVT file
# With a ROS bag file
# With a ROS MCAP file
Library
To use uvt-viz3d as a library, simply add the crate name to your Cargo.toml file:
uvt-viz3d = "0.1"
uvt-viz3d provides a function to visualize the content of a UVT file:
use io;
use uvt;
use uvt_viz3d;
Citation
If you use the code or data in an academic context, please cite the following work:
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.