SShortSingh.
Back to feed

Developer Tests SpaceMouse as Teleoperation Device for Robot Imitation Learning

0
·1 views

A developer working on Vision-Language-Action (VLA) robotics has set up and tested a 3Dconnexion SpaceMouse as a teleoperation input device for the SO-101 robot arm. The move comes as part of an effort to collect demonstration data for imitation learning, a task deemed impractical with raw Python command-line control. Rather than using a Leader Arm — the more conventional approach — the developer opted for the SpaceMouse first, citing concerns about torque and mechanical resistance during Leader Arm operation. The device was connected via USB and configured on Linux by installing required HID libraries, a dedicated pip package, and setting up udev permission rules. Six motion axes — forward/back, left/right, up/down, pitch, roll, and yaw — were each tested and logged separately to verify accurate input capture.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

How DNS Actually Works on Ubuntu 26.04: A Deep Dive into Two Layers

A developer conducted a detailed investigation into DNS resolution on a fresh Ubuntu 26.04 server, tracing a name lookup from application to answering server. DNS on Ubuntu operates in two distinct layers: the C library's name lookup, which checks /etc/hosts first via /etc/nsswitch.conf, and the systemd-resolved stub resolver listening on 127.0.0.53. Systemd-resolved acts as a local caching resolver that forwards queries to upstream DNS servers learned per network interface from DHCP or Netplan configuration. Tools like dig and nslookup bypass the first layer entirely, which explains why they can return different results than ping or curl. Key practical takeaways include using resolvectl to inspect upstream servers and query results, editing Netplan rather than resolv.conf for upstream changes, and understanding split DNS for per-domain routing used by tools like Tailscale's MagicDNS.

0
ProgrammingDEV Community ·

Nginx add_header Duplicates Headers Instead of Overriding, Silently Breaking Security

A developer discovered a critical misconfiguration after deploying a baseline of security headers across nginx virtual hosts intended to protect apps that set none of their own. Within an hour, production responses showed duplicate and contradictory headers — for example, both X-Frame-Options: DENY from the app and SAMEORIGIN from the baseline appearing simultaneously. Browsers receiving conflicting directives for the same header treat it as absent entirely, meaning the stricter app-level setting was effectively nullified. The root cause was a misunderstanding of nginx's add_header directive, which always appends rather than replaces existing headers and cannot conditionally check upstream responses. The developer resolved the issue using nginx map directives on upstream header variables, since add_header offers no built-in conditional or override logic.

0
ProgrammingDEV Community ·

Developer Finds Four Silent Bugs Sharing One Root Cause: Unverified Assertions

A software developer documented a day of debugging across four repositories on September 2, 2026, uncovering 22 commits that all traced back to the same underlying flaw: systems confidently reporting states that were never actually verified. Among the issues found were a compliance control marked green based on a redaction trait that was applied to no model, a kitchen display hiding paid orders, a dashboard showing a high success rate alongside visible failures, and a service worker serving outdated CSS. Most critically, password hashes were being written into an immutable audit log retained for a year, with no way to retract them — prompting their outright exclusion rather than masking. The developer concluded that generated evidence must be tested for reachability, and that silent wrong values are far more dangerous than thrown errors because they provide no signal that anything is wrong.

Developer Tests SpaceMouse as Teleoperation Device for Robot Imitation Learning · ShortSingh