You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- If not using docker environment, use bathymetry_plugin_whoi branch of the dave repo# at dave repo
git cehckout bathymetry_plugin_whoi
- The IMU/GPS sensor included in this repo requires hector libraries. You may install with following command
sudo apt-get install ros-noetic-hector-gazebo-plugins
- The initial position setter requires python version of gdal
sudo apt-get install python3-gdal
- The kinematics/dynamics plugin uses UwGliderStatus/UwGliderCommand msg to interact with the vehicle
git clone https://github.com/Field-Robotics-Lab/frl_msgs
- nps_uw_sensors_gazebo repository is required
git clone [email protected]:Field-Robotics-Lab/nps_uw_sensors_gazebo.git
Run the build.bash script located in the docker folder of this repository
./build.bash
Run the container
docker-compose up
Send mission commands from another terminal
docker-compose exec glider_extctl_sim /ros_entrypoint.sh rosrun slocum_glider_extctl_sim slocum_glider_sim_console
# Ctrl+C to land on mission command terminal
run initbuzz.mi
run backse01.mi
Running the simulator (Run each commands in separate terminal window)
Spawn underwater world with gazebo
roslaunch glider_hybrid_whoi_gazebo start_demo_kinematics_stratified_current.launch
# or
roslaunch glider_hybrid_whoi_gazebo BuzzBay_stratified_current.launch
# Bathymetry for Buzzbay is included in this repo# The range is (lat,lon) = (41.50, -70.70) to (41.56, -70.65)
Roughly 1500x1500 m tiles with 50 m overlap regions are included (almost 780 MB)
Click the play button on the Gazebo window and wait for the first bathymetry to be spawned. Next bathymetry tile will be spawned and the previous tile will be removed automatically according to the glider position.
roslaunch glider_hybrid_whoi_gazebo BuzzBay_stratified_current.launch
# if in docker environment
roslaunch glider_hybrid_whoi_gazebo BuzzBay_stratified_current_docker.launch
Surface detection
If the glider reach the surface, the pitch value is set to zero and the position is kept on surface unless it's heading back down.
Demo case : roslaunch glider_hybrid_whoi_gazebo start_demo_kinematics_stratified_current_two_gliders.launch
Live Feed to Fledermaus
Live feeding to Fledermaus's Vessel Manager to visualize its location is now available using UDP connection with NMEA strings.
Assumes you are running on WSL2 at Windows machine
Uses custom NMEA msg format that can include not only lat/lon/depth but also roll/pitch/heading.
Networking with WSL is tricky since the Windows and the Ubuntu in WSL recognize localhost differently. This is hacked by using the host window machine's public ip.
Maybe you have to add this to C:\Users/User/.wslconfig