r/ROS • u/Technical-Force-6266 • 2h ago
r/ROS • u/BoringRock9997 • 9h ago
[Discussion] State monitoring vs. transition observability: why ID-filtered action ACKs and health bits still cause double-dispatch collisions
Most multi-robot orchestration stacks treat post-timeout recovery as a static state monitoring problem rather than a transition observability problem: if the robot health bit is green, the cancel-ACK came back, and the mission ID matches, the fleet manager assumes the state is clean and authorizes a retry.
In multi-fleet transfer simulations, evaluating those signals as independent snapshots broke down because identical timeout + late-ACK event histories actually hid three distinct physical realities:
- The trolley is already at the station (the transition needs closure, not a retry).
- The trolley is at pickup with verified custody/fence proof that the first robot cannot move (safe for a single replacement).
- The trolley is at pickup, or telemetry is stale, and the old motion command still has residual authority (dispatching a second robot guarantees a double-attempt collision).
Standard health-bit and ROS action-ACK baselines missed this because they don't verify joint executability (physical custody + station acceptance + remaining action window) or evidence freshness before authorizing the next state transition. Worse, when telemetry goes stale, most controllers default to either a false-green retry or a false fault instead of withholding the transition as unidentifiable.
I tested a lightweight shadow-mode observer sitting purely at the orchestration dispatch gate (without touching low-level controllers or replacing the fleet manager) to gate transitions on verified custody proof and remaining action windows. Across 300 synthetic handoff runs, this prevented all 60 double-move conflicts and recovered 48 deliveries on time (with up to 939 ms margin before line starvation).
For developers building mixed-vendor fleet adapters or Nav2-based dispatchers: how are you gating retries when telemetry freshness drops right around a timeout? Are you enforcing transition-level custody and window checks at the orchestration layer, or relying on local station interlocks?
r/ROS • u/OpenRobotics • 21h ago
News ROS News for the Week November 30th, 2026
discourse.openrobotics.orgr/ROS • u/Onur456468 • 1d ago
Question How do you test edge cases before putting code on real hardware — and what annoys you most in simulators?
Hey guys,
I'm trying to understand how robotics teams actually handle edge cases and failure modes before running controllers or policies on real hardware. I'm not pitching a product or trying to sell anything — just looking for real engineering workflows and pain points.
If you're willing to share a quick answer to any of these:
- Edge cases before hardware: How do you currently test edge cases (slippery surfaces, sensor noise, latency, actuator limits, unexpected pushes, etc.) before real-world runs? Is it mostly custom scripts on top of a simulator, hardware-in-the-loop, or straight to cautious hardware tests?
- What annoys you in simulators: What part of your current simulation/testing setup wastes the most time or gives you misleading results (sim-to-real gap, flaky/non-reproducible runs, slow resets, messy configs, hard to tell why something failed)?
- Giving access to code/models for a test: Under what conditions would you actually let an outside tool or script run against your controller/policy or robot model (e.g., local-only / no cloud upload, clear NDA, open/non-sensitive research model, or if it gives a concrete failure replay you couldn't easily get yourself)?
Even a two-line reply from your real experience helps a lot. Thanks!
r/ROS • u/SP_Andromeda • 1d ago
ROS 2 architecture for a vision-guided sorter on a cobot (wrist camera + edge board). Looking for feedback on two design choices
I'm building a desk sorter for the RDK Challenge (D-Robotics): a Fairino FR5 cobot with an RDK X5 board and an IMX708 camera on the wrist. It picks household objects (cups, cutlery, scissors...) off a table and drops them into bins by class. All perception and decisions run on the board. The FR5 controller does motion planning and collision detection, and I talk to it over Ethernet through Fairino's Python SDK.
Node graph attached. Rough pipeline:
- `imx708_cam` → `/image_yolo` (640x640 NV12, 56 Hz)
- `segmenter` (YOLOv8n-seg on the board's NPU) → `tracker` → `localizer` (pixel → table plane via hand-eye calibration + known table height)
- `sorter` (state machine) → `safety_supervisor` → `fr5_bridge` (SDK wrapper)
Stage 1 numbers: plain YOLOv8n detection runs in 6–7 ms per frame, keeps up with all 56 camera fps, and takes 18–30 ms from frame to result. Hand-eye calibration is done (eye-in-hand, checkerboard on the table, OpenCV `calibrateHandEye`).
Two choices I'd like opinions on:
**1. No time sync between camera and arm.** Instead of interpolating the arm pose to each frame's timestamp, the localizer only uses frames taken while the arm has been still for at least 100 ms (`moving` flag from `/fr5/state`). It costs a short pause at each survey/close-up pose, but removes a whole class of sync errors. Is that a reasonable trade-off at ~20 s per object, or would you sync properly from the start?
**2. The sorter never talks to the arm directly.** Every motion goes through the supervisor as an action (`/safety/move_to_pose` → `/fr5/move_to_pose`). It checks a workspace box, a minimum height above the table and a 250 mm/s speed limit, and it stops the arm if the heartbeat is lost. The controller's own collision detection and the e-stop stay independent. Is a separate supervisor node overkill, or is there a cleaner pattern you'd use, e.g. a lifecycle node or ros2_control safety limits?

Any other red flags in the graph are welcome too. Full architecture doc with module and failure-mode tables: https://github.com/Spnh2000/rdk-x5-dreamkeeper/blob/main/docs/stage2/ARCHITECTURE.md
Challenge, if you're curious: https://github.com/D-Robotics/Robotics-Dream-Keeper-Challenge-Winter
r/ROS • u/Fabulous_Standard242 • 1d ago
I built a ROS 2 tool that removes people/moving objects from LiDAR SLAM maps (works with FAST-LIO2)
Hi r/ROS! I'm a robotics undergrad and I got tired of my FAST-LIO2 maps being full of "ghost" trails from people walking around the lab, which then showed up as obstacles in my Nav2 costmap. So I built lidar_map_cleaner.
What it does:
- dynamic_filter (online node): splits each scan into /cloud_static and /cloud_dynamic
(~7–14 ms/scan on a VLP-16)
- remove_dynamic (offline): visibility-based removal on a saved keyframe map
- build_layers: regenerates OctoMap, Nav2 grid, 2.5D elevation map from the cleaned map
- merge_maps: aligns two mapping sessions of the same place (median error ~1.9 cm in my tests)
It reads FASTLIO2_ROS2 PGO output directly (poses.txt + patches/*.pcd).
Honest limitations: only tested indoors with a VLP-16, Python (fine for 16–32 beams
u/10Hz), no public benchmark yet — DynamicMap benchmark eval is on the roadmap.
Repo (MIT): https://github.com/Hwan-32/lidar_map_cleaner
I'd really appreciate feedback, especially from anyone using LIO-SAM / KISS-ICP or
Ouster sensors — what export format would you want supported?

r/ROS • u/Onur456468 • 1d ago
I'm building a robotics testing platform — would this be useful to you?
Hi everyone!
I'm an indie founder currently building a startup called Robo AI, and I'm trying to understand whether I'm solving a real problem for robotics engineers.
The idea is to build a platform that automatically stress-tests robot controllers in physics simulations before they're deployed on real hardware.
Here's how it would work:
- Upload your robot model and controller code.
- Run hundreds or thousands of simulation episodes with different conditions.
- Automatically test different physical parameters, including friction, mass, sensor noise, actuator limits, delays, and environmental conditions.
- Detect failures such as falls, instability, collisions, and performance degradation.
- Reproduce specific failures and compare different versions of your controller through regression testing.
The goal is to help robotics teams discover weaknesses in their controllers before testing on expensive physical robots.
We're currently starting with MuJoCo, with the long-term goal of supporting more robotics simulators.
I'd really appreciate your honest feedback.
I'd like to ask a few questions:
- How do you currently test your robot controllers before deploying them on real hardware?
- What is the biggest challenge you face when testing robots in simulation?
- Would you use a platform like this in your workflow?
- What features would make it genuinely valuable rather than just another simulation tool?
I'm not here to sell anything. I'm trying to validate the problem, understand existing workflows, and build something that robotics engineers actually need.
Thanks for your time!
r/ROS • u/No_Inflation4089 • 2d ago
Giving 1 roscon india pass
I have 1 ROSCon India 2026 pass available for sale as i am unable to attend due to college lab exams.
If anyone is interested in attending, please dm me.
r/ROS • u/Forsaken_Shop1038 • 2d ago
What would you want from depthai-ros on a new RVC4 camera with on-device ToF + stereo fusion?
I work at Luxonis, so I'll be upfront about that.
We just launched OAK 4 Lite, which puts the OAK 4 platform into the same form factor as OAK-D S2 PoE. Neural stereo, detection, segmentation and tracking run on the camera. The ToF model adds an 804x672 ToF sensor at 30 FPS (0.2-6 m Narrow, 0.5-5 m Wide) and fuses it with neural stereo on the device.
The honest limits: ToF is the better of the two up close and on low-texture surfaces (plain boxes, white walls). Neural stereo holds up better at longer range and on reflective surfaces. Fusion accuracy is 1% up to 6.5 m, under 3% at 6.5-8 m, and under 6% at 8-12 m. PoE units are expected in late December, USB in late January, and the ToF models not until the end of May (Narrow) and the end of June (Wide).
I don't want to over-claim the ROS support. The official driver is depthai-ros, and there is a v3 driver for RVC4 (Humble/Jazzy use the _v3 package names; Kilted and newer do not).
For people already running depthai-ros on OAK 4 or older OAKs: would you rather get stereo and ToF as separate topics, a single fused point cloud, or both? And if you've used the v3 driver already, what should we not break?
I'll put links in a comment so this doesn't read as a link dump.
r/ROS • u/Euphoric-Life-848 • 2d ago
spectra-ros: a GPU plotting app for ROS 2 topics and bags (open source, preview, looking for feedback)
I'm building Spectra, an open source plotting library that draws everything on the GPU with Vulkan. It has a ROS 2 app called spectra-ros, and I'd like feedback from people who look at topics and bags every day.
What it does today:
- Topic monitor with live Hz and bandwidth. Drag any numeric field onto a plot and it starts scrolling.
- Works with any message type without code generation. Fields like pose.position.x are found at runtime through the introspection typesupport.
- Bag playback and recording with a timeline, plus a TF tree viewer and a node graph.
- MCAP files open in the main Spectra app by drag and drop, even on a machine with no ROS installed.
- Fast with a lot of data: redrawing a 10 million point line takes about 1.2 ms on an RTX 5080.
To be clear about where it stands: this is a preview and it is 0.x. PlotJuggler is the mature tool for this job and I'm not claiming to replace it. Spectra is a general plotting library first (C++, Python, Rust), and the ROS app is one part of it. It builds from source on Humble and later with -DSPECTRA_USE_ROS2=ON, and it needs a Vulkan capable GPU.
What I'd like to know: what do you miss most in your current plotting workflow, and what would make you try a second tool?
Repo: https://github.com/danlil240/Spectra
ROS 2 docs: https://danlil240.github.io/Spectra/ros2-adapter.html
AI disclosure: much of the code was written with AI coding assistants under my direction and review, and AI helped me draft this post.
We built a zero-heap #![no_std] Rust Mini-OS safety kernel for VLA / RL robotics and autonomous agents
If you are running Vision-Language-Action models (OpenVLA, pi0, GR00T) or RL policies on real robots or in sim-to-real pipelines, a single bad action chunk, stale sensor packet, or crashed Python process can slam an arm or drop a humanoid.
We just shipped a Mini-OS stack inside Aetheris Microbrains that turns a stateless pre-flight filter into a deterministic, real-time safety kernel and supervisor sitting between learned policies and physical actuators.
What it gives robotics teams:
- Zero-heap #![no_std] Real-Time Core (aetheris-rt-core)
- 64-DoF / 128-barrier Dykstra CBF-QP safety filter, pd_cbf_clamp, Simplex braking fallback, and watchdog authority decay.
- Zero-heap forward kinematics and capsule self-collision clearance (up to 64 joints), 3D GJK/ESDF obstacle gradients, and Seqlock shared-memory ring buffers.
- Zero-heap SHA-256 / HMAC capability verification, IFC taint bitmasks, and quota accumulators in the same formally audited #![no_std] crate (0 std:: leaks, Kani proof harnesses).
- Out-of-Process Safety Supervisor (aetheris-rt-supervisor)
- Monitors the high-level Python / VLA loop over Seqlock shared memory.
- If the policy stalls, crashes, or sends torn frames, the Rust supervisor triggers a deterministic damping stop and can cut off Unitree LowCmd packets directly over UDP with valid IEEE-754 unitree_crc32 checksums.
- Native Hardware & Middleware Support
- Unitree ecosystem: Go2, B2, Z1, H1, H1-2, G1 (23/29-DoF), and Dex3-1 with official asymmetric URDF joint limits, homing ramp, thermal derating, and tilt/watchdog damping.
- Pure-stdlib adapters for ROS 2, MoveIt 2, LeRobot, and MAVLink, plus C99/C++ headers (aetheris_rt_gate.h) and a 90-120 Hz WebXR teleop shield via WASM.
- Full Mini-OS Control Plane (Mini-OS 1-10)
- Persistent hash-chained WAL microkernel (aetheris-kernel) that verifies its SHA-256 chain fail-closed on restart and self-heals truncated crash tails.
- OS sandboxing (Linux Landlock, seccomp cBPF, user/net namespaces, Windows Job Objects with memory and CPU caps) plus active child process preemption on quota exhaustion.
- Hierarchical swarm budgets, cascading Macaroon capability revocation, taint-propagating IPC, kernel-space secret/egress broker, and a transactional copy-on-write/worktree WorkspaceVFS.
Repo: https://github.com/drtikov/microbrainsforagents
Happy to answer questions about the CBF-QP math, Seqlock failover, Unitree bridge, or integrating it in front of ROS 2 / Isaac / MuJoCo pipelines.
r/ROS • u/Reasonable_Teach4344 • 2d ago
Project From camera to robot: ROS 2 with visual blocks
When teaching robotics, I want students to understand how a sensor message becomes a decision and then a robot action—even while they are still learning to code.
I teach AI and IoT to students with different backgrounds, and I help develop SHAPE, a visual programming environment. This example connects camera-based pointing detection to a robotic arm using ROS 2.
Here’s how it works:
- A vision node combines MediaPipe hand tracking with ArUco marker detection.
- It publishes the selected marker on `/camera_tracking/pointing`.
- SHAPE subscribes to the topic and extracts the marker ID.
- Visual conditions and a `holding` variable select the arm’s pick or drop routine.
The interesting part for teaching is the application logic: students can inspect the message, change the conditions and follow the state transitions in visual blocks.
The vision node handles detection; SHAPE handles the decision logic. Marker IDs select predefined movement routines, whose coordinates and commands must be adapted to the actual robot and workspace.
**Architecture and visual workflow:**
https://thetactigon.com/docs/ros-2-camera-tracking-robotic-arm/
**SHAPE repository:**
https://github.com/TactigonTeam/Tactigon-Shape
For those teaching ROS 2: which is harder for your students—understanding topics and messages, or turning incoming messages into application logic?
r/ROS • u/Chemical-Hunter-5479 • 2d ago
Discussion Making good progress on the "stream-anything-over-PoE-as-ROS-topics" project.
It now supports RealSense stereo cameras, IMUs, RGB cameras, YOLO, and DepthAnything over CycloneDDS and Zenoh.
It also works over WiFI and Ethernet-Over-USB...
r/ROS • u/bobrossjr84 • 2d ago
Claude created an interactive GUI and build process for my CAD model for my recent Droid
Open-source pre-flight safety layer for VLA/LLM robot control: today's update adds Unitree Go/HG supervisor, braking-tube and self-collision checks, MCAP logging, and a whole-body pipeline
UPDATED
I maintain Microbrains, an Apache-2.0 deterministic safety layer that sits between a VLA/LLM planner and your robot controller. The core is pure Python stdlib, with an optional Rust/WASM kernel. Today I shipped five robotics upgrades (R1–R5).
What it is and isn't: it checks plans for state freshness, constraint slack and planner confidence before they reach the controller. It does not replace motor limits, firmware timeouts, a watchdog or the hardware E-stop. A plan it admits is consistent with the modelled state, not proven safe.
R1: Unitree supervisor, Go2/B2 and G1/H1
- The out-of-process Rust supervisor now has
--idl-family go|hg. - On a heartbeat timeout it sends a CRC32-checked damping-stop
LowCmdin the right format:unitree_gofor Go2/B2, orunitree_hgwithmode_pr/mode_machinefor G1/H1. - It can send a UDP burst and optionally require an ack.
- It runs outside the Python process, so a GIL stall or a killed controller can't block it.
- It also reads the 1 kHz shared-memory telemetry bus (
ASMB) using a Seqlock decoder.
R2: more geometry checks
- Braking-tube check: rejects a plan if
distance_to_obstacle − v²/(2·a_max)is below your clearance. Fast approaches that can't stop in time get rejected before execution. - Self-collision clearance: capsule distance over non-adjacent links, plus floor clearance.
- Inter-step velocity check: flags consecutive joint targets whose implied velocity exceeds the limit.
- The FK/capsule math has both a Rust fast path and a stdlib fallback.
R3: VLA action chunks
- The
LeRobotPolicyWrapperdrops chunk steps that went stale during inference (inference_latency_s/control_dt_s). - It limits the jump from the previous action (
max_step_delta). - Mid-chunk conformal drift detection triggers a
hold_action. - The flight recorder is hash-chained and now exports standard binary MCAP, written in pure stdlib, so you can open it in open it in Foxglove .
R4: WholeBodySafetyPipeline presets
- Presets:
for_quadruped,for_humanoid,for_bimanual_arm. One
step()call composes the following (the first four need NumPy):- online payload inertia identification
- ZMP/DCM support-polygon CBF
- bimanual wrench CBF
- energy-tank passivity filter
- the freshness and constraint admission layer
R5: benchmark
examples/15_mujoco_unitree_benchmark.py --morphology allruns Go2 fault scenarios in MuJoCo, a G1 torso-push ZMP recovery, and a 3-DoF arm braking-tube test. The Go2 scenarios are stale LowState, push impulse, joint spike and torque drop.- These are simulation results with simplified models and synthetic faults. They are not hardware validation. The next step is real Unitree LowState with live VLA plans.
I'd especially like feedback on the constraint formulations, on what you'd want covered beyond Unitree, and on real-hardware test setups.
r/ROS • u/Similar_Hotel2724 • 3d ago
We're opening up real industrial robot cells for 48 hours: cable insertion, assembly and inspection tasks, each with a dataset and a baseline to beat (Zurich, 11–13 Dec, free)
Disclosure: I work at Forgis in Zurich, and we're organising this.
The cells run on our own stack, and ROS people are exactly who we want: integration is half the work on real hardware. From Fri 11 to Sun 13 Dec we're putting builders on real industrial cells at DARE Campus, Schlieren (10 min from Zurich HB) to work on contact-rich tasks: cable insertion, assembly, inspection.
What you get:
- a dataset collected on each task and a baseline policy to beat
- the Forgis codebase, with the engineers who wrote it on the floor with you
- every run recorded with force/torque ground truth; the runs become an open dataset and benchmark, released with a paper that credits every participant
- a 10K prize pool
Free, food covered (travel's on you), 18+. Apply solo or as a team of up to five; we complete the teams. Applications close Sun 6 Dec, rolling acceptance.
Details and the application: https://luma.com/oj617tvc?utm_source=reddit-ros&utm_campaign=hk-community
Happy to answer anything about the cells, the tasks or the data format below.
r/ROS • u/PoG_shmerb27 • 3d ago
How to get IMU drift and wheel slip physics in Gazebo Fortress?
I'm working on a mobile robotics project and would like to test a lot of things in simulation in Gazebo. I'm finding it hard to test localization because I barely get any IMU drift or wheel slip, so the odometry is basically perfect. Are there any workarounds for this or better physics simulators I can use to test?
r/ROS • u/mohamedeyaad • 3d ago
Project I ported our 2023 smart-insole gait analysis project from ROS 1 to ROS 2 Jazzy: driver, gait events, Tkinter GUI, and a bag you can replay
Back in 2023 we built a smart insole for a university course: an ESP8266 streaming 5 FSRs + 2 MPU6050s over TCP to ROS 1 Noetic, with a Tkinter GUI showing a live plantar-pressure heat map and gait phases.
Noetic is end-of-life, so I rebuilt the software on ROS 2 Jazzy:
- insole_driver: TCP client, publishes FSR readings and IMU angles (host/port as params, reconnects on its own)
- gait_analyzer: centre of pressure, gait phase, heel strike / toe off, stride time, cadence, stance %
- gui: the old Tkinter GUI, now fed through a thread-safe queue (the ROS 1 version touched Tk from callback threads...)
- a recorded walk as an MCAP bag, so you can run the whole thing without hardware:ros2 run step_scope_ros gait_analyzer ros2 bag play src/Step-Scope/step_scope_ros/data/walk_2023_p01.mcap --loop ros2 run step_scope_ros gui
Things I learned along the way: the old TCP reader dropped readings because it grabbed fixed 1024-byte chunks at 10 Hz, and the heat map was converting colours back into values in a way that was wrong above ~255.
It's a research/education prototype, not a medical device, and the gait-phase logic is a simple CoP rule that hasn't been validated against force plates.
Repo (MIT): https://github.com/mohamedeyaad/Step-Scope
Feedback welcome, especially on the node/topic design. Would you split it differently, or use custom messages instead of Float32MultiArray?
r/ROS • u/OpenRobotics • 4d ago
News ROS 2 Kilted Kaiju is now End-Of-Life -- All Swag 30% Off
r/ROS • u/aebatirel • 4d ago
I make a weekly robot news video. This week: chat models went 0 for 72 on real robot arms, and a humanoid did 15 trampoline jumps in a row
youtube.comr/ROS • u/tryhardrun • 4d ago
Project Is My ROS 2 Autonomous Navigation Workflow Correct? Can I Include This Project in My Portfolio?
Hi everyone,
I'm working on an autonomous mobile robot using ROS 2, and I would like to confirm whether my overall workflow and implementation are correct.
Here is what I have done so far:
Designed my robot in Fusion 360 and exported it as a URDF file.
Created a custom world in Gazebo Classic and spawned my robot in it.
Used SLAM Toolbox with ROS 2 Humble to map the environment.
Visualized the generated map in RViz2.
Saved the map and configured Nav2 for autonomous navigation.
Used the 2D Goal Pose tool in RViz2 to assign a goal position.
My robot is able to navigate towards the goal position autonomously.
My Setup Details:
ROS 2 Distribution: Humble
Simulation Environment: Gazebo Classic
SLAM: SLAM Toolbox
Sensors: LiDAR and Wheel Odometry
Drive Type: Differential Drive
Navigation Stack: Nav2
My Main Questions:
Is this overall workflow correct for implementing an autonomous mobile robot using ROS 2?
Since my robot is successfully navigating towards the goal position I provide through RViz2, can I consider my autonomous navigation implementation successful?
Is there anything important I should verify to ensure that the system is working correctly
Is this implementation good enough to include in my engineering portfolio or resume as an ROS 2 Autonomous Navigation project?
I can share a working video of it
I would appreciate your feedback and suggestions. I mainly want to confirm that my implementation is technically correct and that I can confidently present this project in my portfolio.
Thank you!
r/ROS • u/Chemical-Hunter-5479 • 4d ago
Discussion I spent Thanksgiving break turning ordinary sensors into intelligent ROS2 + PoE network nodes! 🤖
I built a small Power over Ethernet (PoE) powered ROS 2 streaming adapter that turns a USB-based RealSense D4XX stereo depth camera into a network-connected camera, similar to the RealSense D555.
Simply plug in an Ethernet cable, and the adapter powers the camera and automatically starts publishing color, depth, and IMU data (where supported) over ROS 2 topics. No dedicated host computer required!
But why stop at stereo cameras?
I also got the adapter working with two additional sensor configurations:
👀 Stereo Depth Adapter – RealSense color, depth, and IMU streaming.
🧭 IMU Adapter – Stand-alone network-connected inertial sensing.
🧠 AI RGB Adapter – RGB camera with onboard YOLO object detection and Depth Anything for monocular depth estimation.
One Ethernet cable. Power, data, edge processing, and native ROS 2 connectivity.
Imagine building robots and Physical AI applications simply by plugging intelligent sensors into a PoE network switch.
Which of these would you be most interested in learning more about?