Graph viewer for the srrg2_solver
. Still a work in progress :D
All our software is tested both with Ubuntu 18.04 and 16.04 (GCC 5 and 7), still the remaining of this guide refers to Ubuntu 18.04.
-
initialize the
srrg2
Catkin workspace following the guide here. As indicated in the aforementioned guide, we suggest to have a directory in which you clone all thesrrg2
repositories (referred here asSRRG2_SOURCE_ROOT
) and a directory that contains the Catkin workspace (referred here asSRRG2_WS_ROOT
) -
install all viewport dependencies following the guide here
-
clone all the
srrg2
packages
cd <SRRG2_SOURCE_ROOT>
git clone https://github.com/srrg-sapienza/srrg2_cmake_modules.git
git clone https://github.com/srrg-sapienza/srrg2_core.git
git clone https://github.com/srrg-sapienza/srrg2_qgl_viewport.git
git clone https://github.com/srrg-sapienza/srrg2_solver.git # includes this package
- link all the Catkin packages in the workspace
cd <SRRG2_WS_ROOT>/src
ln -s <SRRG2_SOURCE_ROOT>/srrg2_cmake_modules .
ln -s <SRRG2_SOURCE_ROOT>/srrg2_core/srrg2_core .
ln -s <SRRG2_SOURCE_ROOT>/srrg2_solver/srrg2_solver .
ln -s <SRRG2_SOURCE_ROOT>/srrg2_qgl_viewport/srrg2_qgl_viewport .
ln -s <SRRG2_SOURCE_ROOT>/srrg2_solver/srrg2_solver_gui .
- build using Catkin
cd <SRRG2_WS_ROOT>
catkin build srrg2_solver_gui
Only a super experimental executable is provided:
srrg_solver_gui_app
: loads a configuration and a graph from file and performs batch optimization after a bunch of seconds
source <SRRG2_WS_ROOT>/devel/setup.bash # if you use zsh you have to source the *.zsh file :)
rosrun srrg2_solver srrg_solver_gui_app -h