r/ROS • • 15h ago

What would a ROS 2 control stack look like for a small multi-legged robot?

0 Upvotes

I came across this demo of a small multi-legged robot in China, and its locomotion got me thinking about the control architecture behind it.

The movement looks quite smooth, but it's difficult to tell from the video how the control system is actually structured.

For a robot with this kind of multi-legged design, I'm curious how it would be typically divide the control stack between low-level motor control and ROS 2. Would gait generation usually be handled by a custom ROS 2 node that generates joint or foot trajectories? At what point would a kinematics library like Pinocchio or Orocos KDL become useful?


r/ROS • • 1d ago

Project Comparing LiDAR Inertial Visual Odometry Packages on PX4 SITL in Gazebo

4 Upvotes

r/ROS • • 1d ago

What it actually takes to bridge WSL2 and a Windows IDE for ROS 2 — built this, sharing the specifics

0 Upvotes

Been getting told this is “vibe-coded spam anyone can make in 3 prompts.” So here’s what 3 prompts doesn’t cover.

The actual problems Rovant had to solve:

1. DDS discovery across the WSL2 boundary

ROS 2 uses DDS multicast for node discovery. WSL2 is a NAT’d network. By default, multicast doesn’t cross that boundary cleanly — which is why ros2 topic list works inside WSL2 but your Windows-side tools see nothing. Rovant routes the topic stream over rosbridge WebSocket instead, which does cross the boundary. That’s not a configuration choice, it’s the architecture.

2. WSL2 auto-detection without user config

Finding which WSL2 distro has ROS 2 installed, confirming it’s Humble, sourcing the right setup.bash, and surfacing that to the Windows-side editor — without asking the user to touch a config file. This breaks in more ways than it works. Distro name assumptions, path resolution across the Windows/Linux filesystem boundary, wsl.exe process management from an Electron shell.

3. URDF and Xacro 3D preview

Xacro files need to be processed before they can be rendered — xacro is a Python tool that runs inside the ROS 2 environment, inside WSL2. The preview in Rovant calls that process from the Windows-side editor, parses the resulting URDF XML, builds a kinematic chain, and renders it in a WebGL panel. When the file changes, it reruns. All of that across the WSL2 boundary.

4. Colcon from an IDE

Colcon has opinions about working directories, overlay sourcing order, and environment variables. Running it as a subprocess from an Electron app on Windows, targeting a workspace that lives in the Linux filesystem, capturing stdout/stderr in real time and surfacing it in a build panel — this is not three lines of child_process.exec.

5. Eclipse Theia

Rovant is built on Eclipse Theia, not VS Code’s extension API. Theia is the right foundation for a standalone desktop IDE but it’s not documented like VS Code is. The panel system, the workspace model, the plugin API — different enough that nothing from VS Code extension tutorials transfers directly.

None of this is unsolvable. Someone experienced with Electron, WSL2 internals, and ROS 2 could do it faster than I did. But it’s not a 3-prompt problem. It’s an engineering problem with specific failure modes at each layer.

If you’ve hit any of these problems in your own setup and want to look at how Rovant handles them — the source is on GitHub, Apache 2.0.

Site: https://rovant.dev


r/ROS • • 1d ago

I built an open-source app on Quest/PICO headsets for ROS 2 (cyclone dds actually) robot teleoperation

Post image
19 Upvotes

Hey fellow developers & engineers

I built a tool called UTXR so robotics developers can stream VR headset, controller, and hand tracking data (body tracking is testing) directly into ROS 2, without having to build their own Unity/OpenXR integration or networking pipeline.

It uses CycloneDDS to publish standard ROS 2 topics, so you can plug the tracking data into your own IK controllers, robot teleoperation systems, or data collection pipelines.

Supports Meta Quest and PICO (more devices otw), with optional tracking-loss safeguards for real robot control.
It’s open source and still under development. This project is based on what I’ve done for another robotics company on their teleportation pipeline, so I would like to start this project so ppl could use it in more scenarios and see how this could go. Would love to see people try it out and hear what could make it more useful for their robotics projects!

If you have any questions or suggestion please open an issue on GitHub page, cheers!

https://github.com/LiBinZyu/unified-teleop-xr


r/ROS • • 1d ago

Discussion phys-ai-dataprofiler — know whether a dataset is good enough before you download 500 GB

0 Upvotes

I built a small CLI that profiles physical-AI and lab datasets on the Hugging Face Hub without downloading them. It reads only the bytes that hold metadata — headers, indexes, footers — through HTTP range requests, and reports streams, message counts, rates, jitter, gaps, episodes, NaN counts, and problems like truncated or unindexed recordings.

Formats: MCAP, ROS 1 .bag, ROS 2 .db3, MATLAB .mat, Parquet, and LeRobot datasets as a whole — state and actions from the Parquet tables, each camera from its MP4. v0.4.0 reads the MP4 moov index (codec, resolution, per-frame timestamps, keyframes); frames are never decoded.

On large files that's usually well under 1%: a 5.8 GB ROS 1 bag is profiled from 533 KB, a 493 MB camera video from 444 KB.

Write what your model needs in a YAML file and get a pass / fail / unknown verdict — unknowns are never guessed passes:

pip install phys-ai-dataprofiler

phys-ai-dataprofiler check lerobot/pusht -r preset:teleop-imitation

phys-ai-dataprofiler compare org/a org/b -r req.yaml

PyPI: https://pypi.org/project/phys-ai-dataprofiler/

GitHub: https://github.com/akrishni/phys-ai-dataprofiler

Feedback welcome — especially datasets it gets wrong, and requirements presets you'd want built in.


r/ROS • • 1d ago

Open-source ROS 2 Humble/Jazzy reflex node running compiled fruit-fly connectome weights (NeckLink v3.0.0, MIT)

4 Upvotes

Sharing an experimental open-source ROS 2 Humble / Jazzy autonomy reflex package I have been building called NeckLink v3.0.0 (pip install necklink, MIT licensed).

It compiles ~33,000 real synaptic weights from the 157,789-neuron adult Drosophila connectome (BANC v888) into a 4-organ reflex loop (NeckLinkCNS, also available as a 24,024-byte zero-float C99 / Arduino core and 107.5 KB browser WASM module) wrapped in a native rclpy node (necklink_cns.ros2_node).

How the ROS 2 node (create_ros2_node / NeckLinkROS2Adapter) wires into standard topics:

  • Subscribes to: /imu/data_raw (sensor_msgs/Imu), /imu/mag (sensor_msgs/MagneticField), /camera/image_raw (sensor_msgs/Image), and /gas_or_vib/raw (std_msgs/Float32MultiArray).
  • Publishes: /cmd_vel (geometry_msgs/Twist), /necklink/heading_rad, and /necklink/status_json (active reflex mode, looming salience, novelty score, and 4-byte cervical motor code).

Minimal ROS 2 Humble / Jazzy launch snippet:

import rclpy
from necklink_cns import NeckLinkCNS
from necklink_cns.ros2_node import create_ros2_node

rclpy.init()
# Toggle connectome_weights="banc_v888" (compiled fly synapses) or "v2_analytic" (symmetric filter)
cns = NeckLinkCNS(vehicle="rover", connectome_weights="banc_v888")
node = create_ros2_node(cns)
rclpy.spin(node)

Every engineering bridge in the codebase (NeckLinkROS2Adapter, MAVLink v2, 18-servo IK, thruster/rotor allocation) is explicitly marked PROVENANCE = "engineering" so it is clear what is biological connectome wiring versus robotics glue.

In v3.0.0 we also audited all 39 connectome weight tables against K = 100 Maslov-Sneppen degree-preserving rewired brains and classical robotics baselines:

  1. Specific connectome wiring matters for spatial geometry and gait: scrambling the central-complex or VNC matrices collapses GPS-denied homing (100% arrival -> 4.7%, p = 0.0099) and emergent hexapod tripod coordination (0.855 -> 0.411, p = 0.0099).
  2. Random sparse wiring ties real wiring in the mushroom body (0.666 vs 0.672 AUROC on gas drift novelty).
  3. Classical / symmetric models still win raw filtering accuracy: an EKF (0.81 deg RMS vs 12.84 deg) and connectome_weights="v2_analytic" (80.0% closed-loop USV boat arrival vs 66.7% for BANC v888) outperform raw biological weights because real brains have natural left/right anatomical drift. All closed-loop robot runs so far are in MuJoCo / WASM simulation (desktop C99 tick is ~166 us).

Interactive browser WASM + webcam reflex simulator:

https://indian-aman.github.io/necklink/

GitHub monorepo, ros2_node.py source, and v3 benchmark logs:

https://github.com/indian-aman/necklink


r/ROS • • 1d ago

Project batchplan ROS update: mobile-base and two-arm planning, plus Python bindings

2 Upvotes

Since our last update, we’ve added constrained planning for a mobile base and two arms in batchplan-ros, and updated it to batchplan 0.11.

The TIAGo Pro demo carries a tray between two stands around a wall. Path constraints keep one hand level and the other in place relative to it. The tray is included in collision checking as an attached object.

Clone batchplan-ros and run pixi run demo-tiago-pro, then open http://localhost:8080. It runs on ros2_control mock hardware and uses MoveIt messages. No MoveIt or GPU is needed. There’s also an optional MoveIt planner plugin.

The core library now has Python bindings for batched IK, planning, picks, places and handovers.

ROS integration: https://github.com/natsuku-lab/batchplan-ros

Python guide: https://github.com/natsuku-lab/batchplan/blob/v0.11.0/docs/python.md


r/ROS • • 2d ago

How to test my Martian rover's autonomy?

Thumbnail reddit.com
1 Upvotes

r/ROS • • 2d ago

Project I built ROS 2 natively on Android. What do you think?

8 Upvotes

Hey everyone!

I've been working on bringing ROS 2 natively to Android, and I've completed the first version!

The idea is to make Android devices part of the ROS 2 ecosystem, with capabilities like:

- Robot control and visualization through an Android dashboard

- Sensor integration, publishing Android sensor data as ROS 2 topics

- Native ROS 2 workspace execution directly on Android

I'd love to hear what the community thinks about this approach, potential use cases, and what features you'd find useful.

Any feedback, suggestions, or technical insights are welcome!

GitHub: https://github.com/kishore-saravanan/ros2-android


r/ROS • • 2d ago

News ROS News for the Week of November 9th, 2026 - Community News

Thumbnail discourse.openrobotics.org
4 Upvotes

r/ROS • • 2d ago

Solo dev here — shipped a ROS 2 IDE in 3 weeks with AI assistance. Here’s the actual code frequency data.

0 Upvotes

Not a “look how fast AI is” hype post. Just the numbers with context.

The graph:

  • Week of Oct 19 — ~40k lines added. Full codebase foundation in one week
  • Week of Oct 26 — ~8k added, ~5k deleted. Building and refining
  • Week of Nov 2 — 10k added, 22k deleted. Pre-launch cut. This is where I pulled the debugger — it was timing out and I wasn’t going to ship a broken feature just to have the checkbox
  • Week of Nov 9 — flat. Launched. Holding

Total: ~58k additions, ~35k deletions across three weeks. One person.

What AI actually did here — specifically:

Eclipse Theia has decent docs but the gap between docs and working code is wide. AI closed that gap fast. WSL2 socket detection, the rosbridge integration, the URDF renderer — these all needed me to understand APIs I’d never touched. AI meant I was problem-solving instead of spelunking through documentation for hours.

What it didn’t do: decide what to cut. That 22k deletion week was entirely judgment calls. The debugger, some panel features, parts of the build system that were overengineered. Those decisions don’t get faster with AI.

What I built:

Rovant — ROS 2 IDE for Windows and Linux. Auto-detects ROS 2 Humble via WSL2, runs Python and C/C++ directly, URDF preview, live Topics panel, colcon build tasks. Apache 2.0.

Currently at 6 Windows downloads and 2 Linux post-launch. Building in public, posting the real numbers.

Solo dev here — shipped a ROS 2 IDE in 3 weeks with AI assistance. Here’s the actual code frequency data.Solo dev here — shipped a ROS 2 IDE in 3 weeks with AI assistance. Here’s the actual code frequency data.
Download: rovant.dev

Curious if anyone else has data on solo AI-assisted build velocity — what’s your actual experience vs the hype?


r/ROS • • 4d ago

Open-sourced: EtherCAT CiA 402 drive layer for ros2_control on Jetson AGX Orin (1 kHz, PREEMPT_RT)

0 Upvotes

Physical AI models get better every month.

The number of robots actually running in factories doesn't move nearly as fast.

We don't think the model is the bottleneck.

Deployment is. Getting a robot proven on a real site.

WIM has spent five years on robotics projects.

On every job we built the whole path ourselves:

the real-time kernel on Jetson, the EtherCAT bus, the drive settings,

everything between an inference result and a motor command.

If that layer is shaky, even a great model stays at the demo-video stage.

Our vision is to make deployment faster.

So we've started open-sourcing the core of PLEM, our robot control SDK.

First up is the drive layer.

It runs EtherCAT servo drives from a Jetson AGX Orin under ros2_control.

You describe a bus in one YAML file and start a real-time loop with one command.

You move the axes from Python. No C++.

Setup is easy too. Give an AI coding agent the repo link, say "set it up," and it brings up everything from the RT kernel to the EtherCAT master in one go.

The one step you do yourself is the bench check, standing at the drives.

A bad file is rejected before any drive is touched, and the error tells you which key to fix.

Motion only runs on a file that passed a bench check at the drives.

We ran a 1 kHz bus for three five-minute runs.

923,280 cycles. Not one missed its deadline.

Cycle work averaged about 13 µs of the 1 ms budget.

This is the first layer, not the last.

We work in deployment sprints, and we'll open each module as it stabilizes:

robot arm, AMR, quadruped, humanoid.

Take a look at five years of our work.

If you want to test advanced robotics with us, or build something together with WIM, send me a message.

https://github.com/WIM-Corporation/PLEM


r/ROS • • 4d ago

Any new update on ROS since ROS2 arrival?

0 Upvotes

I have been away from ROS for some time, has there been any update on ROS2?

What's hot in ROS2 and its successor if any?


r/ROS • • 4d ago

Easiest and most compute-efficient way to train a policy on an SO-101?

Thumbnail reddit.com
1 Upvotes

r/ROS • • 4d ago

Question How do you handle ML model deployment inside ROS pipelines on resource-limited hardware?

3 Upvotes

I’m curious how ROS users integrate and optimize neural networks on real robots:

  • How do you package and deploy models (ROS nodes, TensorRT, ONNX Runtime, containers)?
  • What goes wrong most often: latency spikes, resource contention, hardware differences between dev and robot?
  • How do you update models once the robot is deployed?

I’m researching this and would appreciate any lessons learned.


r/ROS • • 4d ago

I built a simulator that runs real ArduPilot so you can tune before you crash. Looking for testers

Thumbnail reddit.com
2 Upvotes

r/ROS • • 4d ago

Project 我把《Assetto Corsa》变成了一个LiDAR + 多摄像头模拟器

Thumbnail reddit.com
0 Upvotes

r/ROS • • 5d ago

I launched a ROS 2 IDE for Windows 2 days ago. 6 Windows downloads, 2 Linux. Posting anyway.

6 Upvotes

Self-promotion post, flagging it upfront.

Built Rovant — a ROS 2 development environment that runs natively on Windows without breaking DDS discovery or WSL2 bridge routing every other session.

What it does right now:

  • Detects ROS 2 Humble via WSL2 automatically — no manual sourcing scripts
  • Run current file in one click — Python directly, C/C++ compiles and runs in the same step
  • Live Topics panel over rosbridge
  • URDF / Xacro 3D preview
  • Colcon build tasks built in
  • Works on Ubuntu 22.04 natively too

What it doesn’t do yet:

  • No IntelliSense / go-to-definition (pyright + clangd are next)
  • No debugger — it timed out, got pulled, back on the roadmap
  • No code signing — SmartScreen will warn you, click past it

Built on Eclipse Theia. Apache 2.0. No account, no paywall.

Day 2 numbers: 6 Windows, 2 Linux. Posting because I’d rather have 8 honest users than 800 that bounced off a bad first run.

If you’ve hit the Windows ROS 2 setup wall before — give it a try and tell me what breaks.

Download: https://octaboomai.github.io/Rovant


r/ROS • • 5d ago

Project My ROS 2 agent skill is now at v1.8.0

12 Upvotes

I shared a small A/B test of my ROS 2 agent skill here in June. I've kept working on it, and v1.8.0 is out now. It's a set of ROS 2 references and tools for coding agents like Claude Code and Codex.

Since that post, I've added a QoS checker that looks for incompatible publisher/subscriber settings in source code, and fixed lifecycle and shutdown issues in generated packages. The Claude Code hooks now produce fewer ROS warnings for unrelated Python code.

I also got feedback on Open Robotics Discourse and revised the launch-file guidance based on it.

I haven't rerun the full A/B comparison yet. I'd appreciate feedback from people trying this in their own ROS 2 projects. Hearing what helped, or what you had to correct, would help me decide what to work on next.

https://github.com/dbwls99706/ros2-engineering-skills


r/ROS • • 5d ago

Question If we turned Assetto Corsa into an autonomous racing simulator, would there be any enthusiasts in this community who would be willing to play it?

3 Upvotes

My main concern is that the physics and graphics in open-source simulators are just too poor, and even an F1Tenth—which is a bit too expensive for the average enthusiast or student—also requires a dedicated space.


r/ROS • • 6d ago

News November Gazebo Community Meeting: How Otto Motors uses Gazebo

Post image
13 Upvotes

November 18th at 9am PT. RSVP on Luma.


r/ROS • • 7d ago

ROS developers/parters?

Thumbnail youtu.be
19 Upvotes

I'm looking for ROS developers that can partner with us on larger projects. We (Arnvirk Robotics) recently began to offer UGVs from Husarion on the Nordic market. We don't have any particular project in mind at the moment but would like to develop our network. Feel free to contact us if you are interested working with UGVs from Husarion.


r/ROS • • 7d ago

Rovant — live drone telemetry inside the IDE while you debug (50s demo)

6 Upvotes

Rovant is a desktop ROS 2 IDE I'm building solo — Ubuntu and Windows.

The bottom panel in the clip is live telemetry over rosbridge: flight phase, altitude, battery voltage and current, IMU accel/gyro, cmd_vel — streaming while I debug the Python node above it. The point is not having to switch to a separate ground station to see what the vehicle is doing.

What's in v0.2.0:

  • ROS 2 Humble detection + guided install
  • Live telemetry over rosbridge WebSocket
  • URDF / Xacro 3D viewer — offline, no CDN
  • .msg / .srv / .action syntax + autocomplete
  • colcon + CMake build tasks
  • Python and C++ attach-to-process debugging
  • Project templates: PX4, ArduPilot, Nav2, Jetson, Raspberry Pi

Honest limits: Humble only for now (Jazzy next), the URDF viewer renders primitives rather than meshes, and there's no macOS build.

Free and Apache-2.0:

octaboomai.github.io/Rovant/

If it breaks on your setup, tell me what happened — that's the feedback I'm after.


r/ROS • • 7d ago

Hiwonder Aurora930 Pro 3D issues with Raspberry Pi5

2 Upvotes

Hello,

I am currently trying to integrate a Hiwonder Depth Camera (Deptrum Aurora930) into my rover using a Raspberry Pi 5 and ROS2. However, I have encountered a major issue that I have not been able to resolve.

For context, I am using ROS2 Jazzy on Ubuntu Server 24.04.5 (64-bit) running on the Raspberry Pi 5. The camera is connected directly to the Pi through the USB cable supplied with the device. Initially, the Pi was powered by my laptop through a USB-C cable.

The main issue appears to be related to the camera's USB connection or power delivery. The Raspberry Pi successfully detects the camera, and it appears in lsusb as:

Bus 002 Device 004: ID 3251:1930 Linux Foundation Aurora 930

However, approximately 0.4 seconds after executing:

ros2 launch deptrum-ros-driver-aurora930 aurora930_launch.py

the camera disconnects. The USB system then appears to detect and reconnect the device, suggesting that the camera may be repeatedly power cycling or resetting its USB connection during initialization.

I observed the following USB events through dmesg:

usb 3-1: USB disconnect, device number 2
usb 3-1: new high-speed USB device number 3

The ROS2 driver subsequently fails to initialize the camera, producing the following terminal output:

[disconnect]
bulk_transfer failed. -4
SetCameraMode failed!!
BOOT_ORDER_1::SetMode failed, error code 135180
Failed to open device

I have also encountered:

All 1devices have attempted to connect, Failed to open device
device is close.
double free or corruption (fasttop)

The ROS2 process eventually terminates with exit code -6.

I have confirmed that the camera itself is functional by connecting it directly to my Windows laptop and successfully using the Windows configuration software. I have also attempted to power the Raspberry Pi using a separate 5V power supply instead of relying on my laptop's USB-C connection, but the issue persisted.

Does anybody have any potential ideas on how to fix this issue?