This is a collection of low-poly 3D markers that can enhance data visualisation using Rviz. The 3D models are designed to be lightweight without heavily compromising realisticity.
- Clone this repository to your catkin workspace
src - Build the package
cd ~/catkin_wscatkin build rviz_markers - Source your workspace
source ~/catkin_ws/devel/setup.bash
- Clone this repository to your colcon (
ROS2) workspacesrc(e.g.~/ros2_ws/src) checkout the branch:git checkout ros2-humble - Build the package
cd ~/ros2_wscolcon build --packages-select rviz_markers - Source your workspace in a new terminal
source ~/ros2_ws/install/local_setup.bash && source ~/ros2_ws/install/setup.bash
After source, simply run:
roslaunch rviz_markers demo1.launch
ros2 launch rviz_markers demo1.launch.py
This will start rviz, publis some TF frames and start all markers, visible in rviz.
The package currently contains seven markers.
Using the VW E-Golf marker:
-
In a terminal window, start roscore
roscore -
In a different terminal window, run:
rosrun rviz_markers egolf _frame_id:=fake_golf -
The marker should be visible using Rviz, as Marker, choose
fake_golfframe id.
Using the DJI Matrice 600 Pro Drone marker:
- In a terminal window, start roscore
roscore - In a different terminal window, run:
rosrun rviz_markers drone - The marker should be visible using Rviz, as Marker.
Parameters of the published topic:
- Name: egolf_marker
- Type: visualisation_msgs/Marker
- Fixed frame: base_link (set with
golf_frame_id)
Parameters of the published topic:
- Name: drone_marker
- Type: visualisation_msgs/Marker
- Frame: set with
drone_frame_id

