0

After using "Source installation on macOS" to install drake, "Bazel built//..." and " Bazel test//..." are done. The question is: how I run an example , for examples/acrobot/run_swing_up ? Should I input a command like: Bazel-bin/examples/acrobot/run_swing_up ?

Wc Chang
  • 97
  • 6

1 Answers1

0

Yup, you can either run it via bazel run or ./bazel-bin (the latter being better for running multiple processes, having stdin access, etc.):

https://drake.mit.edu/bazel.html

Some of the examples also have brief READMEs or docs on how to run it; e.g.:

Eric Cousineau
  • 1,944
  • 14
  • 23