Ask Your Question
0

Get data from rviz

asked 2018-09-18 08:30:39 -0600

lxg gravatar image

Hi all, so today I did my first simple work on rviz - projecting depth image data onto the plane using the pointcould display. I am wondering whether theres is way to get the final graph display data from rviz and probably later reproduce the same plot in say MATLAB. I know I can get the depth/image/points message by simply echoing out the topic. If so, how easiest can I achieve this? Thank you all very much.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-09-21 07:12:35 -0600

l4ncelot gravatar image

updated 2018-09-21 07:13:07 -0600

RVIZ is just visual tool for displaying ROS messages, therefore getting data from RVIZ means getting data from ROS topic. MATLAB has support for ROS (look here). You should be able to create subscriber (look here) in MATLAB to the given topic and do whatever you want with the data.

edit flag offensive delete link more

Comments

Thanks. I will take a look into how to create the same visual images then.

lxg gravatar image lxg  ( 2018-09-22 06:49:58 -0600 )edit

worked like a charm :)

lxg gravatar image lxg  ( 2018-11-08 04:33:33 -0600 )edit
1

glad to help

l4ncelot gravatar image l4ncelot  ( 2018-11-08 07:56:58 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2018-09-18 08:30:39 -0600

Seen: 363 times

Last updated: Sep 21 '18