-
Notifications
You must be signed in to change notification settings - Fork 1
laas_package_from_source
Avadesh Meduri edited this page Nov 10, 2023
·
5 revisions
NOTE : This option should only be used when absolutely necessary. Prefer to install with robotPkg or pip .
Go to your workspace.
# rename your workspace folder
mv workspace workspace_cp
# clone the LAAS repositories in workspace_laas/
treep --clone ALL_LAAS
mv workspace workspace_laas
# source only ros
source /opt/ros/dashing/setup.bash
# build
cd workspace_laas
colcon build --merge-install --cmake-args -DINSTALL_DOCUMENTATION=OFF -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=`which python`
cd -
# mv back your own workspace
mv workspace_cp workspace
# source the laas worskpace
source workspace_laas/install/setup.bash
# build your workspace
# fix the installation
cd workspace_laas/install/lib/python2.7/dist-packages/dynamic_graph/sot
cp core/admittance_control_op_point/__init__.py tools
cd -
The following error might be what you see:
Traceback (most recent call last):
File "basic.py", line 1, in <module>
from dynamic_graph_manager import dg_tools
File "/.../workspace/devel/lib/python3/dist-package/dyanmic_graph_manager/dg_tools/__init__.py", line 23, in <modeule>
from . import wrap
ImportError /.../workspace/devel/.private/dg_tools/lib/plugin/dg_tools.so: undefined symbol: _ZNK5Eigen14QuadProgCommon6resultEv
Assuming you install eigen-quadprog from the robotpkg,
at the point of writing (28 August 2020) the .pc file for eigen-quadprog is broken..
Therefore in /opt/openrobots/lib/pkgconfig/eigen-quadprog.pc change:
Libs: -Wl,-rpath,${libdir} -L${libdir}
into
Libs: -Wl,-rpath,${libdir} -L${libdir} -leigen-quadprog
cd workspace_laas/src/dynamic-graph
wget https://raw.githubusercontent.com/machines-in-motion/machines-in-motion.github.io/master/small_patches/trace.patch
git apply trace.patch
The error is linked to the master of sot-dynamic-pinocchio. The issue has been merged to the devel branch.
cd workspace_laas/src/sot-dynamic-pinocchio/
git checkout devel
git pull origin devel
All our open source software are licensed against the BSD 3-clause license.
Copyright 2016-2020, New York University and Max Planck Gesellschaft.
- Home Page
- Contribute to the wiki
- Logo
- Introduction
- Our Codebase
- Build Our Codebase
- Build tools introduction
- Build chain tutorials
- Dependencies
- Building our software stack
- Troubleshooting
- Robot Tutorials
- Programming
- ODRI Robots
- MicroDrivers
- Solo12
- Bolt
- NYUFinger
- Kuka
- Debugging