Comments (3)
Hi, I prefer not to include insertion operators ostream operator<<
in Sophus, because there are so many options, especially for SO3 (rotation matrix, quaternion, angle-axis, so3.log() ...), and it is really a matter of taste which one to use.
Note that you can already do
std::cout << so3.matrix() << std::cout;
std::cout << so3.unit_quaternion() << std::cout;
std::cout << so3.log() << std::cout;
from sophus.
Hello @strasdat ,
I am trying to print the values of variable newRefToFrame_poseUpdate
which is of type SE3 in https://github.com/tum-vision/lsd_slam/blob/master/lsd_slam_core/src/SlamSystem.cpp#L932
I want to read the values from it and modify. But when I try to print its value using following command, I receive an error.
std::cout << newRefToFrame_poseUpdate << std::endl;
Please provide a correct way to read and modify SE3 types.
Thanks.
from sophus.
@apesIITM
I know this is kinda very late buy maybe try the following
std::cout << "SE3 matrix --> " <<newRefToFrame_poseUpdate.matrix() <<std::endl;
A variant of this line worked for me to see the 4x4 transformation matrices of keyframes produced by ORB_SLAM
from sophus.
Related Issues (20)
- SO3 setIdentity() HOT 1
- Syntax Error with VS2019 in several headers HOT 2
- QuaternionProduct in So3.hpp missing SOPHUS_FUNC HOT 1
- SOPHUS_FMT_ARG causes compilization error when SOPHUS_USE_BASIC_LOGGING=ON HOT 3
- leftJacobian implementation cannot echo the formula in given PDF HOT 2
- test_so3, test_se3, test_velocities fail on PowePC HOT 5
- Broken link on landing page README.rst HOT 4
- Compilation Error on Raspberry Pi 4 Buster HOT 2
- Looks like 22.10 and 22.04.1 tags got removed? HOT 3
- How to creating a Sophus::SE3f variable from a Eigen::Matrixf variable? HOT 4
- install erorr issue HOT 1
- Wrong compiler standard in CMakeLists.txt HOT 2
- Documentation link is broken HOT 3
- SOPHUS_USE_BASIC_LOGGING=ON compilation error HOT 1
- rotationMatrix() and angles give different results HOT 4
- FMT warning when not found HOT 1
- CUDA::cublas but the target was not found HOT 1
- Sophus ensure failed in function ..... HOT 2
- Error on building ORB-Slam3 on Debian-12 x86-64 HOT 1
- Sophus ensure calls `abort()` HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sophus.