RobotLocomotion / drake-external-examples

Examples of how to use Drake in your own project.
https://drake.mit.edu/
MIT No Attribution
107 stars 50 forks source link

Add file_sync_test and start to re-home common files #307

Closed jwnimmer-tri closed 2 months ago

jwnimmer-tri commented 2 months ago

The idea here is that users should always be able to copy just one subdirectory and end up with everything they need. To the extent that we have important files outside of the drake_... subdirectories, the examples will be broken.

Of course that often will mean duplicating content across the sub-directories, which leads to a maintenance hazard. We can solve that by using this new test program to cross-check that the copies are in sync.

This just moves one file as a starter pack, to bootstrap the idea. Over time, we should make further adjustments and copies so that everything inside the drake_... subdirs is 100% standalone.

For now, maintainers will need to run this by hand. Soon we plan to have #308 to add it to CI.


This change is Reviewable

jwnimmer-tri commented 2 months ago

+@BetsyMcPhail for feature review or delegation, please.