685 research outputs found
PyPose: A Library for Robot Learning with Physics-based Optimization
Deep learning has had remarkable success in robotic perception, but its
data-centric nature suffers when it comes to generalizing to ever-changing
environments. By contrast, physics-based optimization generalizes better, but
it does not perform as well in complicated tasks due to the lack of high-level
semantic information and the reliance on manual parametric tuning. To take
advantage of these two complementary worlds, we present PyPose: a
robotics-oriented, PyTorch-based library that combines deep perceptual models
with physics-based optimization techniques. Our design goal for PyPose is to
make it user-friendly, efficient, and interpretable with a tidy and
well-organized architecture. Using an imperative style interface, it can be
easily integrated into real-world robotic applications. Besides, it supports
parallel computing of any order gradients of Lie groups and Lie algebras and
-order optimizers, such as trust region methods. Experiments
show that PyPose achieves 3-20 speedup in computation compared to
state-of-the-art libraries. To boost future research, we provide concrete
examples across several fields of robotics, including SLAM, inertial
navigation, planning, and control
On the Manifold: Representing Geometry in C++ for State Estimation
Manipulating geometric objects is central to state estimation problems in robotics. Typical algorithms must optimize over non-Euclidean states, such as rigid transformations on the SE(3) manifold, and handle measurements expressed in multiple coordinate frames. Researchers typically rely on C++ libraries for geometric tasks. Commonly used libraries range from linear algebra software such as Eigen to robotics-targeted optimization frameworks such as GTSAM, which provides manifold operations and automatic differentiation of arbitrary expressions. This thesis examines how geometric operations in existing software can be improved, both in runtime performance and in the expression of geometric semantics, to support rapid and error-free development of robotics algorithms.
This thesis presents wave_geometry, a C++ manifold geometry library providing representations of objects in affine, Euclidean, and projective spaces, and the Lie groups SO(3) and SE(3). It encompasses the main contributions of this work: an expression template-based automatic differentiation system and compile-time checking of coordinate frame semantics. The library can evaluate Jacobians of geometric expressions in forward and reverse mode with little runtime overhead compared to hand-coded derivatives, and exceeds the performance of existing libraries. While high performance is achieved by taking advantage of compile-time knowledge, the library also provides dynamic expressions which can be composed at runtime.
Coordinate frame conversions are a common source of mistakes in calculations.
However, the validity of operations can automatically be checked by tracking the coordinate frames associated with each object. A system of rules for propagating coordinate frame semantics though geometric operations, including manifold operations, is developed. A template-based method for checking coordinate frame semantics at compile time, with no runtime overhead, is presented.
Finally, this thesis demonstrates an application to state estimation, presenting a framework for formulating nonlinear least squares optimization problems as factor graphs. The framework combines wave_geometry expressions with the widely used Ceres Solver software, and shows the utility of automatically differentiated geometric expressions
- …