tinyslam 是一种非常简单的建图方案。200行c语言实现,这里在Ubuntu上实现编译。
git clone https://github.com/OpenSLAM-org/openslam_tinyslam.git
修改如下 configure.ac
AC_INIT([CoreSLAM],[0.0.1],[Bruno.Steux@ensmp.fr])
AC_CONFIG_SRCDIR([CoreSLAM.c])
AM_INIT_AUTOMAKE
AC_CONFIG_MACRO_DIR([m4])
dnl Checking compilation tools
AC_LANG_C
AC_PROG_CC
./bootstrap
提示
Makefile.am: error: required file ‘./NEWS’ not found
Makefile.am: error: required file ‘./README’ not found
Makefile.am: error: required file ‘./AUTHORS’ not found
Makefile.am: error: required file ‘./ChangeLog’ not found
更改
mv news NEWS
mv readme REEADME
mv authors AUTHORS
vi ChangeLog
继续 ./bootstrap
然后
./configure
出现Makefile 后
make
sudo make install