neka-nat / dq3d Goto Github PK
View Code? Open in Web Editor NEWdual quaternion for 3d geometric operations
License: MIT License
dual quaternion for 3d geometric operations
License: MIT License
dual_quaternion_py.cc
C:\Users\zheng\anaconda3\envs\myOpen3d\lib\site-packages\pybind11\include\pybind11\eigen/matrix.h(1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
dq3d/dual_quaternion_py.cc(93): error C2017: 非法的转义序列
dq3d/dual_quaternion_py.cc(93): error C2001: 常量中有换行符
dq3d/dual_quaternion_py.cc(97): error C2143: 语法错误: 缺少“;”(在“}”的前面)
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> dq3d
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Line 244 in 365c363
Hi,
I think you have miscalculated the normalisation of the dual quaternion - you've already normalised both the primary and dual parts by the primary part's norm, so following the equation in https://math.stackexchange.com/questions/4445771/normalizing-a-dual-quaternion, you should only need to subtract the dual part by the dot product multipled by m_real, without needing the * lengthSqr
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.