Git Product home page Git Product logo

dq3d's Introduction

dq3d's People

Contributors

adamnemecek avatar neka-nat avatar

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

dq3d's Issues

Incorrect calculation of normalisation

m_dual.coeffs() -= (m_real.coeffs().dot(m_dual.coeffs()) * lengthSqr) * m_real.coeffs();

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?

Error installing dq3d windows

Hi, I'm trying to install dq3d and get this error, attached in the screen shot.
the transformations in already installed.
Best Regards
dq3d-installation_issue

pip install dq3d失败 from dq3d import dualquat, quat

  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.

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.