@@ -20,7 +20,7 @@ The **Simple-mpc** library provides:
2020``` bash
2121mkdir -p simple-mpc_ws/src
2222cd simple-mpc_ws/src
23- git clone
[email protected] :
edantec /simple-mpc.git --recursive
23+ git clone
[email protected] :
Simple-Robotics /simple-mpc.git --recursive
2424```
2525
26262 . Create conda environment.
@@ -37,11 +37,12 @@ mamba activate simple-mpc-devel
3737vcs import --recursive < simple-mpc/devel-git-deps.yaml
3838```
3939
40- 4 . Build all packages
40+ 4 . Build all dependencies of simple-mpc:
41+ (Due to a renaming issue, you may need to rename hpp-fcl into coal in the package.xml file of the Pinocchio library)
4142``` bash
4243export MAKEFLAGS=" -j4" # It is recommended to reduce the number of jobs as you ram might get full easily with the default number.
4344cd ..
44- colcon build --event-handlers console_direct+ --cmake-args \
45+ colcon build --event-handlers console_direct+ --packages-ignore simple-mpc -- cmake-args \
4546-DCMAKE_BUILD_TYPE=Release \
4647-DCMAKE_PREFIX_PATH=$CONDA_PREFIX \
4748-DPYTHON_EXECUTABLE=$( which python) \
@@ -52,11 +53,18 @@ colcon build --event-handlers console_direct+ --cmake-args \
5253-DBUILD_BENCHMARK=OFF \
5354-DBUILD_BENCHMARKS=OFF \
5455-DBUILD_WITH_COLLISION_SUPPORT=ON \
55- -DGENERATE_PYTHON_STUBS=OFF
56+ -DGENERATE_PYTHON_STUBS=OFF \
57+ -DCOAL_BACKWARD_COMPATIBILITY_WITH_HPP_FCL=ON
5658```
5759
58- 5 . Source the environment
59- (This step need to be repeated every time a new shell is opened. It can be put in your ~ /.bashrc)
60+ 5 . Source the environment and install simple-mpc:
61+ ``` bash
62+ source install/setup.bash
63+ colcon build --packages-select simple-mpc
64+ ```
65+
66+ 6 . Source the environment one more time
67+ (This step needs to be repeated every time a new shell is opened. It can be put in your ~ /.bashrc)
6068``` bash
6169mamba activate simple-mpc-devel # If not already done
6270source install/setup.bash
0 commit comments