Giter Site home page Giter Site logo

rviz_vive's People

Contributors

andregilerson avatar rwth-dupe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rviz_vive's Issues

rviz segmentation fault

Hi,

Following the instructions on the readme I'm able to build the plugin, but whenever I try to add it to rviz the application crashes with a segmentation fault. Is there perhaps a step missing on the instructions?

Fix orientation in vive_display.cpp

Hello,

First of all thank you so much for making this plug in. I noticed that in this part of the code
if (_steamVrPose[vr::k_unTrackedDeviceIndex_Hmd].bPoseIsValid)
{
Ogre::Vector3 vivePos = _trackedDevicePose[vr::k_unTrackedDeviceIndex_Hmd].getTrans();
Ogre::Quaternion viveOri = _trackedDevicePose[vr::k_unTrackedDeviceIndex_Hmd].extractQuaternion();

_pCameraNode->setPosition(vivePos);
_pCameraNode->setOrientation(ori);
}

you use the vivePos for the pCameraNode but not the orientation. If you change the pCameranode Orientation to be the viveOri, that seems to track orientation as well.

Using this change Ogre::Quaternion viveOri = _trackedDevicePose[vr::k_unTrackedDeviceIndex_Hmd].extractQuaternion().Inverse();

getting the inverse of the quaternion, makes the vive sync up in Rviz.

The other issue I noticed is that rviz will not close after starting the plugin.

Thanks,

Akash Jinandra

coordinate offset

Hi Andre,

I was wondering if you had the same issue and were able to solve it.
I followed your description to install the plugin and it's working in general. There are just two little things.

First: I expected the HTC Vive display to show the exact same Rviz than the monitor of my Computer. But there is an offset between Rvitz of the monitor and the HTC. When the perspective of the monitor is straight ahead, the same picture in the HTC shows not straight ahead but to the right. It's like the coordinates are shifted by 90°.

Second: It's probably linked to my first issue. There is a weird cut in the picture of the HTC. The coordinate system stops and then it's just black. That's not happening in Rviz of the computer monitor.

Do you have any ideas what this issue is about? Did you have the same problem? Do you have any idea how to solve it? Do you know where to look in the code to correct the offset and to get this cut away?

Thanks a lot for your answer and all the effort you put into the plugin!

seg fault

Hi,

I have a HTC Vive Pro and I keep getting a seg fault error. Could I please have some guidance?

Thanks!

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.