Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Programmatically set RViz camera/view

Hi,

I'm writing a RViz plugin which allows the user to play rosbags and record them. During playing the rosbags I would like to make it possible to do a tracking shot in the scene. Therefore I have to set the current view in RViz.

Is there a possibility to do this programmatically?

There are some articles which say it is possible with a RViz plugin, but it's never explained anywhere. If it is not possible in a single plugin, is it possible via librviz?

Thanks in advance, best regards, Josch.

Programmatically set Set RViz camera/view

Hi,

I'm writing a RViz plugin which allows the user to play rosbags and record them. During playing the rosbags I would like to make it possible to do a tracking shot in the scene. Therefore I have to set the current view in RViz.

Is there a possibility to do this programmatically?

There are some articles which say it is possible with a RViz plugin, but it's never explained anywhere. If it is not possible in a single plugin, is it possible via librviz?

Thanks in advance, best regards, Josch.

Set RViz camera/view

Hi,

I'm writing a RViz plugin which allows the user to play rosbags and record them. During playing the rosbags I would like to make it possible to do a tracking shot in the scene. Therefore I have to set the current view in RViz.

Is there a possibility to do this programmatically?

There are some articles which say it is possible with a RViz plugin, but it's never explained anywhere. If it is not possible in a single plugin, is it possible via librviz?

Thanks in advance, best regards, Josch.

EDIT: The node should run on fuerte and Ubuntu 12.04 LTS.

Set RViz camera/viewcamera/view on fuerte

Hi,

I'm writing a RViz plugin which allows the user to play rosbags and record them. During playing the rosbags I would like to make it possible to do a tracking shot in the scene. Therefore I have to set the current view in RViz.

Is there a possibility to do this programmatically?

There are some articles which say it is possible with a RViz plugin, but it's never explained anywhere. If it is not possible in a single plugin, is it possible via librviz?

Thanks in advance, best regards, Josch.

EDIT: The node should run on fuerte and Ubuntu 12.04 LTS.

Set RViz camera/view on fuerte

Hi,

I'm writing a RViz plugin which allows the user to play rosbags and record them. During playing the rosbags I would like to make it possible to do a tracking shot in the scene. Therefore I have to set the current view in RViz.

Is there a possibility to do this programmatically?

There are some articles which say it is possible with a RViz plugin, but it's never explained anywhere. If it is not possible in a single plugin, is it possible via librviz?

Thanks in advance, best regards, Josch.

EDIT: The node should run on fuerte and Ubuntu 12.04 LTS.

EDIT 2: New question: How do I get an instance from the VisualizationManager? Creating my own one requires a RenderPanel and a WindowManagerInterface-implementing class.