The Ultimate Visual Studio Code Extension for BehaviorTree.CPP
BehaviorTree.CPP is a fantastic library, and behavior trees are powerful. BehaviorLens brings that power directly into VS Code with a fully interactive, visual editor and debugger.
✨ Features
🌲 Visual Editor & Preview
Stop staring at raw XML. Visualize your Behavior Trees with a modern, interactive graph editor.
Drag & Drop Reordering: Organize your trees intuitively.
Node Management: Add, remove, and rename nodes easily with the context menu.
Edit Attributes: Modify node parameters directly in the UI.
Smart Connection: Connect nodes with validation to prevent cycles.
🤖 Live ROS 2 Integration
Debug your robot's logic in real-time. BehaviorLens bridges directly to your ROS 2 stack to visualize execution state.
Live Status Visualization: See nodes transition (IDLE, RUNNING, SUCCESS, FAILURE) as your robot thinks.
Inspection Mode: One-click subscription to /behavior_tree_log.
Configurable Topic: You can change the topic in settings if your robot publishes elsewhere.