Skip to content

Commit

Permalink
Estimators: add filter example to connect with GTSAM
Browse files Browse the repository at this point in the history
  • Loading branch information
prashanthr05 committed Jul 29, 2021
1 parent b27b973 commit e03a5be
Show file tree
Hide file tree
Showing 10 changed files with 4,218 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
# GNU Lesser General Public License v2.1 or any later version.

add_subdirectory(Perception)
add_subdirectory(Estimators)

13 changes: 13 additions & 0 deletions src/Estimators/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright (C) 2021 Istituto Italiano di Tecnologia (IIT). All rights reserved.
# This software may be modified and distributed under the terms of the
# GNU Lesser General Public License v2.1 or any later version.

set(H_PREFIX include/KinDynVIO/Estimators)
add_kindyn_vio_library(
NAME Estimators
SOURCES src/KinDynVIO.cpp
PUBLIC_HEADERS ${H_PREFIX}/KinDynVIO.h
SUBDIRECTORIES tests
PUBLIC_LINK_LIBRARIES BipedalLocomotion::ParametersHandler BipedalLocomotion::TextLogging BipedalLocomotion::FloatingBaseEstimators gtsam
INSTALLATION_FOLDER Estimators)

14 changes: 14 additions & 0 deletions src/Estimators/include/KinDynVIO/Estimators/KinDynVIO.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* @file KinDynVIO.h
* @authors Prashanth Ramadoss
* @copyright 2021 Istituto Italiano di Tecnologia (IIT). This software may be modified and
* distributed under the terms of the GNU Lesser General Public License v2.1 or any later version.
*/

#ifndef KINDYNVIO_ESTIMATORS_KINDYNVIO_H
#define KINDYNVIO_ESTIMATORS_KINDYNVIO_H

// Currently only a placeholder file for creating the Estimators component
// source code to be added soon

#endif //KINDYNVIO_ESTIMATORS_KINDYNVIO_H
9 changes: 9 additions & 0 deletions src/Estimators/src/KinDynVIO.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/**
* @file KinDynVIO.cpp
* @authors Prashanth Ramadoss
* @copyright 2021 Istituto Italiano di Tecnologia (IIT). This software may be modified and
* distributed under the terms of the GNU Lesser General Public License v2.1 or any later version.
*/

// Currently only a placeholder file for creating the Estimators component
// source code to be added soon
19 changes: 19 additions & 0 deletions src/Estimators/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright (C) 2021 Istituto Italiano di Tecnologia (IIT). All rights reserved.
# This software may be modified and distributed under the terms of the
# GNU Lesser General Public License v2.1 or any later version.
# Copyright (C) 2020 Istituto Italiano di Tecnologia (IIT). All rights reserved.
# This software may be modified and distributed under the terms of the
# GNU Lesser General Public License v2.1 or any later version.

include_directories(${CMAKE_CURRENT_BINARY_DIR})
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/ResourceFolderPath.h.in" "${CMAKE_CURRENT_BINARY_DIR}/ResourceFolderPath.h" @ONLY)

add_kindyn_vio_test(
NAME LeggedOdometryiSAM2
SOURCES LeggedOdometryiSAM2.cpp
LINKS BipedalLocomotion::FloatingBaseEstimators BipedalLocomotion::ContactDetectors BipedalLocomotion::ParametersHandler BipedalLocomotion::ManifConversions Eigen3::Eigen MANIF::manif gtsam matioCpp::matioCpp iDynTree::idyntree-core iDynTree::idyntree-modelio-urdf BipedalLocomotion::System)

add_kindyn_vio_test(
NAME EKFOdometryiSAM2
SOURCES EKFOdometryiSAM2.cpp
LINKS BipedalLocomotion::FloatingBaseEstimators BipedalLocomotion::ContactDetectors BipedalLocomotion::ParametersHandler BipedalLocomotion::ManifConversions Eigen3::Eigen MANIF::manif gtsam matioCpp::matioCpp iDynTree::idyntree-core iDynTree::idyntree-modelio-urdf BipedalLocomotion::System)
389 changes: 389 additions & 0 deletions src/Estimators/tests/EKFOdometryiSAM2.cpp

Large diffs are not rendered by default.

Loading

0 comments on commit e03a5be

Please sign in to comment.