Skip to content

Otter USV simulator for ROS Noetic and Gazebo Classic (11). Copied from an old version of https://github.com/osrf/vrx

Notifications You must be signed in to change notification settings

ma-shangao/usv_simulator

 
 

Repository files navigation

usv_simulator

A USV simulator for ROS Noetic and Gazebo 9.

Forked from https://github.com/jhlenes/usv_simulator which is based on https://bitbucket.org/osrf/vrx.

Installation

Navigate to the src/ folder in your catkin workspace, e.g. cd ~/catkin_ws/src. Then run the following (the command sudo rosdep init will print an error if you have already executed it since installing ROS. This error can be ignored.)

git clone https://github.com/jhlenes/usv_simulator.git
cd ..
sudo apt update
sudo rosdep init
rosdep update
rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y
catkin_make
source devel/setup.bash

Simulate the Otter USV

roslaunch otter_gazebo otter.launch 

Faster than real-time simulation is also available, if your computer is fast enough. Without a dedicated graphics card this is only useful for simulation without gui, i.e. with argument gui:=false.

roslaunch otter_gazebo otter_fast.launch 

Check out the launch files for available arguments.

Control the Otter USV with the keyboard

roslaunch otter_gazebo keydrive.launch 

About

Otter USV simulator for ROS Noetic and Gazebo Classic (11). Copied from an old version of https://github.com/osrf/vrx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 83.8%
  • GLSL 6.6%
  • CMake 6.3%
  • Python 3.3%