You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# We can specify the install path with -DCMAKE_INSTALL_PREFIX
75
+
# To compile with Python wrapper support, ensure that GTSAM was built with Python
76
+
# and use -DGTDYNAMICS_BUILD_PYTHON=ON
75
77
$ cmake -DCMAKE_INSTALL_PREFIX=../install ..
76
78
$ make
77
79
$ sudo make install
80
+
# Run make python-install for installation with Python
78
81
```
79
82
80
83
## Running Tests
@@ -91,11 +94,22 @@ We recommend going through the examples to get a better understanding of how to
91
94
92
95
*NOTE* The examples are made to run within the GTDynamics source folder and are not standalone projects.
93
96
94
-
Run these examples with
95
-
```sh
96
-
$ make example_XXX.run
97
-
```
98
-
where `XXX` corresponds to a folder name in `examples`. For example, `make example_forward_dynamics.run`.
97
+
1. Build GTDynamics and navigate to the `build` folder:
98
+
```sh
99
+
$ cd build
100
+
```
101
+
102
+
2. Run the example using:
103
+
```sh
104
+
$ make example_XXX.run
105
+
```
106
+
where `XXX` corresponds to the example name. Example names align with folder names in`examples`, but some of them have added suffixes. For example, `make example_forward_dynamics.run` or `make example_spider_walking_forward`.
107
+
108
+
3. Run the simulation using:
109
+
```sh
110
+
$ make example_XXX.sim
111
+
```
112
+
where `XXX` corresponds to the folder name in`examples`. For example, `make example_quadruped_mp.sim` or `make example_spider_walking.sim`. Make sure you have `pybullet` and `matplotlib` installed in your Python environment.
0 commit comments