What is the rviz::display property name for view orientation

asked 2021-01-20 02:31:17 -0500

nikko gravatar image

updated 2021-01-20 05:45:08 -0500

I have custom gui with rviz::display that shows pointCloud2 messages. Now "camera" view points towards the origin when program started and I would like initialize the view to point from the origin to the direction (x -axis I gues) where my points will be when message arrives.

I believe this is possible through rviz::displays subProp properties. The problem is I can't find the righ property name. Where can I see all the possible properties to set?

Figured out these from this thread: https://answers.ros.org/question/1917...

laser_->subProp("Topic")->setValue("livox/lidar");
    laser_->subProp("Style")->setValue("Points");
    laser_->subProp("Size (Pixels)")->setValue("2");
    laser_->subProp("Color Transformer")->setValue("Intensity");
    laser_->subProp("Invert Rainbow")->setValue("true");

Could there be a list of properties maybe somewhere?

edit retag flag offensive close merge delete

Comments

1

Found these from a one great gui+rviz tutorial.

always link to tutorials or pages you refer to.

gvdhoorn gravatar image gvdhoorn  ( 2021-01-20 05:05:43 -0500 )edit
1

Link added. It was not a tutorial, it was a conversation in these forums.

nikko gravatar image nikko  ( 2021-01-20 05:46:24 -0500 )edit