Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Robot ToolkitNew to Visual Studio Code? Get it now.
Robot Toolkit

Robot Toolkit

Robot Toolkits

|
14 installs
| (1) | Free
Robot development tools: YAML config generator and C/C++ structure parser
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Robot Toolkit for VS Code

A VS Code extension with tools for robot development: YAML configuration generation from Kconfig definitions and C/C++ structure binary parser.

Demo

▶️ Watch Demo on YouTube

Tools

1. YAML Config

Generate YAML configuration files from Kconfig definitions with a menuconfig-style interface.

  • Load Kconfig files - Define your configuration schema using Kconfig syntax
  • Load existing YAML - Edit existing configurations by loading YAML files
  • Menuconfig-style UI - Familiar interface for configuring parameters
  • Array templates - Support for multiple elements (e.g., multiple motors)
  • Native array types - Support for intarray, doublearray, stringarray
  • Export to YAML - Save configurations as YAML files
  • Multiple output formats - Choose between Plain YAML or ROS2 Parameters format

2. Parser Tools

Parse and visualize C/C++ structures from binary data - useful for debugging protocols, analyzing memory dumps, or understanding binary file formats.

  • Structure parsing - Input C/C++ struct definitions and see how bytes map to fields
  • Bit field support - Visualize individual bits in packed structures
  • Multiple data types - All standard C/C++ types, fixed-width types, and Windows types
  • Nested structures - Support for structs containing other structs
  • Configurable endianness - Switch between Little and Big Endian
  • File loading - Load structure definitions from .h/.c files and binary data from .bin files
  • Export results - Save parsed output to text or markdown files

Installation

From VS Code Marketplace

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "Robot Toolkit"
  4. Click Install

From VSIX file

  1. Download the .vsix file
  2. In VS Code, go to Extensions (Ctrl+Shift+X)
  3. Click the ... menu → "Install from VSIX..."
  4. Select the downloaded file

Quick Start

YAML Config

  1. Click on the Robot Toolkit icon in the Activity Bar (left sidebar)
  2. Click on YAML Config to open the configuration panel
  3. Click Load Kconfig to load your Kconfig file
  4. (Optional) Click Load YAML to load existing values
  5. Configure your parameters using the UI
  6. Select output format: Plain YAML or ROS2 Parameters
  7. Click Save YAML to export your configuration

Parser Tools

  1. Click on the Robot Toolkit icon in the Activity Bar (left sidebar)
  2. Click on Parser Tools to open the parser panel
  3. Enter your C/C++ structure definition in the left panel, for example:
    struct Packet {
        uint8_t  header;
        uint16_t length;
        uint32_t data;
    };
    
  4. Enter hex bytes in the bytes input area:
    AA 10 00 DE AD BE EF
    
  5. Click Parse to see the decoded structure
  6. Use the settings to adjust endianness and display options

Documentation

  • Kconfig Syntax Reference - Complete guide to Kconfig syntax

Supported Data Types

YAML Config (Kconfig)

Type Keyword Description
String string Text input
Integer int Whole numbers
Double double Decimal numbers
Boolean bool True/false checkbox
Choice choice Dropdown selection
Integer Array intarray Array of integers
Double Array doublearray Array of decimals
String Array stringarray Array of strings

Parser Tools (C/C++ Types)

Category Types Size
Standard char, short, int, long, long long 1, 2, 4, 4, 8 bytes
Fixed-width int8_t, uint8_t, int16_t, uint16_t 1, 1, 2, 2 bytes
Fixed-width int32_t, uint32_t, int64_t, uint64_t 4, 4, 8, 8 bytes
Floating float, double 4, 8 bytes
Windows BYTE, WORD, DWORD, QWORD 1, 2, 4, 8 bytes
Special Bit fields (type name : bits;) Variable
Special Arrays (type name[size];) size * type_size

YAML Output Formats

  • Plain YAML - Simple format without wrapper
  • ROS2 Parameters - Wrapped with /**: and ros__parameters:

Troubleshooting

Problem Solution
Extension not showing Run npm run compile, then reload VS Code
Kconfig not loading Check file extension is .Kconfig
YAML values not loading Load Kconfig first, check key names match
Parser shows wrong values Check endianness setting (Little vs Big Endian)
Structure not parsing Ensure struct syntax is correct with semicolons
Not enough bytes warning Input data is shorter than the structure size

License

MIT

Author

Kien Bui

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft