Code Monkey home page Code Monkey logo

aslam_splines's Introduction

aslam_splines

Build Status

B-spline implementations usable as design variables and expression sources for aslam_optimizer (https://github.com/ethz-asl/aslam_optimizer)

License

3-Clause BSD; see LICENSE

References

The algorithms are based on the following papers. Please cite the appropriate papers when using parts of it in an academic publication.

  1. Paul Furgale, Joern Rehder, Roland Siegwart (2013). Unified Temporal and Spatial Calibration for Multi-Sensor Systems. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Tokyo, Japan.
  2. Paul Furgale, T D Barfoot, G Sibley (2012). Continuous-Time Batch Estimation Using Temporal Basis Functions. In Proceedings of the IEEE International Conference on Robotics and Automation (ICRA), pp. 2088–2095, St. Paul, MN.
  3. Hannes Sommer, James R. Forbes, Roland Siegwart, and Paul Furgale. Continuous-Time Estimation of Attitude Using B-Splines on Lie Groups. Journal of Guidance, Control, and Dynamics, 39(2):242–261, February 2016.

Acknowledgments

This work is supported in part by the European Union's Seventh Framework Programme (FP7/2007-2013) under grants #269916 (V-Charge), and #610603 (EUROPA2).

aslam_splines's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aslam_splines's Issues

What is the starting point to learn templates?

Hi Hannes,

Thank you for the amazing work.
The templates are very involved to me. I look to learn about them.
Can you please provide a book or a link to start the learning?

Regards,

got errors during "catkin build hand_eye_calibration_batch_estimation"

Got many errors for same reason "marked ‘override’, but does not override", here is one example:

/home/catkin_ws/src/aslam_splines/aslam_splines/include/aslam/splines/BSplineExpressions.hpp:67:37: error: ‘virtual Eigen::Vector3d aslam
::splines::BSplinePositionExpressionNode::evaluateImplementation() const’ marked ‘override’, but does not override
virtual Eigen::Vector3d evaluateImplementation() const override;

Another error which happened lot of times is "error: invalid new-expression of abstract class type", one example:

/home/catkin_ws/src/aslam_splines/aslam_splines/src/BSplineRSPoseDesignVariable.cpp: In member function ‘aslam::backend::TransformationExpression aslam::splines::BSplineRSPoseDesignVariable::transformation(double, double)’:
/home/catkin_ws/src/aslam_splines/aslam_splines/src/BSplineRSPoseDesignVariable.cpp:67:157: error: invalid new-expression of abstract class type ‘aslam::splines::RSLineDelayTransformationExpressionNode’
boost::shared_ptr root( new RSLineDelayTransformationExpressionNode( _bsplinePoseDV, _lineDelayDV, t0, line) );

Using gcc version of 5.5.0
Thks a lot for help!

The mathematical detail in BSpline::curveQuadraticIntegralDiag()

It's the same issue from ethz-asl/kalibr#383

Hello, everyone. I'm studying the code of kalibr and trying to figure out the algorithm details for IMU-Camera calibration. kalibr uses the BSpline to represent the trajectory of IMU(or camera), and in the BSpline initialization, the below methods are called.

  1. void BSplinePose::initPoseSplineSparse(const Eigen::VectorXd & times, const Eigen::Matrix<double,6,Eigen::Dynamic> & poses, int numSegments, double lambda), see code in line
  2. Then call void BSpline::initSplineSparse(const Eigen::VectorXd & times, const Eigen::MatrixXd & interpolationPoints, int numSegments, double lambda), see code in line

I'm trying to understand the mathematics detail in BSpline::initSplineSparse(). Currently, I have understand several things,

  1. The method void BSpline::initSplineSparse() is the sparse version of `void BSpline::initSpline3()', see code in line
  2. The initialization method will build a equation Ax = B
  3. The first part of the equation is C(t) = U(t) * M * V, which means the BSpline value evaluated at time t will be C(t).
  4. The second part of the equation assumes the quadratic integral is zero during each segment.
    // make this conditional on the order of the spline:
    if (splineOrder_ == 2)
        A += curveQuadraticIntegralDiag(W, 1);
    else
        A += curveQuadraticIntegralDiag(W, 2);

However, I couldn't understand the mathematical details in method Eigen::MatrixXd BSpline::curveQuadraticIntegralDiag(const Eigen::VectorXd& Wdiag, int derivativeOrder)(see code in line). Is anyone know the details? or some paper could be referenced?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.