Skip to content

Commit 427a3a9

Browse files
Update using_isaac_perceptor.rst (#825)
Added steps for depth and occupancy_map generation. Signed-off-by: Familiar Robotics <129525913+familiar-robotics@users.noreply.github.com>
1 parent f5e554c commit 427a3a9

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

tutorials/docs/using_isaac_perceptor.rst

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,29 @@ If you wanted to pick up the process using the existing data and (re)generate th
542542
.. code-block:: bash
543543
544544
ros2 run isaac_mapping_ros create_map_offline.py --sensor_data_bag=/mnt/nova_ssd/recordings/<path_to_recorded_bag_file>/ \
545-
--map_dir=/mnt/nova_ssd/recordings/maps/<path_to_partial_map_dir>/ --steps_to_run cuvslam
545+
--map_dir=/mnt/nova_ssd/recordings/maps/${EXISTING_MAP_DIR}/ --steps_to_run cuvslam
546+
547+
Similarly, to run the depth step by itself, the command-line would be:
548+
549+
.. code-block:: bash
550+
551+
export LD_LIBRARY_PATH="${ISAAC_ROS_WS}/isaac_ros_assets/models/dnn_stereo_disparity/dnn_stereo_disparity_v4.1.0_onnx/plugins/aarch64:$LD_LIBRARY_PATH"
552+
553+
ros2 run isaac_mapping_ros run_ess_ros_offline.py \
554+
--image_dir=/mnt/nova_ssd/recordings/maps/${EXISTING_MAP_DIR}/map_frames/raw \
555+
--output_dir=/mnt/nova_ssd/recordings/maps/${EXISTING_MAP_DIR}/map_frames/depth \
556+
--frames_meta_file=/mnt/nova_ssd/recordings/maps/${EXISTING_MAP_DIR}/map_frames/raw/frames_meta.json
557+
558+
The occupancy_map generation step can be run with this command:
559+
560+
.. code-block:: bash
561+
562+
ros2 run isaac_mapping_ros create_map_offline.py \
563+
--sensor_data_bag=/mnt/nova_ssd/recordings/${BAG_DIR} \
564+
--base_output_folder=/mnt/nova_ssd/recordings/maps \
565+
--map_dir=/mnt/nova_ssd/recordings/maps/${EXISTING_MAP_DIR} \
566+
--print_mode all --steps_to_run occupancy
567+
546568
547569
Most of the tools used by ``./tools/create_map.sh`` can be found in the Docker container under ``/opt/ros/humble/lib/isaac_mapping_ros`` and run individually if necessary::
548570

0 commit comments

Comments
 (0)