9 releases (breaking)

0.11.0 Jan 6, 2025
0.10.0 Dec 7, 2024
0.9.0 Sep 20, 2024
0.8.0 Jul 1, 2024
0.4.0 Mar 23, 2024

#225 in Math

Download history 32/week @ 2024-09-23 41/week @ 2024-09-30 8/week @ 2024-10-07 6/week @ 2024-10-21 7/week @ 2024-11-18 3/week @ 2024-11-25 137/week @ 2024-12-02 70/week @ 2024-12-09 8/week @ 2024-12-16 175/week @ 2025-01-06

186 downloads per month
Used in 9 crates (7 directly)

MIT/Apache

385KB
9K SLoC

sophus-rs

Latest version Documentation

2d and 3d geometry for Computer Vision and Robotics

Overview

sophus-rs is a Rust library for 2d and 3d geometry for Computer Vision and Robotics applications. It is a spin-off of the Sophus C++ library which focuses on Lie groups (e.g. rotations and transformations in 2d and 3d).

In addition to Lie groups, sophus-rs also includes other geometric/maths concepts such unit vector, splines, image classes, camera models as well as a other utilities such as a non-linear least squares optimization.

Status

This library is in an early development stage - hence API is highly unstable. It is likely that existing features will be removed or changed in the future.

However, the intend is to stride for correctness, facilitated by a comprehensive test suite.

Building

sophus-rs builds on stable.

[dependencies]
sophus = "0.11.0"

To allow for batch types, such as BatchScalarF64, the 'simd' feature is required. This feature depends on portable-simd, which is currently only available on nightly. There are no plans to rely on any other nightly features.

[dependencies]
sophus = { version = "0.11.0", features = ["simd"] }

Dependencies

~7MB
~138K SLoC