Skip to content

Latest commit

 

History

History
94 lines (69 loc) · 2.83 KB

quickstart.md

File metadata and controls

94 lines (69 loc) · 2.83 KB

Running Hydra

The only dataset that is supported out-of-the-box is uHumans2. To test Hydra out, you can just download a single scene (the office scene without humans is recommended, and can be found here. Make sure to decompress the rosbag (rosbag decompress path/to/bagfile) before running!

⚠️ Warning
Also make sure to source the workspace before starting (typically source path/to/catkin_ws/devel/setup.bash, though if you use zsh you should use the correct setup file for that).

To start Hydra, run

roslaunch hydra_ros uhumans2.launch

Then, start the rosbag in a separate terminal by running

rosbag play path/to/rosbag --clock

Running with Semantic Segmentation

See here for installation information for semantic_inference.

For the uHumans2 office scene, start Hydra via

roslaunch hydra_ros uhumans2.launch use_gt_semantics:=false

You may need to wait for about a minute for TensorRT to compile the model the first time you run the launch file. Once Hydra initializes, then run

rosbag play path/to/rosbag --clock

Using Kimera-VIO

You can configure your workspace to also include Kimera-VIO by running

roscd && cd ../src
vcs import . < hydra/install/vio_overlay.rosinstall

catkin build

Running Using VIO Only

First, start Kimera by running

roslaunch kimera_vio_ros kimera_vio_ros_uhumans2.launch online:=true viz_type:=1 use_lcd:=false odom_frame_id:=odom

and in a separate terminal, run

# in separate terminal
roslaunch hydra_ros uhumans2.launch use_gt_frame:=false

Running Using VIO and External Visual Loop Closures

First, start Kimera by running

roslaunch kimera_vio_ros kimera_vio_ros_uhumans2.launch online:=true viz_type:=1 \
    odom_frame_id:=odom \
    use_lcd:=true \
    lcd_no_optimize:=true

and in a separate terminal, run the same command for Hydra

roslaunch hydra_ros uhumans2.launch use_gt_frame:=false

⚠️ Warning
To achieve the best results with Kimera-VIO, you should wait for the LCD vocabulary to finish loading before starting the rosbag.

Running Using VIO and DSG Loop Closures

First, start Kimera by running

roslaunch kimera_vio_ros kimera_vio_ros_uhumans2.launch online:=true viz_type:=1 \
     odom_frame_id:=odom \
     use_lcd:=true \
     lcd_no_detection:=true

and in a separate terminal, run the same command for Hydra

roslaunch hydra_ros uhumans2.launch use_gt_frame:=false enable_dsg_lcd:=true

⚠️ Warning
To achieve the best results with Kimera-VIO, you should wait for the LCD vocabulary to finish loading before starting the rosbag.