Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Building Synthetic Training Data Pipelines for Robotics

Real robot data collection is slow and expensive — every demonstration costs operator time and robot hours. Synthetic data pipelines let you generate large volumes of labeled training data programmatically, using simulation, domain randomization, and procedural task generation. This final tutorial in the series covers how to build one. Why Synthetic Data, and Where It Fits Synthetic data isn't a…

Real robot data collection is slow and costly, requiring operator time and robot hours. Synthetic data pipelines enable the generation of large volumes of labeled training data programmatically, leveraging simulation, domain randomization, and procedural task generation. This final tutorial in the series details the process of constructing such a pipeline.

Synthetic data does not replace real demonstrations; instead, it acts as a force multiplier. A typical modern pipeline combines a smaller number of real demonstrations, gathered through teleoperation and capture pipelines, with a large amount of synthetic/simulated data for coverage and scale. Domain randomization further enhances the usefulness of synthetic data for real-world transfer.

The pipeline begins with procedural scene generation, where scenes are not hand-authored but generated automatically. The system uses object counts, positions, and combinations to create varied scenes. In Python, the `numpy` and `random` libraries are employed to define an object library and generate scene configurations. The `generate_scene_config()` function determines the number of objects and their positions within workspace bounds, while random choices from the object library assign types, colors, and scales to each object. This function returns a dictionary containing the configured objects.

The second step involves building scenes from these configurations and translating them into the simulator's scene format. For MuJoCo, this entails generating MJCF XML dynamically. The `build_mjcf_scene()` function reads a base scene XML file, creates object XML blocks based on the scene configuration, and writes the combined XML to an output file. This allows the simulator to render the generated scenes accurately.

The third step introduces labeled trajectories generated through a scripted policy for tasks like pick-and-place, pushing, and stacking. Instead of relying on a human operator to create expert trajectories, a scripted controller automates this process, significantly increasing scalability. The `scripted_pick_and_place()` function demonstrates this approach, resetting the environment, computing waypoints for object manipulation, and returning a trajectory list. This script can then be used to generate the necessary labeled data for training robotics models.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

@MockBean Is Gone: Fixing Your Tests After Upgrading to Spring Boot 4

You bump the Spring Boot version to 4, run the build, and the main code compiles fine. Then the tests fail with a wall of errors like these: cannot find symbol symbol: class MockBean package…

  • Update test dependencies: Add separate starters for each technology in Spring Boot 4.
  • Replace @MockBean with @MockitoBean: Move @MockBean to Spring Framework and stub mock objects.
  • Adjust test imports: Move WebMvcTest annotation to new package and change test runner for JUnit 5.

I Fixed My Slow Laravel App With 4 Eloquent Changes — Here's What Actually Helped

My Laravel app worked fine for months. Then the users table passed 50,000 rows, the posts page started taking four seconds to load, and a nightly export job started dying with "Allowed memory size…

  • Eager loading replaced multiple queries with two, improving app performance
  • Replaced count() with exists() to reduce database workload
  • Chunked data to prevent memory exhaustion when processing large records

Builds are the new bottleneck

The world is going to need more compute. Agents produce more software, and that software needs to be built and tested. When we started building infrastructure at Tuist , we expected that demand to…

  • Tuist developed Struo to address repetitive dependency compilation.
  • Struo connects existing projects to new caching and remote execution infrastructure.
  • Simple incremental adoption allows teams to optimize compute usage without workflow changes.

Build a Time-Zone-Safe Itinerary Validator in Python

A travel itinerary looks like a sequence of cards: a museum at 10:00, lunch at 12:30, and a train later in the day. Underneath those cards, however, is a scheduling problem.

  • Validator checks itinerary facts, reports conflicts
  • Requires ISO 8601 timestamps with explicit offsets
  • Catches time zone mistakes and transfer buffer issues

More from Thursday 26 November →