VizMini2: RViz and ROS 2 tools on your phone and PC, now open source, no account, no ads

Hi everyone!

Some of you may remember my first post about VizMini2, an Android app to view, drive and inspect ROS 2 robots from your phone. You gave me very clear feedback: closed source, an account required, ads, and only Fast DDS. I took it to heart, and VizMini2 1.1.0 is out:

Thanks to everyone who commented on the first post, and to the testers who got it through Google Play’s closed testing. :folded_hands:

desktop

Not just the phone anymore

  • Ubuntu 20.04 or newer: a .deb that adds VizMini2’s own apt repository, so sudo apt upgrade brings new versions.
  • Windows 10 and 11: an .msi (no administrator needed) or a .zip.
  • As a ROS 2 package: clone it into your workspace, rosdep install, colcon build, then ros2 run vizmini2 vizmini2. It takes the domain and peers from your terminal. It is also on its way to the ROS buildfarm as ros-<distro>-vizmini2, for Jazzy and newer.

More middleware and distros

  • Fast DDS, Cyclone DDS and Zenoh. Services, actions, parameters and lifecycle now work on Cyclone too.
  • foxglove_bridge, when you can’t (or don’t want to) be on the robot’s DDS network.
  • Works with Foxy, Humble, Jazzy, Kilted and Lyrical.
  • Find robots lists the ROS domains with nodes on your network: tap one to connect.

What’s new since the first post

3D view MoveIt Dashboard Map tools
phone_rviz phone_moveit phone_dashboard phone_maps
  • MoveIt: plan and move an arm with move_group. It has planning groups, named poses, a slider per joint, moving the gripper in X, Y, Z and around its axes, straight lines and obstacles, plus a 3D tool to drag the goal.
  • ros2_control: controllers and their states (activate, deactivate, load…), moving the joints of trajectory and forward command controllers, and the hardware components with their interfaces.
  • Nav2 map tools: save the map (map_saver or SLAM Toolbox) or download it, pause SLAM, clear costmaps, and draw keepout and speed limit zones as costmap filter masks.
  • Plots: series over time, XY, state transitions, spectrum and histogram, with formulas and Lua scripts. Data can come from topics, bags, CSV, UDP, MQTT or ZeroMQ.
  • Behavior trees: Groot2 with the blackboard, recording and breakpoints, and the Nav2 log.
  • PlanSys2: follow a plan while it runs, with each action’s progress, the performers and the knowledge.
  • Alerts: your own rules on any topic (a threshold, or no messages for a while), with notifications even in the background.
  • Video: H.264 and H.265 topics (foxglove_msgs/CompressedVideo, ffmpeg_image_transport), and recording the screen as a video.
  • 3D view: interactive markers, Camera, DepthCloud, Effort, Trajectory and Planning scene displays, mesh markers, and the Select, Measure and Publish point tools. It also shows EasyNavigation’s multi-floor NavMap maps.
  • Bring your setup: import your RViz 2 files (and export them), plus panel layouts (.json) and plot layouts (.xml).
  • Your own message types: paste what ros2 interface show prints and use them straight away.
  • Topic variables: write ${robot} in any topic to switch every tab to another robot at once.
  • Also new: Indicators, GPS map, Parameters and Message tabs, up to four cameras at once, and bag playback with a shared timeline across tabs.

Try it without a robot

The demo mode runs a simulated robot inside the app, on the phone or the PC. It has a map, a laser, a camera, TF, diagnostics, services, an action, a lifecycle node, a ros2_control controller manager and a PlanSys2 plan, so you can try every tab. All the GIFs above are recorded with it.

Links

Feedback welcome

Bug reports are especially useful for robots, networks or Android versions I don’t have. So are missing displays and tools. Open an issue or reply here, and PRs are very welcome now that the code is out there. If it’s useful to you, a :star: on GitHub helps a lot.

Juan Carlos ^^

1 Like