ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Using spacenav to control rviz view

asked 2015-10-12 10:27:13 -0500

ruffsl gravatar image

updated 2015-10-12 10:27:39 -0500

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-10-12 10:53:08 -0500

gvdhoorn gravatar image

I'm not aware of anything existing, but it should be doable using a small node that interacts with the rviz_animated_view_controller.

edit flag offensive delete link more

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?

ruffsl gravatar image ruffsl  ( 2015-10-13 16:41:53 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-10-12 10:27:13 -0500

Seen: 350 times

Last updated: Oct 12 '15