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
And launch it with:
roslaunch plotjuggler_ros plotjuggler.launch
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