Skip to content

MST-Robotics/roboboatsim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wamv_gz

Simple WAM-V Simulation for ROS 2 Jazzy + Gazebo Harmonic on Ubuntu 24.04 based on VRX

Screencast.from.2024-12-29.18-36-39.webm

Installation

  1. Download ROS 2 Jazzy
  2. Download Gazebo Harmonic
  3. Download ros_gz with sudo apt-get install ros-jazzy-ros-gz
  4. Create a ROS 2 workspace and clone this repository into the /src directory
  5. Run the following terminal commands in the root directory of the ROS 2 workspace:
colcon build
source install/setup.bash
ros2 launch wamv_gz wamv_launch.py
  1. In a separate terminals you can run the following commands to move the WAM-V:
# Thruster activation. Recommended range is -10.0 to 10.0
ros2 topic pub /wamv/thrusters/left/thrust std_msgs/msg/Float64 "data: 10.0"
ros2 topic pub /wamv/thrusters/right/thrust std_msgs/msg/Float64 "data: -4.0"
  1. Other topics are as follows and can be seen using ros2 topic echo <topic_name>:
/wamv/ground_truth/odometry
/wamv/sensors/camera/front/camera_info
/wamv/sensors/camera/front/image
/wamv/sensors/front_lidar/points
/wamv/sensors/front_lidar/scan
/wamv/sensors/gps/gps/fix
/wamv/sensors/imu/imu/data

About

Simple WAM-V Simulation for ROS 2 Jazzy + Gazebo Harmonic based on VRX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Metal 40.2%
  • GLSL 34.2%
  • Python 22.8%
  • CMake 2.8%