Skip to content

ACFR-RPG/mesh_rviz_plugins

 
 

Repository files navigation

mesh_rviz_plugins

RVIZ plugins to display a textured 3D mesh, a refactoring of plugins in: https://github.com/robustrobotics/flame_ros

Installation

  • Install ROS + the following dependencies: (change melodic for your ROS distribution):
sudo apt-get install ros-melodic-image-geometry ros-melodic-pcl-ros ros-melodic-cv-bridge
  • Then, just clone in your workspace, catkin build it, source the workspace and use rviz as you would normally do.
# Setup catkin workspace
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin init

# Add workspace to bashrc.
echo 'source ~/catkin_ws/devel/setup.bash' >> ~/.bashrc

# Clone repo
cd ~/catkin_ws/src
git clone https://github.com/ToniRV/mesh_rviz_plugins.git

# Install dependencies from rosinstall file using wstool
wstool init
wstool merge mesh_rviz_plugins/install/mesh_rviz_plugins.rosinstall
wstool update

# Compile code
catkin build

# Refresh workspace
source ~/.bashrc

Usage & Example output

After loading rviz whit this plugin, add a topic of type TexturedMesh, for which you can use a dropdown menu in rviz to subscribe to a point cloud pcl_msgs and an image for texture. Check usage and example output in spark_vio_ros.

About

RVIZ plugins to display a mesh, a refactoring of plugins in: https://github.com/robustrobotics/flame_ros

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.0%
  • CMake 5.0%