Using spacenav to control rviz view
Hello all,
I've just been playing around in blender spavenav features and found out how to use my 3Dconnexion mouse to navigate my virtual camera. So I was thinking if the same would be possible for rviz. There looks to be a spacenav ros package already, spacenav_node
, and it seems to be working fine for my hardware. So a portion of the hard bit in interfacing with the device seems completed. Now I'd just have to pipe twist input to an rviz plugin of sorts to move the virtual camera in the OpenGL view.
I wanted to ask if this had been already done before, or what resources would be relevant to this task.
Thanks
Asked by ruffsl on 2015-10-12 10:27:13 UTC
Answers
I'm not aware of anything existing, but it should be doable using a small node that interacts with the rviz_animated_view_controller.
Asked by gvdhoorn on 2015-10-12 10:53:08 UTC
Comments
I think this rviz_animated_view_controller relies on providing a point in the target focus frame, I'm not sure I can make the assumption of what frame the user has, or what global pose the camera is currently. I'm thinking this might have to be a direct rviz plugin to increment the pose directly?
Asked by ruffsl on 2015-10-13 16:41:53 UTC
Comments