BTick :an open-source tool for Behavior Tree monitoring and runtime control in ROS 2

Hi ROS community!
Working with Behavior Trees in robotics? :deciduous_tree:

Meet BTick, a powerful tool designed to make monitoring, debugging, and analyzing BehaviorTree.CPP applications easier and more interactive.

Key Features

:small_blue_diamond: Unlimited Nodes & Multi-Tree Support — Automatically discover and monitor multiple trees and nested subtrees in real time.

:small_blue_diamond: Live Monitoring & Interactive Debugging — Track execution, use breakpoints and step execution, and inspect node states.

:small_blue_diamond: Runtime Control & Testing — Override node statuses, inject delays, edit supported ports, and inspect or modify Blackboard variables.

:small_blue_diamond: Recording, Replay & Performance Analysis — Record sessions, replay execution through a timeline, export logs, and analyze execution timing.

:small_blue_diamond: Integrated XML Editor — Create and edit BehaviorTree.CPP v4 XML files with interactive visualization and navigation.

:small_blue_diamond: Three Protocols & Integrations

  • BTick Protocol — Native monitoring and interactive debugging.

  • Groot2 Protocol — Groot2-compatible communication and supported Pro features.

  • Nav2 Integration — Visualize Behavior Trees through the ROS 2 Nav2 logging topic.

:small_blue_diamond: Web & Desktop Applications — Access BTick through a browser or a standalone desktop application.

:link: Explore BTick

:movie_camera: Full Demo: [Demo Link]

:open_book: Documentation: BTick: Behavior Tree Visualizer & Debugger — BTick 1.0.0 documentation

:laptop: Application Repository: GitHub - SherifFathey/btick_app · GitHub

:gear: Core Integration: GitHub - SherifFathey/btick · GitHub

Built for developers working with ROS 2, BehaviorTree.CPP, and Nav2.

The goal is simple: bring Behavior Tree visualization, monitoring, debugging, recording, and analysis together in one interface.

:speech_balloon: Feedback and contributions are welcome!

demo

6 Likes

Looks awesome! Is this only useful for development or would it also make sense for monitoring/operating deployed robots? If the latter then I think this would make for a great Transitive capability. It would help spread the word and, on the technical side, would move the UI to the cloud with a remote connection to the robot for monitoring from the web without the need for a VPN or similar.

1 Like

Thanks for the suggestion! This is definitely just the beginning for BTick. On the development side, BTick allows you to modify the Behavior Tree at runtime, making debugging, testing, and experimenting with different behaviors much easier. For deployed robots, I believe it could also be valuable for remote monitoring, troubleshooting, and diagnosing unexpected behavior in real-world operation.

Integrating BTick with Transitive is a great idea, and I’ll definitely explore this direction. I’d also really appreciate it if you could try BTick on one of your real-world robotics projects and share your feedback. It would be great to hear your thoughts on how well it fits into an actual robotics workflow and what improvements would make it more useful.

Hi Sherif,

This is an excellent way to debug behaviortrees on-the-fly. I especially like the focussed mode in your web interface, which follows the active node in the behavior tree. It’s a great way to keep track of the current status of the robot, without any major cognitive burden on the user.

I’ve been pushing your software hard over the last few days and I found that the performance drops a bit when your behavior tree gets too big, or if you open up too many web tabs.

I’ve put up three PRs against your repos to help improve the scalability of your tool.

Thanks again for a fabulous community contribution!

2 Likes

Hi Andrew,

Really glad to hear you’ve been putting BTick through its paces with 370-node behavior trees.

Thanks a lot for taking the time to test it and contribute improvements across the repos. I appreciate the effort and I’ll take a look at the PRs.

Really appreciate your support for BTick