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

updated the prerequisite section, mentioned in the issue. #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions contents/dave_sensors/3D-Underwater-Lidar.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,28 @@ This tutorial will launch a basic tank environment with a 3D lidar sensor mounte

# Prerequisites
This tutorial assumes you have previously installed the DAVE repositories.
* Assuming the installation went as planned, you can now run:
```
cd ~/uuv_ws/src
git clone https://github.com/Field-Robotics-Lab/nps_uw_sensors_gazebo.git
```
* Build the source code (If using Docker, below commands should be typed inside the docker environment after `./run.bash dockwater:noetic` or `./run.bash -c dockwater:noetic` )
```
cd ~/uuv_ws
catkin build
```
* When the build is finished, source your new `setup.bash`:
```
source ~/uuv_ws/devel/setup.bash
# Source devel/setup.bash or install/setup.bash depending on whether you used the installation option
```
* You should be able to run `roslaunch nps_uw_sensors_gazebo uw_lidar_standalone.launch`

# Launch and run the simulation
* To launch the environment, run:
```
roslaunch nps_uw_sensors_gazebo uw_lidar_standalone.launch
```
```
roslaunch nps_uw_sensors_gazebo uw_lidar_standalone.launch
```
* If all goes well Gazebo should launch into a simulation environment that looks like this:

![tandalone lidar launch, paused](../images/uw_lidar_launch.png)
Expand Down