PlotJuggler works great with ROS, but it is not itself a "ROS" application.
ROS is supported through external plugins that can be found in this repository.
- DataLoader for rosbags (ROS / ROS2).
- ROS topic subscriber (ROS / ROS2).
- Logs/rosout visualizer (ROS only).
- Re-publisher similar to
rosbag play
(ROS only).
Install PlotJuggler and its ROS plugins with:
sudo apt install ros-${ROS_DISTRO}-plotjuggler
To launch PlotJuggler on ROS, use the command:
rosrun plotjuggler plotjuggler
or, if have ROS2 installed:
ros2 run plotjuggler plotjuggler
Create a catkin workspace and clone the repositories:
mkdir -p ~/ws_plotjuggler/src
cd ~/ws_plotjuggler/src
git clone https://github.com/PlotJuggler/plotjuggler_msgs.git
git clone https://github.com/facontidavide/PlotJuggler.git
git clone https://github.com/PlotJuggler/plotjuggler-ros-plugins.git
Now, it is time to compile:
cd ~/ws_plotjuggler
rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y
catkin build
Enjoy:
source devel/setup.bash
roslaunch plotjuggler_ros plotjuggler.launch