RobotLocomotion / drake-external-examples

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

Where are the executables using drake_cmake_external?? #273

Closed xiao-wang007 closed 1 year ago

xiao-wang007 commented 1 year ago

Hi This may be a silly question, but I cannot find the executables after build in cmake. In addition, where is the executable of the simple_continuouse_time_system.cc?? If using drake as external, do I just need to put everything under app/

Cheers

jwnimmer-tri commented 1 year ago

The README says to build it like this:

To build all apps using CMake and Make:

mkdir build
cd build
cmake ..
make

Assuming you've done that, the binary is at ./drake_external_examples/apps/simple_continuous_time_system (in other words, drake-external-examples/drake_cmake_external/build/drake_external_examples/apps/simple_continuous_time_system).

If using drake as external, do I just need to put everything under app/?

No. You can use any directory names you want.

xiao-wang007 commented 1 year ago

Great, thanks!