No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.1.1
License TODO
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/nasa-jpl/osr-rover-code.git
VCS Type git
VCS Version master
Last Updated 2025-02-21
Dev Status UNMAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

osr_gazebo

Additional Links

No additional links.

Maintainers

  • dongjin

Authors

No additional authors.

ROS packages for JPL Open Source Rover Gazebo Simulation

[!NOTE] This package isn’t compiled with colcon by default. If you want to use this, remove the COLCON_IGNORE file

Overview

The following ROS packages are included to visualize the rover in rviz and simulate its operations in Gazebo:

  • rviz.launch: Launches a package for observing the rover in rviz, providing real-time visualization of its movements and sensor data.
  • empty_world.launch: Deploys the rover within the Gazebo simulation environment, creating a virtual testing ground for rover operations.

Dependencies

Linux

  • Operating System: Ubuntu 22.04.06 LTS
  • ROS Distributions: Iron, Humble
  • Gazebo Version: 11.14.0

ROS Package Installation

Before installing the required packages, replace ${ros-distro} in the commands below with the appropriate ROS distribution name (iron, humble).

sudo apt install python3-colcon-common-extensions
sudo apt-get install ros-${ros-distro}-rviz2
sudo apt-get install ros-${ros-distro}-controller-manager
sudo apt-get install ros-${ros-distro}-robot-state-publisher
sudo apt-get install ros-${ros-distro}-joint-state-publisher
sudo apt-get install ros-${ros-distro}-joint-state-publisher-gui 
sudo apt-get install ros-${ros-distro}-gazebo-ros-pkgs
sudo apt-get install ros-${ros-distro}-trajectory-msgs
sudo apt-get install ros-${ros-distro}-velocity-controllers
sudo apt-get install ros-${ros-distro}-joint-trajectory-controller
sudo apt-get install ros-${ros-distro}-gazebo-ros2-control-demos

Installation

Create and configure a workspace

Source your ROS installation:

source /opt/ros/${ros-distro}/setup.bash

build the osr-gazebo packages:

cd ~/osr-rover-code/ROS/osr_gazebo
colcon build
source ~/osr-rover-code/ROS/osr_gazebo/install/setup.bash

Visualisation

rover_rviz

This package includes launch and rviz configuration files for visualising the rover.

To view the rover in rviz and manually control the joints, execute the following command:

ros2 launch osr_gazebo rviz.launch.py

image

Simulation

rover_simulation

This package provides essential launch needed for the visualization of the rover within a simulation environment.

To launch the simulation along with the capability to manually control the joints, use the command:

ros2 launch osr_gazebo empty_world.launch.py

image

Keyboard controller

ros2 run teleop_twist_keyboard teleop_twist_keyboard

Note

  • The control does not have specified linear and angular velocities. Therefore, it’s necessary to add the maximum and minimum values for cmd_vel in the motor_controller.cpp.
  • The ROS1::noetic version of gazebo simulation exists at https://github.com/dongjineee/rover_gazebo.

The method to convert from Onshape to URDF

  • The object file for the rover is available within Onshape.
  • This object file can be disassembled into its individual components, such as rocker bogie1,2,3, and box, etc..
  • However, directly using it as a URDF after converting it to an STL will result in significant CPU and GPU usage in RViz or Gazebo due to the file size issue.
  • Therefore, the process of reducing the file size of the STL using MeshLab was carried out.
  • The package provided at https://github.com/gstavrinos/calc-inertia was then used to define the inertial properties.
CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged osr_gazebo at Robotics Stack Exchange

No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.